Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Npm vs Yarn
Search
FranckAbgrall
May 18, 2017
Programming
0
25
Npm vs Yarn
FranckAbgrall
May 18, 2017
Tweet
Share
More Decks by FranckAbgrall
See All by FranckAbgrall
Comment promouvoir son projet Open Source?
franckabgrall
0
470
Retours sur Vue.js Amasterdam
franckabgrall
0
160
Vue.js, retrouver le goût des choses simples
franckabgrall
1
77
Other Decks in Programming
See All in Programming
障害対応を起点としたもっといい開発と運用のサイクル作りのためにできること / Hatena Enginner Seminar #29
polamjag
0
420
Elm 0.19.0 Changes
bkuhlmann
0
510
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
690
Timeline エディター拡張入門
yucchiy
0
160
ペパボOpenTelemetry革命
pyama86
2
170
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
4
540
slow types ってなんだろう?
karad
0
170
CDKコントリビュートの最初の壁を越えよう! -簡単issueの見つけ方-
badmintoncryer
3
350
Direct Style Effect Systems The Print[A] ExampleA Comprehension Aid
philipschwarz
PRO
0
300
GitHub Copilotのススメ
marcy731
1
240
Snowflakeで眠ったデータを起こそう!
estie
0
160
Documentation for users with AsciiDoc and Antora
ahus1
0
370
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
14
8.4k
Building an army of robots
kneath
300
41k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
26
2.3k
The Cult of Friendly URLs
andyhume
74
5.7k
Done Done
chrislema
178
15k
Designing for humans not robots
tammielis
247
25k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
Embracing the Ebb and Flow
colly
80
4.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
Visualization
eitanlees
137
14k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Transcript
Npm vs Yarn vs NantesJS
Consultant @ Zenika Nantes Fullstack developer Franck Abgrall
• Created in 2009 • Opensource • Most used javascript
package manager • Created in 2016 • Opensource • Use the npm registry • Created to solve problem their authors faced themselves
None
Semantic versioning [major] . [minor] . [patch] Incompatible changes .
Non breaking changes . Bug fixes Caret ranges ( ^ ) ^6.7.0 == between 6.7.0 and 7.0.0 (7.0.0 excluded) "node": "^6.7.0"
Cheat sheet npm install yarn (or yarn install) npm install
<package> --save yarn add <package> npm install <package> --save-dev yarn add <package> --dev npm update --save yarn upgrade npm install <package> -g yarn global add <package> npm uninstall <package> --save yarn remove <package>
, an improvement over + Speed + Cache + Deterministic
+ Offline mode + Yarn why + Checksum + Emojis - Not completely stable
Conclusion • Young • Huge and active community
blog.zenika.com/npm-vs-yarn/ Découvrez le futur des gestionnaires de paquets js !
https://github.com/kefranabg/NPM-VS-YARN
Un feedback? http://bit.ly/2ql2qxz