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
26
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
570
Retours sur Vue.js Amasterdam
franckabgrall
0
170
Vue.js, retrouver le goût des choses simples
franckabgrall
1
81
Other Decks in Programming
See All in Programming
パスキーのすべて ── 導入・UX設計・実装の紹介 / 20250213 パスキー開発者の集い
kuralab
3
870
Code smarter, not harder - How AI Coding Tools Boost Your Productivity | Angular Meetup Berlin
danielsogl
0
100
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
240
PHP ステートレス VS ステートフル 状態管理と並行性 / php-stateless-stateful
ytake
0
110
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
1
210
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
6
2.2k
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
130
もう僕は OpenAPI を書きたくない
sgash708
5
1.9k
Better Code Design in PHP
afilina
0
150
Rails アプリ地図考 Flush Cut
makicamel
1
130
負債になりにくいCSSをデザイナとつくるには?
fsubal
10
2.5k
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
298
20k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Fireside Chat
paigeccino
34
3.2k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Six Lessons from altMBA
skipperchong
27
3.6k
Agile that works and the tools we love
rasmusluckow
328
21k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Building Adaptive Systems
keathley
40
2.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
4 Signs Your Business is Dying
shpigford
182
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