test-node-1051

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 email@example.com (http://example.com)

PUBLISING NPM PACKAGES npm set init.author.name "Onur Turhan" npm set init.author.email "onur.turhan@gmail.com" npm set init.author.url "http://npmjs.org" npm adduser npm config ls <= check also https://www.npmjs.com/~onur.turhan

npm whoami npm logout npm login <= onur.turhan / Nlu!wrio1 / onur.turhan@gmail.com 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

Readme

Keywords

none

Package Sidebar

Install

npm i test-node-1051

Weekly Downloads

0

Version

2.0.3

License

ISC

Last publish

Collaborators

  • onur.turhan