0.1.1-alpha • Published 3 years ago

ypmn v0.1.1-alpha

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

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

  1. Check for the file yarn.lock in the nearest directory
  2. Check if 'yarn' is installed
  3. Run yarn if 1. and 2. are true. Otherwise, run npm.

Installation

$ npm install -g ynpn

# or 

$ yarn global add ynpn

Usage

$ ynpm *command*