View on GitHub

Favorites

Easily install your favorite npm modules

download .ZIPdownload .TGZ

favorites

Simple cli util to install your commonly-used packages globally or in a project you're just starting on

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install favorites -g

Usage

You can use a local favorites.json file or just use one that you host. You just need two objects with your dependencies and devDependencies under a global and project object.

Schema Example

{
  "global": {
    "devDependencies": {
      "babel": "^6.0.14",
      "eslint": "^1.8.0",
      "mocha": "^2.3.3",
      "pm2": "^0.15.8",
      "bluebird": "^3.0.5"
    },
    "dependencies": {
      "commander": "^2.9.0"
    }
  },
  "project": {
    "devDependencies": {
      "babel": "^6.0.14",
      "eslint": "^1.8.0",
      "mocha": "^2.3.3",
      "lodash": "^3.10.1"
    },
    "dependencies": {
      "commander": "^2.9.0"
    }
  }
}

Example schema

CLI Usage

Commands:

  install <favorites>  install your favorites

Options:

  -h, --help     output usage information
  -V, --version  output the version number
  -v, --verbose  Show parsed favorites to be installed
  -p, --project  Install your favorites into a local project
  -g, --global   Install your favorites globally

Tests

npm install
npm test

Dependencies

Dev Dependencies

License

MIT

Generated by package-json-to-readme