0.1.1-alpha • Published 5 years ago
ypmn v0.1.1-alpha
ynpn (npm > yarn > ynpn)
CLI which decides to use npm or yarn
Proof of concept. It's early alpha. You use at your own risk!
How the decision is made
- Check for the file
yarn.lockin the nearest directory - Check if 'yarn' is installed
- Run
yarnif 1. and 2. aretrue. Otherwise, runnpm.
Installation
$ npm install -g ynpn
# or
$ yarn global add ynpnUsage
$ ynpm *command*0.1.1-alpha
5 years ago
0.1.0-alpha
5 years ago