npm is a JavaScript library that provides various codes ready to be used. It is the world's biggest open-source library that anyone can use and anyone can create and share their code without having to pay (But the private package is not free).
We need to install node.js to use npm
Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
nodejs.org
Using Packages
Go to the npm site, search for any library you want to use, and follow the instructions on their page
npm
Bring the best of open source to you, your team, and your company Relied upon by more than 11 million developers worldwide, npm is committed to making JavaScript development elegant, productive, and safe. The free npm Registry has become the center of Java
www.npmjs.com
Creating a Package
References
npm-install | npm Docs (npmjs.com)
npm-install | npm Docs
Install a package
docs.npmjs.com
'Backend > Node.js' 카테고리의 다른 글
Creating a Server with Node.js (1) | 2023.08.17 |
---|---|
Node.js - Working with MongDB (5) | 2023.06.23 |
File Upload (0) | 2023.05.22 |