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. Γ°ΕΈΛœβ€ž

Top comments (58)

Collapse
 
hemanth profile image
hemanth.hm

Over the years I have been trying to collect such modules which are not in the like light but very useful, check them out -> nmotw.in

P.S: Shameless plug: I run a weekly mailer of the same, feel free to subscribe. πŸ€—

Collapse
 
gonzofish profile image
Matt Fehskens

Just wanted to say that that is a pretty cool list you're maintaining!

Collapse
 
0x64796c616e profile image
dylan

My company recently started using ramda. I don't know much about Haskell, but Ramda basically seems to bring all the functions from Haskell over, and encourages a functional approach to programming. It took me 2 days to really wrap my head around it, but I'm glad I did; it is sooooo cool. It'll beat you down the first few days you use it if you've never programmed functionally, and unfortunately there's not as many examples to follow when you Google stuff for it, but the docs are great and the community looks very helpful.

After I got the hang of it... I'm having so much fun.

Collapse
 
ben profile image
Ben Halpern

Yeah, I've used ramda and I like it.

Collapse
 
pradeep_io profile image
Pradeep Sharma

If you face "forgot password" problem too often and do not trust online password managers. Use this:

Chaabi: A dead simple CLI tool to encrypt text "locally"

producthunt.com/posts/chaabi
npmjs.com/package/chaabi

P.S.: I am the creator of the package

Collapse
 
rapasoft profile image
Pavol Rajzak

This might not be the best "back to the JavaScript" package, but it might be interesting for people working with eslint

lint-filter

The best scenario to use this is when you have a large project and you decide to introduce new ESLint rule and you only want to apply it on the new code, not change everything at once.

Collapse
 
letsbsocial1 profile image
Maria Campbell

webpack. babel (you don't just use one babel package, there are many in tandem).

Collapse
 
michael profile image
Michael Lee πŸ•

Emojic! Cause you know...emoji is life.

Collapse
 
johnpaulada profile image
John Paul Ada

I haven't tried it but npx sounds cool! It can run your npm package binaries on the command-line!
Here are some good resources for npx. :smile:

Collapse
 
eduplessis profile image
Edouard Duplessis

npx is now ship with the latest version of npm medium.com/@maybekatz/introducing-...

Collapse
 
nitishdayal profile image
Nitish Dayal

NPX makes me happy. NPX + terminal aliases = Very rare need to globally install a package.

Collapse
 
clickclickonsal profile image
Sal Hernandez • Edited

eslint - For your all your JavaScript linting needs
prettier - Code Formatter to enforce coding style consitency in your project
redux - If you're using react
redux-saga - for handling your async operations in redux

yarn > npm because npm 5 has been buggy for me & a lot of other people as well. Yarn never gives me any issues & it's so much faster. :-)

Collapse
 
aghost7 profile image
Jonathan Boudreau
  • supertest for writing api tests.
  • power-assert which a major improvement over the builtin assert but without the complexity of a library like chai.
  • lerna for creating monorepo projects.
Collapse
 
skeeveholt profile image
davis davis

+1 for Prettier
Chart.js for simple HTML5 charts when D3 seems like overkill

Also I recently stumbled on javascripting.com - fun resource for geeking out on new libs, packages and tools