0.1.1-alpha • Published 3 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.lock
in the nearest directory - Check if 'yarn' is installed
- Run
yarn
if 1. and 2. aretrue
. Otherwise, runnpm
.
Installation
$ npm install -g ynpn
# or
$ yarn global add ynpn
Usage
$ ynpm *command*
0.1.1-alpha
3 years ago
0.1.0-alpha
3 years ago