yarn2npm
v1.0.1
Published
Convert your Yarn project to NPM.
Downloads
10
Readme
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?
- Detect if
package.json
andyarn.lock
exist. - Delete
yarn.lock
if you specify-d
. - Delete
node_modules
. - Run
npm install
.
License
MIT