Easily install your favorite npm modules
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.coveralls.yml
.eslintrc
.gitignore
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

Coverage Status Build Status Code Climate

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

favorites install [options] <favorites>

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

  • bluebird: Full featured Promises/A+ implementation with exceptionally good performance
  • chalk: Terminal string styling done right. Much color.
  • commander: the complete solution for node.js command-line programs
  • is-my-json-valid: A JSONSchema validator that uses code generation to be extremely fast
  • request-promise: The world-famous HTTP client 'Request' now Promises/A+ compliant. Powered by Bluebird.
  • validator: String validation and sanitization

Dev Dependencies

  • ava: Futuristic test runner
  • babel: Turn ES6 code into readable vanilla ES5 with source maps
  • babel-core: Babel compiler core.
  • babel-eslint: babel-eslint allows you to lint ALL valid Babel code with the fantastic ESLint.
  • eslint: An AST-based pattern checker for JavaScript.
  • eslint-config-airbnb: Airbnb's ESLint config, following our styleguide
  • lodash: The modern build of lodash modular utilities.
  • mocha: simple, flexible, fun test framework

License

MIT

Generated by package-json-to-readme