Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
/ yrn Public archive

:hurtrealbad: Just like `npm` but ~2.4 times faster.

License

Notifications You must be signed in to change notification settings

perguth/yrn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yrn

A package manager that behaves like npm but is ~2.4 times faster.

npm install -g yarn # yrn relies on `yarn` for actual pkg management
npm install -g yrn

yrn takes all install calls and forwards them to yarn. All other calls will be forwarded to npm.

In depth: It will remove the yarn.lock file as well as the added dependencies.It will restore the deleted files innode_packages and gets rid of node_modules/.yarn-integrity. Exception: previously existing yarn files will be kept.

Usage

yrn install

Is equivalent to npm install but actually calls yarn install. It will restore all packages that yarn deletes.

yrn install [pkgName, ...]

Is equivalent to npm install [pkgName, ...] but actually calls yarn add [pkgName, ...] and then removes any new package.json entries that yarn made.

yrn install --save [pkgName, ...], yrn install --save-dev [pkgName, ...]

Is equivalent to npm install --save [pkgName, ...] but actually calls yarn add [--dev] [pkgName, ...].

yrn [cmd] [args]

Calls npm [cmd] [args].

License

MIT

About

:hurtrealbad: Just like `npm` but ~2.4 times faster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published