DEV Community

Ben Halpern
Ben Halpern Subscriber

Posted on

What are some useful npm packages I might not know about?

I'm getting back into that JavaScript life and I'd love some suggestions about some libs I might want to check out. If you're an author of something, please feel free to pitch me. 😄

Latest comments (58)

Collapse
 
nikhil17_namal profile image
Nikhil N Namal

I wrote this simple npm package called "popular-movie-quotes". A simple NPM package to get popular movie quotes with zero dependencies. Maybe this can help you with a movie-themed side project.

npmjs.com/package/popular-movie-qu...

Collapse
 
nickytonline profile image
Nick Taylor

I haven't tried these yet, but Jason Miller's packages for moving things to web workers look very interesting.

  • workerize: Moves a module into a Web Worker, automatically reflecting exported functions as asynchronous proxies.
  • greenlet: Move an async function into its own thread.
Collapse
 
jimschubert profile image
Jim Schubert • Edited

npmjs.com/package/json-server

Creates a pretty full featured REST API from a JSON file of data. Great for spinning up a fake backend quickly.

Not my package. ;)

Collapse
 
coreybutler profile image
Corey Butler • Edited

Here's my completely biased list (yes, I wrote them all):

Background Daemons/Services:

porthog identifies which application is using a specified port, providing the process name and PID. Works for Windows, OSX, and most flavors of Unix that support the lsof operation.

shortbus is basically an awesome task runner capable of executing processing queues, running them sequentially or simultaneously, and modifying the queue dynamically. Kinda like promises, but more dynamic.

localenvironment is a simple way to define lots of environment variables using an env.json file.

musthave provides a simple and standard way of checking for object attributes. The inspiration for this project was checking for the existence of environment variables.

And of course, nvm for Windows if you happen to be a Windows user. (I know, not really a module).

Collapse
 
edm00se profile image
Eric McCormick

A lot of the more interesting node packages I use are apparently cli based. Here are a few I find to be pretty interesting:

Collapse
 
krissiegel profile image
Kris Siegel

I heard the msngr.js package is an awesome messaging library that helps with decoupling code. Some amazing person, who I don't know at all what so ever, put it together.

github.com/KrisSiegel/msngr.js

Collapse
 
ben profile image
Ben Halpern

😄

Collapse
 
rbanffy profile image
Ricardo Bánffy • Edited

For naming servers, projects or things, npmjs.com/package/nsaname

(disclaimer - I built it, and no, it's not really useful)

Collapse
 
bigshai profile image
bigShai

extendify is a helpful tool to extend jsons in a deep way. simple and powerful.

Collapse
 
artak_vardanyan profile image
Artak Vardanyan • Edited

A zeronode - its a minimal block for creating microservices. It's manages reconnecting, message queueing, has request/reply and tick (fire and forget) and lots of other goodness in the box
npmjs.com/package/zeronode

Collapse
 
askucher profile image
Andrey • Edited

did you try nixar (askucher.github.io/nixarweb/#/)? :)