Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The module system in Node.js (not ES6 modules) makes it super easy to use modules because a module is bound to a variable and you can require the module from anywhere and it will be scoped to the function. It's like if all code in the global JavaScript collective is available in global scope.


Its easier to use a community module in Node.js then it is to use a standard library feature in most programming languages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: