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 – more than just install
Search
Stephan Bönnemann
August 08, 2015
Programming
0
170
npm – more than just install
Stephan Bönnemann
August 08, 2015
Tweet
Share
More Decks by Stephan Bönnemann
See All by Stephan Bönnemann
Greenkeeper – managing dependencies with confidence
boennemann
0
250
Greenkeeper – managing dependencies with confidence
boennemann
0
94
JavaScript Release Management for Open Source Projects and Companies
boennemann
0
520
We fail to follow SemVer – and why it needn't matter
boennemann
0
310
Dependency Hell Just Froze Over
boennemann
1
560
We fail to follow SemVer – and why it needn’t matter
boennemann
0
280
We fail to follow SemVer – and why it needn’t matter
boennemann
3
1.2k
We fail to follow SemVer – and why it needn’t matter
boennemann
0
220
Hoodie.js Introduction – Salzburg Web Dev Meetup
boennemann
0
650
Other Decks in Programming
See All in Programming
Expoによるアプリ開発の現在地とReact Server Componentsが切り開く未来
yukukotani
2
330
Lambdaの監視、できてますか?Datadogを用いてLambdaを見守ろう
nealle
2
870
もう一人で悩まない! 個の知見をチームの知見にする3つの習慣と工夫 / Into team knowledge.
honyanya
3
380
Functional APIから再考するLangGraphを使う理由
os1ma
4
330
AWS CDKにおけるL2 Constructの仕組み / aws-cdk-l2-construct
gotok365
4
570
AI Agentを利用したAndroid開発について
yuchan2215
0
100
RailsでCQRS/ESをやってみたきづき
suzukimar
0
720
CDKを使ったPagerDuty連携インフラのテンプレート化
shibuya_shogo
0
140
CIBMTR振り返り+敗北から学ぶコンペの取り組み方反省
takanao
1
300
Learning Kotlin with detekt
inouehi
1
240
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
9
1.5k
SwiftUI移行のためのインプレッショントラッキング基盤の構築
kokihirokawa
0
200
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
101
18k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
Making Projects Easy
brettharned
116
6.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Six Lessons from altMBA
skipperchong
27
3.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
The Pragmatic Product Professional
lauravandoore
32
6.4k
Transcript
npm The package manager for JavaScript @boennemann
npm install @boennemann
npm install --save hapi npm install --save-dev tap npm install
--global babel @boennemann
npm i -S hapi npm i -D tap npm i
-g babel @boennemann
npm i -g npm @boennemann
npm i boennemann/animals @boennemann
npm i <user>/<repo> @boennemann
npm i gist:<user>/<id> @boennemann
npm i bitbucket:<user>/<repo> @boennemann
npm i gitlab:<user>/<repo> @boennemann
npm i ~/projects/whatever @boennemann
npm i ~/projects/whatever.tgz @boennemann
npm i http://a.com/whatever.tgz @boennemann
npm more than just install @boennemann
“You have to know that @boennemann is really, I mean
REALLY, into npm [...] stuff.” – Stephan Seidt @boennemann
users @boennemann
npm docs <package> @boennemann
npm prune @boennemann
packages @boennemann
npm init @boennemann
npm config set init.author.name="<name>" @boennemann
npm dist-tag add <pkg>@<version> <tag> @boennemann
{ "bundleDependencies": [ "my-lib", "my-project-client", "my-project-server" // … ] }
@boennemann
{ "scripts": { "start": "gulp serve", "build": "gulp build" //
… } } @boennemann
applications @boennemann
npm dedupe @boennemann
npm shrinkwrap @boennemann
wat @boennemann
/**package { "name": "my-package", "version": "1.0.0" } **/ @boennemann
npm help <command> http://docs.npmjs.com/ @boennemann
npm @boennemann
npm @boennemann
@npmWombat @boennemann
demo @boennemann