npm
All packages can be found at https://npmjs.org/.
TODO
Read the following packages:
npm init -y
mkdir t
cd t
npm init -y
will generate a file package.json
:
{
"name": "t",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
mirror
npm config set registry https://registry.npmmirror.com
npm config get registry