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
280
Greenkeeper – managing dependencies with confidence
boennemann
0
97
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
330
Dependency Hell Just Froze Over
boennemann
1
560
We fail to follow SemVer – and why it needn’t matter
boennemann
0
290
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
230
Hoodie.js Introduction – Salzburg Web Dev Meetup
boennemann
0
680
Other Decks in Programming
See All in Programming
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
130
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
370
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
1.3k
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
ニーリーにおけるプロダクトエンジニア
nealle
0
360
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
210
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
180
Deep Dive into ~/.claude/projects
hiragram
8
1.4k
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
350
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
340
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
100
Featured
See All Featured
Side Projects
sachag
455
42k
Balancing Empowerment & Direction
lara
1
370
Unsuck your backbone
ammeep
671
58k
Fireside Chat
paigeccino
37
3.5k
What's in a price? How to price your products and services
michaelherold
246
12k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
How STYLIGHT went responsive
nonsquared
100
5.6k
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