mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
This way, require("/foo") will work if there is a "foo.js", or a file named
simply "foo" with no extension.
3 lines
20 B
Plaintext
3 lines
20 B
Plaintext
|
|
exports.foo = "ok"
|