yarnpm
Yarn Wrapper for NPM!
Last updated 4 years ago by pi0 .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install yarnpm -g
SYNC missed versions from official npm registry.

YarNPM

YarNPM is a YARN wrapper which transforms npm commands to yarn, use npm as yarn!

NPM

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 npm to yarn (for example npm 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 npm command

Related Topics

Usage

Install global binary:

npm install --global yarnpm

Install a syslink from yarnpm to /usr/local/bin/npm or %WINDOWS%/system32/npm :

### RUN ME AS ROOT/AMINISTRATOR ###
yarnpm yarnpm install

Check npm command in a NEW Terminal

$ npm --help

  Usage: yarn install [flags]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number

Additional 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

Current Tags

  • 0.0.5                                ...           latest (4 years ago)

5 Versions

  • 0.0.5                                ...           4 years ago
  • 0.0.4                                ...           4 years ago
  • 0.0.3                                ...           4 years ago
  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 3
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |