#230 — March 22, 2018

Read on the Web

Node Weekly

Oclif: Heroku's 'Open CLI' Framework for Node — A framework for building command line interfaces whether with a few simple flags or lots of subcommands. It comes out of Heroku’s work on its own CLI tools. Here’s a getting started tutorial, or how about a 2 minute screencast introduction?


Node v9.9.0 (Current) Released — Some tweaks to assert, a new getColorDepth function for tty to determine terminal color support, and other minor tweaks including the Buffer() function and new Buffer() being deprecated.. more on this below.

Node.js Foundation

Memory Mapping for Redis 4.0 — Detailed analytics to help you get the most out of Redis.

RedisGreen sponsor

An Interesting Discussion on the Deprecation of 'new Buffer()' — A developer lamented that the deprecation of new Buffer() in Node 10 would cause many developers to have to update many old but stable libraries. This led to some interesting discussions involving Node team members and npm creator/former Node lead, Isaac Z. Schlueter, who thinks things are headed the wrong way as many developers are using new Buffer() safely. Whatever your position, check your own code to ensure you’re using Buffer the right way.


March 2018 Security Releases Due Next Week — Each supported release line will get a release on, or just after, March 27 (next Tuesday). This is to roll out an updated OpenSSL and security fixes. This will also likely see the final Node 4.x release as support ceases in April so do upgrade ASAP.

Node.js Foundation

Using Kubernetes for Local Development — Kubernetes provides production-level container management but you can develop against it locally. Google’s Skaffold tool makes this relative easily and this brief tutorial demonstrates using it to do so with a basic Node app.

Gergely Nemeth

A Short Guide to a Productive Docker Dev Environment — If you don’t need full-on Kubernetes, you may prefer this tutorial focused on Docker.

Nicholas Rempel

Calling All Node Devs: Sign Up to Beta Test ACID Transactions in MongoDB

MONGODB sponsor

The History of Node.js on a Timeline — With Node getting its name on March 3, 2009, we’re due a tenth anniversary next year..

Gergely Nemeth


Node.js Developer at X-Team (Remote) — We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. Join X-Team.


Node Expert? Sign Up for Vettery — Create your profile and we’ll connect you with top companies looking for talented back-end developers.


Tutorials and Articles

Using Node to Call a GraphQL API — As a personal aside, GitHub’s GraphQL API is absolutely amazing. It’s streets ahead of the REST API for pulling out the data you want if that data spans multiple data models.

Nick Nance

How to Write Powerful Schemas in JavaScript — An introduction to schm, a library for building schemas in a functional and composable way.

Diego Haz

Tips for Using ESLint in a Legacy Codebase — Techniques that can help you significantly reduce the number of errors you see.

Sheshbabu Chinnakonda

How to Test Node Apps using Mocha, Chai and SinonJS

Joy Warugu

Getting Node-RED to 1 Million DownloadsNode-RED is a Node-based visual flow-programming tool for wiring together hardware devices/IoT.

Nick O'Leary

🔧 Code and Tools

better-sqlite3: A Simple and Fast SQLite3 Library for Node — A synchronous API, supports 64 bit integers, is faster than node-sqlite3-based libraries..

Joshua Wise

Webinar: 'The Benefits of Managed Cloud CI and CD for Enterprises' on March 28

Codeship sponsor

Noderize: Create a Node App in Fewer than 30 Seconds — An all-in-one tool for building Node apps with Babel, TypeScript, Jest, Prettier, and more.

Charles Crete

crypto-hash: A Hashing Module Using the Native Crypto API in Node and Browser — Get the same hashing API in both environments. Uses the crypto module on Node and window.crypto in the browser.

Sindre Sorhus

pidtree: Cross-Platform Children List for a Given Process ID

Simone Primarosa

Mark Text: A Cross-Platform Markdown Editor App — Built with Electron and Vue.


dset: A Tiny Utility for Safely Writing Deep Object Values

Luke Edwards