Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


2.0.3 • Public • Published

Test Readme by Onur Turhan

NPM VERSION npm -v NPM UPDATE npm install npm -g PERMISSION ??? npm install jshint -g INSTALLING NPM LOCALLY (current directory) npm install jshint npm install lodash --save <= added to json file "lodash": "^3.10.1" npm install <= if added to json "tap":"*" UPDATING NPM LOCALLY (current directory) npm ls <= list all npms npm outdated <= list outdated packages npm update <= update all packages UNINSTALLING NPM LOCALLY (current directory) npm uninstall lodash npm ls npm uninstall lodash --save npm install lodash --save npm prune <= if you delete from json file but package installed locally already => to remove package from project INSTALLING NPM GLOBALLY (C:\Users\OnurTurhan\AppData\Roaming\npm\node_modules) npm install jshint -g npm config get prefix UPDATIN NPM GLOBALLY npm install -g jshint npm outdated -g --depth=0 <= ask for outdated UNINSTALLING NPM GLOBALLY npm ls -g --depth=0 npm uninstall -g jshint

CREATING NODE.JS MODULES npm init <= Your Name (

PUBLISING NPM PACKAGES npm set "Onur Turhan" npm set "" npm set "" npm adduser npm config ls <= check also

npm whoami npm logout npm login <= onur.turhan / Nlu!wrio1 / npm publish <= in module (json package and index.js is available) npm unpublish --force test-node-1051 <= to unpublish

npm install test-node-1051 <= try in another folder.

npm version patch <= to increase version number, or change in json file npm version minor npm version major

npm install demo-package@1.x

If a project is going to be shared with others, it should start at 1.0.0, though some projects on npm don't follow this rule. After this, changes should be handled as follows: Bug fixes and other minor changes: Patch release, increment the last number, e.g. 1.0.1 New features which don't break existing features: Minor release, increment the middle number, e.g. 1.1.0 Changes which break backwards compatibility: Major release, increment the first number, e.g. 2.0.0

As a consumer, you can specify which kinds of updates your app can accept in the package.json file. Patch releases: 1.0 or 1.0.x or ~1.0.4 Minor releases: 1 or 1.x or ^1.0.4 Major releases: * or x




npm i test-node-1051

Downloadsweekly downloads






last publish


  • avatar