简体   繁体   中英

(node.js) install NPM and YARN alternately

Can I install NPM and YARN alternately?

If I need package a and package b, can I install package a with NPM and package b with YARN?

npm install a
yarn add b

Yarn is fine alone, and I don't see personnally why you need use both for a project. But yes, you can install both in the same project.

In case you would like to see the advantages of Yarn over Npm, I'll slip you this little link: https://www.sitepoint.com/yarn-vs-npm/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM