NEJS Conf, 2018-07-27
Read these slides on your device:
COO & co-founder, npm Inc.
@seldo
npm and the future of JavaScript
npm and the future of JavaScript
(Creepy!)
npm and the future of JavaScript
Part 1: what you should know about npm
Top 5 languages on GitHub
by number of pull requests opened
Β
Upgrade right now!
npm install npm -g
npm ci
You can use
anywhere you used to use
npm install
and it will be twice as fast
A bunch of new features
Secure your npm account in 30 seconds:
Just run npm install!
Yikes!
Just run in your current project:
npm audit
Learn more:
Just run in your current project:
npm audit fix
or
npm audit fix --force
for the adventurous
npx create-react-app
Try it out!
Please stand up!
(If you can't stand up, raise a hand)
Sit down if you don't match the description.
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Stay standing if you
Java | 30% |
---|---|
PHP | 30% |
Python | 30% |
.NET | 19% |
Go | 10% |
C++ | 10% |
Ruby | 9% |
C | 5% |
Swift | 5% |
Rust | 3% |
Large ecosystem of libraries | 67% |
---|---|
Increased developer productivity | 57% |
Language features | 46% |
Improved developer satisfaction | 43% |
Reduced development costs | 35% |
Large, experienced developer pool | 35% |
Ease of developer onboarding | 33% |
Increased application performance | 25% |
Itβs not my choice | 15% |
Yarn to npm migration tool:
A user journey from Yarn back to npm:
People are still learning about npm!
Only 45% of npm users describe themselves as "in tech"
with graphs
60% of npm users say they use React
Is it stealing React's thunder?
Angular is seeing fewer downloads,
please don't yell at me about it.
The comeback kid
The next big thing?
I'll tell you at the end.
What on earth...?
I guess that's it?
Ironically, they're not happy with us at all.
This looks weird
Better documentation | 75% |
---|---|
Less configuration | 49% |
Faster | 48% |
More features | 43% |
Better defaults | 40% |
Fewer separate tools | 36% |
Web frameworks | 85% |
---|---|
Transpilers | 74% |
Linters | 69% |
Bundlers | 67% |
CSS preprocessing | 58% |
Testing/automation | 58% |
Express | 60% |
---|---|
React | 58% |
jQuery | 49% |
Angular | 40% |
Electron | 24% |
Vue | 24% |
Koa | 8% |
Backbone | 7% |
Preact | 6% |
Hapi | 5% |
Next | 5% |
Meteor | 5% |
Ember | 4% |
Babel | 65% |
---|---|
TypeScript | 46% |
CoffeeScript | 5% |
Elm | 3% |
ClojureScript | 2% |
ESLint | 72% |
---|---|
JSLint | 17% |
JSHint | 15% |
Standard | 7% |
Sonar | 5% |
π±
π
π
Webpack | 79% |
---|---|
Browserify | 20% |
Rollup | 10% |
Mocha | 50% |
---|---|
Jasmine | 33% |
none | 21% |
Jest | 19% |
QUnit | 5% |
Tape | 5% |
jQuery, we barely knew ye.
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
Ill-advised prediction
and it hasn't been for some time
@seldo
These slides
Talk to me