---
title: "N-API becomes Node-API"
publication: "Node Weekly"
issue: 389
published_at: "2021-05-20"
canonical_url: "https://nodeweekly.com/issues/389"
---

Plus Node 16.2, how to set up Node-RED, and Adonis v5. |        

#​389 — May 20, 2021 

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

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/jwm0kwwgukgdoswm9bal.jpg)](https://docs.adonisjs.com/releases/out-of-preview)  

[Adonis v5 Now Out of Preview plus a New Site and Docs](https://docs.adonisjs.com/releases/out-of-preview) — [Adonis](https://adonisjs.com/) is a full featured Node web framework which [compares itself](https://adonisjs.com/adonisjs-at-a-glance) to Rails, Laravel and Django in terms of scope. v5 brings easier social authentication support and improved asset management, amongst other things. v4 is now considered a ‘legacy’ release. 

Adonis   

[Node v16.2.0 (Current) Released](https://nodejs.org/en/blog/release/v16.2.0/) — One of the smaller minor releases with bug fixes and a few minor tweaks but no significant features as such (unless you want to [set process.env.TZ on Windows](https://github.com/nodejs/node/pull/38642), say) :-) 

Michaël Zasso   [![\](https://copm.s3.amazonaws.com/64b5aa39.png)](https://ter.li/pa0g67) 

[Try Scout’s Leading-Edge Performance Monitoring for Free](https://ter.li/pa0g67) — Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues in minutes. See for yourself why Scout is a Node developers’s best friend with a free 14-day trial, no credit card needed. 

Scout APM sponsor   

[On Renaming N-API to Node-API](https://nodejs.medium.com/renaming-n-api-to-node-api-27aa8ca30ed8) — [Node-API](https://nodejs.org/api/n-api.html), formerly N-API, is the API used when building native addons for Node and it has [been renamed](https://github.com/nodejs/abi-stable-node/issues/420) to avoid potential offence over N-API’s pronunciation. 

Node.js   

- It was neat to see someone who sells Node.js [boilerplate apps](https://usegravity.app/) on Indie Hackers [talking about his business and how it works](https://www.indiehackers.com/post/i-increased-my-prices-800-and-made-100k-in-revenue-ama-9ddfb4ee05).
- AWS Lambda is dropping support for Node 10 in August, so Dashbird has put together [a guide on upgrading to Node 14+](https://dashbird.io/blog/aws-lambda-nodejs-10-vs-14/) focused mainly on the improvements since then.   

[Understanding Async Resources with Async Hooks](https://blog.insiderattack.net/understanding-async-resources-with-async-hooks-3416de574f30) — _“In this article, I will try to demonstrate and explain the life cycle of a typical asynchronous resource with the help of `async_hooks` module.”_ 

Deepal Jayasekara   

▶[Learn About Async Iterators with Luciano Mammino](https://www.youtube.com/watch?v=l2CA9FtW1Pw) — Luciano Mammino co-wrote the book [_Node.js Design Patterns_.](https://www.nodejsdesignpatterns.com/) 

Kelvin Omereshone   

[Asynchronous APIs with DynamoDB Streams](https://solegaonkar.medium.com/asynchronous-api-with-dynamodb-streams-4117776f2fa4) — AWS’s API Gateway can add data directly to a DynamoDB table and this can then be picked up by a Lambda function using DynamoDB streams. But why? It can be a lot faster for the client than calling the Lambda directly. 

Vikas Solegaonkar   

▶[Building Serverless Workflows in Pipedream](https://www.youtube.com/watch?v=iizTlpEi4Z8) — [Pipedream](https://pipedream.com/) is a service for building complex workflows easily by stitching together different steps into a process that can be run by HTTP, schedule, and more. 

Raymond Camden   

[[Guide\] The Truth About Developer Productivity Metrics](https://www.sleuth.io/developer-productivity-metrics?utm_source=cooperpress&utm_medium=email&utm_campaign=nodeweekly&utm_content=metrics) — What you need to know to avoid weaponizing metrics for performance reviews, and use them to accelerate releases instead. 

Sleuth sponsor   

▶[The Advanced Setup of Node-RED in Easy Steps](https://www.youtube.com/watch?v=Xm35Xk5mnwg) — [Node-RED](https://nodered.org/) is a ‘low code’ programming environment built on top of Node that makes it easy to ‘wire up’ event flows in a visual way. It’s super easy to install, but what if you want to customize it for more advanced use cases? Want the next step? [Here's how to use it](https://www.youtube.com/watch?v=ZXzdzJ9ZYKQ). 

Bleeding Code   

[The Node.js Application Maintainer Guide](https://nodesource.com/blog/the-Node.js-application-maintainer-guide) — Covers best practices for maintaining a Node.js app, including dependencies, versioning, and architecture generally. 

Adrián Estrada     

💻 Jobs  

[Find Software Engineering Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-nodeweekly%29&utm_content=5-minutes) — Take 5 minutes to build your free profile & start getting interviews for your next job. Companies on Hired are actively hiring right now. 
Hired       

🛠 Code and Tools      

[create-node-cli 1.6.0: CLI to Create New Node CLI Apps](https://github.com/ahmadawais/create-node-cli) — If you work with React, you may have tried [Create React App](https://create-react-app.dev/) which creates a boilerplate React app to let you get coding ASAP - here’s the same idea for a CLI app. 

Ahmad Awais   

[Clinic.js: An Open Source Node.js Performance Profiling Suite](https://clinicjs.org/) — This tool will diagnose issues in Node apps by means of probes used to collect metrics to assess the app and create recommendations. [v9.0.0](https://github.com/clinicjs/node-clinic/releases/tag/v9.0.0) just dropped. 

nearform   

[Automate Code Standard Enforcement with Lightweight Static Analysis](https://semgrep.dev/?r=cn) 

Semgrep sponsor   

[Prettier 2.3: The Opinionated Code Formatter](https://prettier.io/blog/2021/05/09/2.3.0.html) — Not a _huge_ release but a notable milestone is official support for formatting HTML templates written with Handlebars. 

Georgii Dolzhykov   

[node-dns: A DNS Server and Client Implementation](https://github.com/song940/node-dns) — Pure JavaScript with no dependencies. 

Liu Song   

[tinyws: Tiny WebSocket Middleware for Node](https://github.com/talentlessguy/tinyws) 
v 1 r t l   

[geoyaml: Write or Parse GeoJSON as YAML](https://github.com/louh/geoyaml) 
Lou Huang     

🛠 OTHER UPDATED PACKAGES TO CHECK OUT   

- [WebdriverIO 7.6.0](https://github.com/webdriverio/webdriverio) – Browser and mobile automation test framework.
- [zx 1.8.0](https://github.com/google/zx) – Write better scripts with Node.
- [lowdb 2.0.0](https://github.com/typicode/lowdb/releases/tag/v2.0.0) – Tiny local JSON database for small projects.
- [amqp.node 0.8.0](https://github.com/squaremo/amqp.node) – AMQP 0-9-1 client for Node.
- [Jering.Javascript.NodeJS 6.0](https://github.com/JeringTech/Javascript.NodeJS) – Invoke Node-based JavaScript from C#.
- [better-sqlite3 7.4.0](https://github.com/JoshuaWise/better-sqlite3) – Fast and simple SQLite 3 library.     

**Got a new email?** You can [change your address here](https://nodeweekly.com/edit_subscription/*|UID|*). 

--- 

**Bored of us?** [Click here to stop getting Node Weekly](https://nodeweekly.com/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. Thanks! 

--- 

**Want to sponsor?** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter.](https://nodeweekly.com/leave/*|UID|*)
