10 Awesome NPM packages : Every JavaScript developer must know.

Rhea RB
2 min readMar 12, 2023

--

What is NPM ?
npm is a package manager for the JavaScript programming language maintained by npm, Inc. npm is the default package manager for the JavaScript runtime environment Node.js.

  1. AYSNC

async is a utility module which provides straightforward, powerful functions for working with asynchronous JavaScript.

2. PM2

PM2 is a production process manager for Node.js applications with a built-in loader balance. It allows you to keep applications alive forever, to reload them without downtime and to facilitate common system admin tasks.

3.UglifyJS2

UglifyJS2 automatically shortens and minifies your JavaScript files. For High performance of a web page, it is essential to save all possible space and load-times no matter how small they are.

4. Loadtest

Used to send multiple requests to HTTP or websockets URL to determine how your application responds to high concurrent request.

5. Morgan

Used to store information about requests, when handling many request there are a lot of successful and failing requests, the library can give you a good insight into those requests and you can easily track down the source of error when did it happen and who caused it.

6.Moment

A package to work with dates. It has many functions to format date in many forms.Supports addition and subtraction of dates.

7.Helmet

A npm package to add security headers.

8. Winston

A npm package to log information, warning or error into multiple transports such as console, database or file.

9. Joi

Used to validate that pass-through request it supports many data types like string, number object array. You can define different rules on what kind of data your application accepts.

10. node-localstorage.

A server-side clone of local storage is used to store simple data.

Let me know which packages you found useful in the comments.

If you liked my blog please do follow me on Rhea RB.

Thank you for reading ! Happy Coding !

--

--

Rhea RB

Hello ! I am a senior software engineer, passionate about tech and product.