Useful npm Packages for All Projects

ยท ยท 115 words ยท 1 minute read

date-fns ๐Ÿ”—

date-fns (a.k.a Date Functions) is a library which gives you functions to deal with dates. It is great package with a small size.

dotenv ๐Ÿ”—

dotenv create a .env file to store your environment variables. So when you publish that project online you use the environment variables which you deploy the project on. ๐Ÿ”—

Help you use the sockets to create realtime communications such as chat apps.


Help you create a universal unique identifier (UUID) with one line of code.

axios ๐Ÿ”—

Axios is an alternative to fetch. Axios help you make requests easier than fetch and AJAX.

classnames ๐Ÿ”—

Help you with class names in CSS with Javascript manipulations.