Top Node Links of the Week
npm v5.7.0, Promise.prototype.finally() support, Electron 2.0.0-beta.1 and more…
A look at some of the top links shared in this week’s issue of Node Weekly.
1 — npm v5.7.0 Released (The NPM Blog)
npm install
can now automatically fix package-lock.json
and npm-shrinkwrap.json
files that have merge conflicts, there’s also a new npm ci
command.
Before you get too excited with whipping 5.7 out to all your production Linux servers, however, you should be aware there’s a reported problem where 5.7 is making unfortunate changes to filesystem permissions:
2 — Using Promise.prototype.finally() in Node (Valeri Karpov)
Promise.prototype.finally() will be arriving in ECMAScript (and therefore Node) soon — what can we use it for, and how could we implement a polyfill for the time being?
3 — Express.js and AWS Lambda — A Serverless Love Story (Slobodan Stojanović)
You’ve probably built an Express app, but what about taking it Serverless? Claudia to the rescue.
4 — Wedgetail: A Simple Profiler for Node 9.5+ (Owen Kelly)
A testing utility for Node modules to help you ensure your app stays performant.
5 — My Node.js Process is on Fire (Matt Collina)
A brief 12-minute journey into the world of Node performance, looking at some of the available tools and optimization techniques.
6 — You Got This: A Zine on Making Webapps with Node.js (Glitch)
A fun, 20-page mini magazine you can view online or download. Very much aimed at new developers.
7 — Electron 2.0.0-beta.1 Released (Electron)
8 — Three Tricks for Smaller Docker Images (Daniele Polencic)
The main example is based around packaging a simple Node app.
Want to see more of the latest news and tutorials from Node Weekly? Subscribe now. 📫