5 ms·
Awesome Node.js: Curated list of delightful Node.js packages
- sida 12y agoI want to recommend a package that I really love: https://github.com/shutterstock/node-common-errors https://github.com/shutterstock/node-common-errors This is one of the most useful packages that I have come across. It gives you a range of common types of errors and a error handler that converts each error type into the appropriate HTTP status code. This is very convenient (especially for APIs) as it builds readable error messages and correct status codes with very little work from the programmer.
- snide 12y agoI'll add my own as well. We recently open sourced the entire project under MIT. Basically if you're looking for a nice Node based CMS that acts like a static site generator, we're a decent option. http://www.webhook.com http://www.webhook.com
- xtrumanx 12y agoI was curious so I installed it and tried to create a site and it asked me to login/register. I don't think this fits in well with the rest of the list since its more of a service than a package. It would have been great if registration was only necessary when actually deploying the site.
- chanon 12y agoI'd recommend adding webpack ( https://github.com/webpack/webpack https://github.com/webpack/webpack ) to build tools. It's similar to browserify but has some nice extra features.
- basicallydan 12y agoOh, god. This looks good. Now I have to switch again :(
- johnchristopher 12y agoI'd recommend adding http://harpjs.com/ http://harpjs.com/ as well. Static web server with built-in preprocessing (and it compiles to static content of course). You can mix jade, md, less, stylus, etc.
- jc123 12y agoOne I'd recommend https://github.com/substack/js-traverse https://github.com/substack/js-traverse Traverse and transform objects by visiting every node on a recursive walk
- igl 12y agoI don't think that any effort went into this. It's just a list of the most popular libs for keyword-x.
- mofle 12y agoNot true at all. A lot of effort went into this. It's a carefully picked curation of the best modules, not the most popular ones. Thanks for this useful comment though.
- pablovidal85 12y ago38 items are self-authored modules, not really a lot of effort.
- basicallydan 12y agoNot a bad list, though like others have said it's very much a keyword search result. I'd like to add my own Node lib, Interfake. It's a tool for rapid API prototyping. It's in active development, too :) https://github.com/basicallydan/interfake https://github.com/basicallydan/interfake. Saves me a lot of time, personally, especially when developing SPAs where the API isn't finished yet.
- basicallydan 12y agoToo late to edit, but: I have noticed the author is and has been merging pull requests, so I partially retract my statement ;)
- mofle 12y agoAuthor here. It's meant to be a resource for and by the community. Issues/PRs for additions and removals welcome! :) The list was initially a text document on my computer as a reference on useful modules when learning Node, as the discovery on npm was really bad. 2 years later and the discovery on npm has gotten even worse. This is my try at making something a bit more coherent. It's obviously biased and I've included some of my own packages I find useful, but as stated earlier, happy to change things around.
- basicallydan 12y agoCool! Thanks for replying. Sorry if I seemed a bit harsh at first. I totally get your reasoning, npm is a pain in the butt for discovery.
- saint-loup 12y agoSo now even node.js packages can be "delightful"?
- tumblen 12y agoAbsolutely, I can't describe how much delight finding the right module has brought to my life and how much I appreciate the effort and thoroughness those developers invested to create it. Delightful without a doubt.
- RobertKerans 12y agoThe first entry in the 'wierd' section explains the wording, I think.
- binarymax 12y agoCongratulations, you made @horse_js! https://twitter.com/horse_js/status/510394421490507776 https://twitter.com/horse_js/status/510394421490507776
- heinrich5991 12y agoWhat does that mean?
- eldude 12y agoI recommend adding my async trycatch library with long stack traces: https://github.com/CrabDude/trycatch https://github.com/CrabDude/trycatch.