DEV Community

Amlan
Amlan

Posted on

Basic NPM Packages for Javascript Developers

Dotenv: .env is zero dependency module that loads enviorment variables from a .env file into process.env .

ex- const key = process.env.secretkey
this secretkey is declared in our .env file and that file will not be public.

Bcrypt: Bcrypt is a library that help you easily hash password and compare them in node.js

Image description

UUID: UUID is a unique random number ids values generator . It generate string random values.

Image description

Axios Axios is a popular promise based HTTP client for the browser and node.js .

Image description

Socket.io : Socket.io enables real time bi-directional communication between web clients and servers.

Top comments (3)

Collapse
 
luisorbaiceta profile image
Luis Orbaiceta

async is a must

Collapse
 
thebox193 profile image
Sir.Nathan (Jonathan Stassen)

Nice list! Two additional ones I nearly always pull in are lodash and luxon. :)

Collapse
 
buzzdee profile image
Sebastian Schlatow

uuidv4() does not create a random number, it creates an uuid