Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
oakaz
· 13y ago · 0 comments
index.js is not a default you need to include in your package. you better go read and experiment before making bullshit. JavaScript is a language with multiple platforms and NodeJS is just one of them.
Comments
[–]
brianmcd
13y ago
I believe he's talking about node's behavior when requiring a folder:
http://nodejs.org/api/modules.html#modules_folders_as_module...