SlideShare a Scribd company logo
npm Loves You
js.la 2016 o/
Bringing Open-Source
Practices to Your Day Job
Ben Coe
@BenjaminCoe, github.com/bcoe
▪ employee #3 at npm
▪ lead maintainer of yargs
▪ built nyc, the code-coverage tool
▪ manage npm Enterprise
About Ben
▪ process driven by necessity:
▫ Lots of churn.
▫ Many contributors.
OSS Best Practices
▪ what do good practices have in common?
OSS Best Practices
automate all the
things
in automation we trust
2
▪ Don’t be dogmatic BDD, TDD, etc.
▫ … but be dogmatic about writing tests
▪ Automate it!
Unit Testing
▪ “did you write a test for that?”
▪ Automate it!
Test Coverage
var express = require('wombat')
var app = wombat()
app.get('/', function (req, res) {
res.send('Hello Log')
})
app.listen(3000) github.com/bcoe/nyc
tools should be so
simple they’re fun to
use
▪ Controversial topic!
▪ Creativity is important.
▪ Automate it!
▫ I ❤ github.com/feross/standard
Coding Style
▪ the longer you wait to upgrade, the more
annoying it becomes
▪ use npm outdated
▪ Automate it!
▫ greenkeeper.io rocks
keep dependencies
up-to-date
var express = require('wombat')
var app = wombat()
app.get('/', function (req, res) {
res.send('Hello Log')
})
app.listen(3000)
greenkeeper.io
one of my top five, all
time, favorite robots
▪ npm publish --tag=alpha
▪ npm version patch -m “awesome new
feature”
become an npm
power user
▪ conventional-changelog
▫ https://github.com/stevemao/convention
al-changelog-cli
▪ semantic release
changelog
management
“engineers are far more tolerable of a
pedantic robot than they are pedantic
people.”
— someone probably.
best practices
grow out of
community
3
▪ people emulate the projects they respect.
how do habits
spread?
4 Best Practices
Center Around
Great Tools
9/10 Use Travis CI10/10 Use GitHub 5/10 Use Coveralls
top 10 npm packages
so, why do you
build Enterprise
software Ben?
5
▪ It’s frustrating!
▫ restrictions on infrastructure.
▫ practices lag behind.
▪ process can be overwhelming.
developing enterprise
software is hard
OSS methodologies
can work!
▪ OSS practices were designed to help large
asynchronous teams work effectively:
▫ this is applicable in large corporations.
▪ InnerSource: Internal Open Source at PayPal
“The results were visible after 6 months.
The Checkout Platform team spends 0% of
its time rewriting code and just 10%
reviewing submissions. The team was able
to do a major refactoring and a 4x increase
in performance without planning for it. The
mindset moved from blocking change to
mentoring and coaching.”
▪ InnerSource is about:
▫ developers taking ownership.
▫ people taking on the role of a lead
maintainer.
▪ developers using their favorite tools.
education is important
InnerSource Tools
Demo Time
how are we working
together?
▪ we’re keeping our roadmaps aligned.
▪ we’re looking for tighter integration points.
▪ we’re preaching a similar message about
OSS in the Enterprise.
why this is awesome
▪ OSS and Enterprise can learn from each
other.
▪ we can make a developer’s life more
awesome.
thanks
any questions?
about anything?
Ben Coe
@BenjaminCoe, github.com/bcoe
npm loves you
♥

More Related Content

What's hot (20)

PDF
What schools should be teaching IT students
Andy Lester
 
PPT
Continuous integration
instanceofjamie
 
PDF
Developing sustainable php projects
Michele Orselli
 
PPTX
Design patterns for efficient DevOps processes - Rebecca Fitzhugh - DevOpsDay...
DevOpsDays Tel Aviv
 
PDF
Are you a good scout? - PHPNW15 Unconf
phpboyscout
 
PDF
Are you a good scout? - PHPNW15 Track 3
phpboyscout
 
PDF
Are you a good scout? PHPNW Aug 2015
phpboyscout
 
PDF
Thoughts about Shape Up
Diego Pacheco
 
PDF
DevOps for Engineers
Ahmed AbouZaid
 
PPTX
Bootstrapping Quality
Michael Roufa
 
PDF
How contributing to Open-source made me a better DevOps
Ahmed AbouZaid
 
PDF
NYU ITP Lean LaunchPad Development Planning
Jen van der Meer
 
PPTX
Enterprise Development on a Shoestring Budget
Chris Tankersley
 
PPTX
Software Craftsmanship @ Ntnu
goeran
 
PDF
Agile
CHIPoludnie
 
PPTX
Lean Responsive
Josh Jeffryes
 
PDF
Why Vue JS
Praveen Puglia
 
PDF
DrupalCon 2013 Making Support Fun & Profitable
Promet Source
 
KEY
corporateJavascript
climboid
 
PPTX
DevOps, Performance Optimization and the Green Life with Magento
Luis Tineo
 
What schools should be teaching IT students
Andy Lester
 
Continuous integration
instanceofjamie
 
Developing sustainable php projects
Michele Orselli
 
Design patterns for efficient DevOps processes - Rebecca Fitzhugh - DevOpsDay...
DevOpsDays Tel Aviv
 
Are you a good scout? - PHPNW15 Unconf
phpboyscout
 
Are you a good scout? - PHPNW15 Track 3
phpboyscout
 
Are you a good scout? PHPNW Aug 2015
phpboyscout
 
Thoughts about Shape Up
Diego Pacheco
 
DevOps for Engineers
Ahmed AbouZaid
 
Bootstrapping Quality
Michael Roufa
 
How contributing to Open-source made me a better DevOps
Ahmed AbouZaid
 
NYU ITP Lean LaunchPad Development Planning
Jen van der Meer
 
Enterprise Development on a Shoestring Budget
Chris Tankersley
 
Software Craftsmanship @ Ntnu
goeran
 
Lean Responsive
Josh Jeffryes
 
Why Vue JS
Praveen Puglia
 
DrupalCon 2013 Making Support Fun & Profitable
Promet Source
 
corporateJavascript
climboid
 
DevOps, Performance Optimization and the Green Life with Magento
Luis Tineo
 

Similar to Bringing Open-Source Practices to Your Day Job (20)

PPTX
Techorama 2022 - Adventures of building Promitor, an open-source product
Tom Kerkhove
 
PDF
How to Enterprise Node
Julián David Duque
 
PPTX
Creating and Maintaining an Open Source Library
Nicholas Schweitzer
 
PDF
Leverage the power of Open Source in your company
Guillaume POTIER
 
PDF
Modern web applications infrastructure
EPAM
 
PDF
Js infrostructure
Igor Alpert
 
PPTX
GDG Morgantown, WV: Write code you can depend on!
Logan Spears
 
PDF
Managing Software Dependencies and the Supply Chain_ MIT EM.S20.pdf
Andrew Lamb
 
PDF
Node Summit 2016: Building your DevOps for Node.js
Chetan Desai
 
PDF
Write Once, Run Everywhere
Mike North
 
PDF
open source product management (feat. npm)
Forrest Norvell
 
PDF
apidays LIVE New York - Navigating the Sea of Javascript Tools to Discover Sc...
apidays
 
PPTX
Guide to open source
Javier Perez
 
PDF
InnerSource - Using open source best practices to help your company
Eric Caron
 
PPTX
20 Tips for Building a Scalable and Robust Node.js Stack that Developers Love
Patrick Steele-Idem
 
PPTX
On the health of the npm packaging ecosystem
Tom Mens
 
PDF
Real-World DevOps — 20 Practical Developers Tips for Tightening Your Operatio...
VictorSzoltysek
 
PPTX
Overview of Node JS
Jacob Nelson
 
PPTX
A brief intro to nodejs
Jay Liu
 
PPTX
Node.js Getting Started &amd Best Practices
botsplash.com
 
Techorama 2022 - Adventures of building Promitor, an open-source product
Tom Kerkhove
 
How to Enterprise Node
Julián David Duque
 
Creating and Maintaining an Open Source Library
Nicholas Schweitzer
 
Leverage the power of Open Source in your company
Guillaume POTIER
 
Modern web applications infrastructure
EPAM
 
Js infrostructure
Igor Alpert
 
GDG Morgantown, WV: Write code you can depend on!
Logan Spears
 
Managing Software Dependencies and the Supply Chain_ MIT EM.S20.pdf
Andrew Lamb
 
Node Summit 2016: Building your DevOps for Node.js
Chetan Desai
 
Write Once, Run Everywhere
Mike North
 
open source product management (feat. npm)
Forrest Norvell
 
apidays LIVE New York - Navigating the Sea of Javascript Tools to Discover Sc...
apidays
 
Guide to open source
Javier Perez
 
InnerSource - Using open source best practices to help your company
Eric Caron
 
20 Tips for Building a Scalable and Robust Node.js Stack that Developers Love
Patrick Steele-Idem
 
On the health of the npm packaging ecosystem
Tom Mens
 
Real-World DevOps — 20 Practical Developers Tips for Tightening Your Operatio...
VictorSzoltysek
 
Overview of Node JS
Jacob Nelson
 
A brief intro to nodejs
Jay Liu
 
Node.js Getting Started &amd Best Practices
botsplash.com
 
Ad

Recently uploaded (20)

PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
Basics of Electronics for IOT(actuators ,microcontroller etc..)
arnavmanesh
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PDF
visibel.ai Company Profile – Real-Time AI Solution for CCTV
visibelaiproject
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Basics of Electronics for IOT(actuators ,microcontroller etc..)
arnavmanesh
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
visibel.ai Company Profile – Real-Time AI Solution for CCTV
visibelaiproject
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Market Wrap for 18th July 2025 by CIFDAQ
CIFDAQ
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
The Future of Artificial Intelligence (AI)
Mukul
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Integrating IIoT with SCADA in Oil & Gas A Technical Perspective.pdf
Rejig Digital
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Ad

Bringing Open-Source Practices to Your Day Job