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: 7 months ago
JSON representation
A neutral installer between NPM and yarn
- Host: GitHub
- URL: https://github.com/ulivz/n-install
- Owner: ulivz
- License: mit
- Created: 2017-07-27T19:21:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T06:25:06.000Z (over 4 years ago)
- Last Synced: 2025-03-04T03:14:45.407Z (8 months ago)
- Topics: egoist, npm, package-manager, yarn
- Language: JavaScript
- Size: 277 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# n-install
![]()
[](https://npmjs.com/package/n-install) [](https://npmjs.com/package/n-install) [](https://circleci.com/gh/ulivz/n-install/tree/master) [](https://codecov.io/gh/ulivz/n-install)
[](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)