0.0.5 • Published 9 years ago
yarnpm v0.0.5
YarNPM
YarNPM is a YARN wrapper which transforms npm commands to yarn, use npm as yarn!
What is Yarn ?
Yarn is a Fast, reliable, and secure dependency management that can be used as a replacement of NPM and other tools.
So Why do i need this?
Yarn is great, but many tools still (and maybe for months) are depending on npm command, this tool adds a global npm
wrapper binary which:
- Automatically converts args from
npmtoyarn(for examplenpm install=>yarn add) - Detects currently unsupported features of yarn and fall backs to
npm- Scoped packages
- Allows you to to specify which tool to use, still using
npmcommand
Related Topics
Usage
Install global binary:
npm install --global yarnpmInstall a syslink from yarnpm to /usr/local/bin/npm or %WINDOWS%/system32/npm :
### RUN ME AS ROOT/AMINISTRATOR ###
yarnpm yarnpm installCheck npm command in a NEW Terminal
$ npm --help
Usage: yarn install [flags]
Options:
-h, --help output usage information
-V, --version output the version numberAdditional Steps if it does not works
Force Using NPM Or Yarn
Use --npm or --yarn flag
Development
npm run install:npm
npm run install:global