programming:javascript:npm
This is an old revision of the document!
Table of Contents
NPM
Searching packages: https://stackoverflow.com/questions/10568512/how-to-find-search-find-npm-packages
Create a project
npm init
Start project
# install modules from package.json npm install
# starts the tests defined in npm test
Using NPM in browser
Setting the default registry
npm config set registry https://yoururl.com/artifactory/api/npm/npm-all npm config set registry https://yoururl.com/artifactory/api/npm/npm-all npm config get registry npm config edit
The file, where teh config is stored is in your home dir and is called '.npmrc'
programming/javascript/npm.1648062192.txt.gz · Last modified: by skipidar