Package Management with NPM: Examples and Common Use Cases

Last updated:
Table of Contents

WIP Alert This is a work in progress. Current information is correct but more content will probably be added in the future.

Install an NPM package from github

$ npm install --save git+ssh://

Install specific version from NPM package on github

$ npm install --save git+ssh://

Add NPM package directly from github to package.json

  "name": "my-awesome-app",
  "version": "0.7.0",
  "license": "MIT",
  "dependencies": {
    "string-replace-loader": "github:gdi2290/string-replace-loader"
    // ... other dependencies

Dialogue & Discussion