My favorite node modules with a very brief explanation of the intent or use case.
My favorite node modules with a very brief explanation of the intent or use case.
after
Invoke callback after n calls.
async
Async swiss army knife for node and the browser.
bl
Awesome Buffer
helper module.
chalk
Colors and styling for the terminal.
commander
CLI interfaces maded easy.
debug
Debugging utility for node and the browser.
faucet
✅Human readable TAP
summarizer. Pipe output from e.g. tape
to make the output purdier. Also useful if you have a gazillion tiny tests and you want a smaller more digestable test output.
hyperquest
Streaming http request the right way. Much less bloated than request
. Clean streaming interface.
inherits
Browser-friendly inheritance fully compatible with standard node.js inherits.
jsonist
Perfect when you are using a REST
api with JSON
output. Uses hyperquest
under the hood.
level
LevelDB
for node.
mkdirp
✅Just as useful as rimraf
. Ensuring a certain folder structure exists is often important. Can be called synchronously.
monotonic-timestamp
Monotonically increasing timestamps. Use instead of Date.now()
to avoid getting identical timestamps on the same tick.
nodemon
🔧Monitor changes and restart processes. Use in place of node
. Poor mans tdd: alias tdd=nodemon -x npm test
osenv
Platform independent environment settings. Most typical use case is finding the $HOME
folder for a user.
prebuild
🔧Creates prebuilt native modules and uploads to github.
prebuild-ci
🔧Runs prebuild
in your ci environment whenever a module has updated its version.
prebuild-install
🔧Downloads prebuilt binaries for native modules.
rc
Dominic has solved the configuration problem once and for all. Provide default values for your config and override using command line arguments and/or configuration files and/or environment variables. Support for .json
and .ini
formats.
remark
🔧Markdown processor powered by plugins.
rimraf
✅rm -rf
for node. Extremely useful in many different contexts.
safe-buffer
A safer node.js Buffer API. Works in the browser.
sinon
✅Spies, stubs and mocks for JavaScript. Very advanced. I'm only using it for spies and stubs. Also just a module so easy to use as a complement to tape
.
sodium-universal
Need crypto? Want it to work in both node and in the browser? For the node case, there are prebuilt binaries for all major OS. If prebuilt fails, then falls back to pure js. Backed by libsodium
.
split2
Split a readable stream based on a regular expression. Most common use case is to split a stream based on newlines.
standard
🔧 ✅A JavaScript coding style. Just embrace it, get rid of all bike shedding and move on to more important stuff.
subleveldown
Sublevels implemented using leveldowns. Fits really well with level
.
tape
✅Simple and minimalistic test module. Since it's just a function it can be composed endlessly. Produces TAP
(Test Anything Protocol) output which in turn can be formatted to your liking.
tar-stream
Platform independent streaming tar parser and generator.
xtend
Extend javascript object literals.
All content submitted to this project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.