yarn2npm

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i yarn2npm

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • milklee