News for hackers. Stuff that matters.
Re:NPM registry in numbers by olalonde on Thursday September 18, 2014 @10:15AM (#8335295)
There are higher level frameworks, Express is meant to be very minimalist. It is also usually a good idea to serve static files directly through Nginx or a CDN. If you find yourself always requiring the same modules in most of your files, a common pattern is to have a `common.js` file where you export all your modules and you then only need to have one `require('./common')` at the top of your files. I personally don't really like this pattern as it makes refactoring harder and is usually a sign of bad architecture.
Re:NPM registry in numbers by aikah on Thursday September 18, 2014 @04:20PM (#8337394)
> There are higher level frameworks

Like?