DEV Community


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 : enables real time bi-directional communication between web clients and servers.

Top comments (3)

luisorbaiceta profile image
Luis Orbaiceta

async is a must

thebox193 profile image
Sir.Nathan (Jonathan Stassen)

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

buzzdee profile image
Sebastian Schlatow

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