Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ulivz/n-install

A neutral installer between NPM and yarn
https://github.com/ulivz/n-install

egoist npm package-manager yarn

Last synced: about 1 month ago
JSON representation

A neutral installer between NPM and yarn

Awesome Lists containing this project

README

        

# n-install


preview

[![NPM version](https://img.shields.io/npm/v/n-install.svg?style=flat)](https://npmjs.com/package/n-install) [![NPM downloads](https://img.shields.io/npm/dm/n-install.svg?style=flat)](https://npmjs.com/package/n-install) [![CircleCI](https://circleci.com/gh/ulivz/n-install/tree/master.svg?style=shield)](https://circleci.com/gh/ulivz/n-install/tree/master) [![codecov](https://codecov.io/gh/ulivz/n-install/branch/master/graph/badge.svg)](https://codecov.io/gh/ulivz/n-install)
[![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/ulivz/donate)

- Install with yarn if found `yarn.lock`
- Install with npm if found `package-json.lock`
- Let user choose it when no lock was found

## Install

```bash
yarn global add n-install
# or npm i n-install -g
```

## Usage

```bash
ni
```

> Test env: node `v7.10.0` / npm `v4.2.0`

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Prior art

n-install wouldn't exist if it wasn't for excellent prior art, n-install is planned by [@egoist](https://github.com/egoist) and inspired by [neutral-install](https://github.com/zcong1993/neutral-install)

## Author

**n-install** © [ulivz](https://github.com/ulivz), Released under the [MIT](./LICENSE) License.

Authored and maintained by ulivz with help from contributors ([list](https://github.com/ulivz/n-install/contributors)).

> [github.com/ulivz](https://github.com/ulivz) · GitHub [@ulivz](https://github.com/ulivz) · Twitter [@ulivz](https://twitter.com/ulivz)