# favorites

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

Latest version **0.0.8** (published 2015-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install favorites
pnpm add favorites
yarn add favorites
bun add favorites
```

Provides the command `favorites`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2015-11-03 |
| First published | 2015-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2.1 |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Mark Thomas |
| Maintainers | markthethomas |
| Keywords | favorites, install, modules, npm |

## Links

- npm: https://www.npmjs.com/package/favorites
- Repository: https://github.com/markthethomas/favorites
- Homepage: https://github.com/markthethomas/favorites#readme
- Issues: https://github.com/markthethomas/favorites/issues
- npm.io page: https://npm.io/package/favorites

## Dependencies (6)

- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.0.2
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [validator](https://npm.io/package/validator.md) ^4.2.1
- [request-promise](https://npm.io/package/request-promise.md) ^1.0.2
- [is-my-json-valid](https://npm.io/package/is-my-json-valid.md) ^2.12.2

## Recent versions

- 0.0.8 (latest) — 2015-11-03
- 0.0.7 — 2015-11-03
- 0.0.6 — 2015-11-02
- 0.0.5 — 2015-11-02
- 0.0.4 — 2015-11-02
- 0.0.3 — 2015-11-02
- 0.0.2 — 2015-11-02
- 0.0.1 — 2015-11-02

## README

[![Coverage Status](https://coveralls.io/repos/markthethomas/favorites/badge.svg?branch=master&service=github)](https://coveralls.io/github/markthethomas/favorites?branch=master) [![Build Status](https://travis-ci.org/markthethomas/favorites.svg?branch=master)](https://travis-ci.org/markthethomas/favorites) [![Code Climate](https://codeclimate.com/github/markthethomas/favorites/badges/gpa.svg)](https://codeclimate.com/github/markthethomas/favorites)

# favorites

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

## Installation

Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't already.

```sh
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*

```JSON
{
  "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](https://raw.githubusercontent.com/markthethomas/npmFavorites/master/favorites.json)

*CLI Usage*

```sh
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

```sh
npm install
npm test
```

## Dependencies

- [bluebird](https://github.com/petkaantonov/bluebird): Full featured Promises/A+ implementation with exceptionally good performance
- [chalk](https://github.com/chalk/chalk): Terminal string styling done right. Much color.
- [commander](https://github.com/tj/commander.js): the complete solution for node.js command-line programs
- [is-my-json-valid](https://github.com/mafintosh/is-my-json-valid): A JSONSchema validator that uses code generation to be extremely fast
- [request-promise](https://github.com/request/request-promise): The world-famous HTTP client &#39;Request&#39; now Promises/A+ compliant. Powered by Bluebird.
- [validator](https://github.com/chriso/validator.js): String validation and sanitization

## Dev Dependencies

- [ava](https://github.com/sindresorhus/ava): Futuristic test runner
- [babel](https://github.com/babel/babel/tree/master/packages): Turn ES6 code into readable vanilla ES5 with source maps
- [babel-core](https://github.com/babel/babel/tree/master/packages): Babel compiler core.
- [babel-eslint](https://github.com/babel/babel-eslint): **babel-eslint** allows you to lint **ALL** valid Babel code with the fantastic [ESLint](https://github.com/eslint/eslint).
- [eslint](https://github.com/eslint/eslint): An AST-based pattern checker for JavaScript.
- [eslint-config-airbnb](https://github.com/airbnb/javascript): Airbnb&#39;s ESLint config, following our styleguide
- [lodash](https://github.com/lodash/lodash): The modern build of lodash modular utilities.
- [mocha](https://github.com/mochajs/mocha): simple, flexible, fun test framework


## License

MIT

_Generated by [package-json-to-readme](https://github.com/zeke/package-json-to-readme)_

---
_Source: https://npm.io/package/favorites · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
