Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Private npm - What can you do with your own npm...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Szabolcs Szabolcsi-Toth
November 19, 2014
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Private npm - What can you do with your own npm registry
My talk for the NodeBp meetup, November 2014
Szabolcs Szabolcsi-Toth
November 19, 2014
Other Decks in Programming
See All in Programming
sbt 2.0: takeoff
eed3si9n
0
160
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
250
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
180
残高管理から台帳サービスへの進化
artoy
1
200
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
220
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
APNsからLive Activityを開始する話
yumnumm
0
170
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
Next.js: The final boss of Web Performance
guaca
0
280
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Designing for Performance
lara
612
70k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Abbi's Birthday
coloredviolet
4
10k
A Tale of Four Properties
chriscoyier
163
24k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Typedesign – Prime Four
hannesfritz
42
3.2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Transcript
PRIVATE NPM What can you do with your own npm
registry
HELLO I'm Szabolcs Szabolcsi-Toth Senior Front-end Engineer @ Ustream @_Nec
NPM
NPM Public and open ecosystem of open source modules Has
several public mirrors
NPM IS GREAT but "what if" you want to do
sensitive stuff you want to do proprietary stuff you want to use npm, but internally distribute modules you don’t trust availability
PRIVATE NPM REGISTRY
“Don’t run your own registry, use ours” Laurie Voss
PRIVATE NPM REGISTRIES Full mirror Caching GBytes of data Only
what needed
OUR USECASE AT USTREAM
SYSOP REQUIREMENT “what happens when an npm install dies during
a major deployment?” “we're f**ked”
SINOPIA github.com/rlidwka/sinopia
SINOPIA caching registry use with chef/docker simple storage
WORKING WITH SINOPIA
AUTHENTICATION simple adduser publisher/reader rights since npm 1.5-alpha (v2.0.0) users
can scope credentials to different registries
PER-PROJECT CONFIGURATION .npmrc per project registry configuration since v1.4.11 package.json
use ‘publishConfig’
PUBLISH - UNPUBLISH n p m p u b l
i s h - - r e g i s t r y h t t p : / / y o u r - o w n . r e g i s t r y . u r l m o d u l e n a m e n p m u n p u b l i s h - - f o r c e - - r e g i s t r y h t t p : / / y o u r - o w n . r e g i s t r y . u r l m o d u l e n a m e
SECURITY Ours only accessible from a well defined domain /
ip pool
USECASES
YOU CAN DO... private modules (obviously)
YOU CAN DO... Versioned modules for deployment Configuration management and
distribution
YOU CAN DO... Not just backend modules Front-end module registry
YOU CAN... Prepare for the open source world Test, use,
then go open source Get used to the tools, workflow and mindset
EXAMPLES
CONFIGURATION MANAGEMENT AND DISTRIBUTION This is how we distribute configurations
for our node apps
BUILD & DEPLOYMENT GIT FEATURE BETA LIVE FEATURE BETA LIVE
BUILD & DEPLOYMENT GIT NPM FEATURE BETA LIVE FEATURE BETA
LIVE MODULE v0.2.4 MODULE v0.1.2 MODULE v0.2.1 MODULE v0.1.1
BUILD & DEPLOYMENT GIT NPM FEATURE BETA LIVE FEATURE BETA
LIVE MODULE v0.2.4 MODULE v0.1.2 MODULE v0.2.1 MODULE v0.1.1
BUILD & DEPLOYMENT GIT NPM FEATURE BETA LIVE FEATURE BETA
LIVE MODULE v0.2.4 MODULE v0.1.2 MODULE v0.2.1 MODULE v0.1.1
BUILD & DEPLOYMENT GIT NPM FEATURE BETA LIVE FEATURE BETA
LIVE MODULE v0.2.4 MODULE v0.1.2 MODULE v0.2.1 MODULE v0.1.1
BUILD & DEPLOYMENT GIT NPM FEATURE BETA LIVE FEATURE BETA
LIVE MODULE v0.2.4 MODULE v0.1.2 MODULE v0.2.1 MODULE v0.1.1
BUILD & DEPLOYMENT GIT NPM FEATURE BETA LIVE FEATURE BETA
LIVE MODULE v0.2.4 MODULE v0.1.2 MODULE v0.2.1 MODULE v0.1.1
CONFIGURATION MANAGEMENT AND DISTRIBUTION Works with Modules, or even better:
Configurations
FRONT-END MODULES Internal ‘bower’ using our private npm registry Flat
dep tree cli, or package.json This is also a problem at npm
FINALLY
DRAWBACKS Feature lag Deal with securing and hosting and backup
THE FUTURE npm is working on this! scoped packages (prefixed
with your org)
NPME npme (as enterprise) use it like npm you host
it selective mirror OAuth2, more is coming developed by npm - no feature lag still in trial
NPME It's not free Support npm, use a good solution
no price information yet
THANK YOU! @_Nec