1.0.1 • Published 7 years ago

yarn2npm v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

yarn2npm

Convert your Yarn project to NPM.

Usage

Install it:

npm install yarn2npm -g

Then run this in your project:

y2n

Note: It will not do anything if there are no package.json and yarn.lock.

If you want delete yarn.lock, add -d as parameter:

y2n -d

How it works?

  1. Detect if package.json and yarn.lock exist.
  2. Delete yarn.lock if you specify -d.
  3. Delete node_modules.
  4. Run npm install.

License

MIT

1.0.1

7 years ago

1.0.0

7 years ago