Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Npm vs Yarn
Search
FranckAbgrall
May 18, 2017
Programming
0
35
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
630
Retours sur Vue.js Amasterdam
franckabgrall
0
180
Vue.js, retrouver le goût des choses simples
franckabgrall
1
87
Other Decks in Programming
See All in Programming
20251127_ぼっちのための懇親会対策会議
kokamoto01_metaps
2
430
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
120
AWS CDKの推しポイントN選
akihisaikeda
1
240
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
240
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
160
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
160
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
130
Cell-Based Architecture
larchanjo
0
110
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
1k
React Native New Architecture 移行実践報告
taminif
1
150
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
150
エディターってAIで操作できるんだぜ
kis9a
0
720
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Docker and Python
trallard
47
3.7k
Embracing the Ebb and Flow
colly
88
4.9k
Music & Morning Musume
bryan
46
7k
KATA
mclloyd
PRO
32
15k
How STYLIGHT went responsive
nonsquared
100
6k
Raft: Consensus for Rubyists
vanstee
141
7.2k
Writing Fast Ruby
sferik
630
62k
Designing Experiences People Love
moore
143
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Into the Great Unknown - MozCon
thekraken
40
2.2k
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