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
24
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
450
Retours sur Vue.js Amasterdam
franckabgrall
0
160
Vue.js, retrouver le goût des choses simples
franckabgrall
1
76
Other Decks in Programming
See All in Programming
孤独のCTOグルメという やや奇抜な企画をやった目的と効果
shoheimitani
3
820
LPIXEL×CADDi_kaerururu
kaerururu
3
270
Catch Up with Swift 5.10
ojun9
1
450
Learning PHP and Static Analysis with PHP Parser
inouehi
1
220
架空のコンペ_スクワットフォーム判別コンペの解法
cpptake
0
430
before_rails_girls_after_rails_girls
maimux2x
0
300
Faster, greener, and happier- why Quarkus should be your next tech stack
hollycummins
0
130
25 Years of the JCP Program
ivargrimstad
0
1k
Docker ハンズオン / docker-hands-on
suzukihoge
48
15k
ADRを一年運用してみた/our_story_about_adr
hanhan1978
3
1.1k
DDD, necessary but insufficient: physical design principles for microservices
cer
PRO
0
200
生成 AI の中身を覗いてみよう〜基礎から医療現場での応用まで〜
soh9834
2
700
Featured
See All Featured
Facilitating Awesome Meetings
lara
39
5.5k
Building Flexible Design Systems
yeseniaperezcruz
317
37k
Infographics Made Easy
chrislema
237
17k
Building Applications with DynamoDB
mza
88
5.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
930
Producing Creativity
orderedlist
PRO
335
39k
The Pragmatic Product Professional
lauravandoore
24
5.7k
A Philosophy of Restraint
colly
195
15k
Teambox: Starting and Learning
jrom
126
8.3k
Thoughts on Productivity
jonyablonski
57
3.7k
Statistics for Hackers
jakevdp
789
220k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
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