---
title: "A new CLI framework, Node 9.9, and Buffer constructor deprecation"
publication: "Node Weekly"
issue: 230
published_at: "2018-03-22"
canonical_url: "https://nodeweekly.com/issues/230"
---

The latest Node.js news, articles, tools, and projects.       

#230 — March 22, 2018 

[Read on the Web](https://nodeweekly.com/issues/230)   

Node Weekly  

[Oclif: Heroku's 'Open CLI' Framework for Node](https://oclif.io/) — 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](https://github.com/oclif/oclif/blob/master/GETTING_STARTED.md), or how about a [2 minute screencast introduction?](https://vimeo.com/260856112) 

Heroku   

[Node v9.9.0 (Current) Released](https://nodejs.org/en/blog/release/v9.9.0/) — 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   [![\](https://copm.s3.amazonaws.com/4a2cf267.png)](http://www.redisgreen.net/7/?utm_source=nodeweekly&utm_medium=email&utm_campaign=2018a&utm_content=primary&utm_term=r4+memorymap) 

[Memory Mapping for Redis 4.0](http://www.redisgreen.net/7/?utm_source=nodeweekly&utm_medium=email&utm_campaign=2018a&utm_content=primary&utm_term=r4+memorymap) — Detailed analytics to help you get the most out of Redis. 

RedisGreen sponsor    

[An Interesting Discussion on the Deprecation of 'new Buffer()'](https://twitter.com/mafintosh/status/976430718795558912) — A developer lamented that the [deprecation](https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor) 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](https://twitter.com/izs/status/976510885861605376) as many developers are using `new Buffer()` safely. Whatever your position, check your own code to ensure you’re using `Buffer` [the right way.](https://nodejs.org/api/deprecations.html#deprecations_dep0005_buffer_constructor) 

Twitter   

[March 2018 Security Releases Due Next Week](https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/) — 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](https://nemethgergely.com/using-kubernetes-for-local-development/) — Kubernetes provides production-level container management but you can develop against it locally. Google’s [Skaffold](https://github.com/GoogleCloudPlatform/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](https://nrempel.com/guides/docker-development-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](https://www.mongodb.com/transactions?jmp=cpress&utm_campaign=WW_CP_newsletter_sponsorship_FY19Q1&utm_content=20180322&utm_medium=display&utm_source=nodeweekly) 

MONGODB sponsor   

[The History of Node.js on a Timeline](https://blog.risingstack.com/history-of-node-js/) — With Node getting its name on March 3, 2009, we’re due a tenth anniversary next year.. 

Gergely Nemeth  

Jobs  

[Node.js Developer at X-Team (Remote)](https://x-team.com/remote-nodejs-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=node-weekly-q3-18) — We help our developers keep learning and growing every day. Unleash your potential. Work from anywhere. [Join X-Team](https://x-team.com/remote-nodejs-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=node-weekly-q3-18). 

X-Team   

[Node Expert? Sign Up for Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-nodeweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-19592) — Create your profile and we’ll connect you with top companies looking for talented back-end developers. 

Vettery  

Tutorials and Articles  

[Using Node to Call a GraphQL API](https://itnext.io/call-graphql-api-with-native-node-modules-5e4d088ca969) — As a personal aside, [GitHub’s GraphQL API](https://developer.github.com/v4/) 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](https://medium.freecodecamp.org/how-to-write-powerful-schemas-in-javascript-490da6233d37) — An introduction to [schm](https://github.com/diegohaz/schm), a library for building schemas in a functional and composable way. 

Diego Haz   

[Tips for Using ESLint in a Legacy Codebase](http://www.sheshbabu.com/posts/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](https://scotch.io/tutorials/how-to-test-nodejs-apps-using-mocha-chai-and-sinonjs) 

Joy Warugu   

[Getting Node-RED to 1 Million Downloads](https://knolleary.net/2018/03/16/getting-node-red-to-one-million-downloads/) — [Node-RED](https://nodered.org/) 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](https://github.com/JoshuaWise/better-sqlite3) — 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](https://resources.codeship.com/webinars/codeship-saas-ci-cd-for-enterprises?utm_source=email-sponsorship&utm_medium=cpc-node-weekly-secondary&utm_campaign=enterprise-webinar) 

Codeship sponsor   

[Noderize: Create a Node App in Fewer than 30 Seconds](https://noderize.js.org/) — 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](https://github.com/sindresorhus/crypto-hash) — 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](https://github.com/simonepri/pidtree) 

Simone Primarosa   

[Mark Text: A Cross-Platform Markdown Editor App](https://github.com/marktext/marktext) — Built with Electron and Vue. 

Jocs   

[dset: A Tiny Utility for Safely Writing Deep Object Values](https://github.com/lukeed/dset) 

Luke Edwards         

Curated by [Cooperpress](https://cooperpress.com/) and [Peter Cooper](https://twitter.com/peterc) 

[Change your email address](https://nodeweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://nodeweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
