---
title: "A ready-to-launch Node user and auth system"
publication: "Node Weekly"
issue: 388
published_at: "2021-05-13"
canonical_url: "https://nodeweekly.com/issues/388"
---

Plus Node 14 gets some Node 15/16 goodies, TypeScript 4.3 RC, and a Node Docker cheatsheet. |        

#​388 — May 13, 2021 

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

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/if1sw54uxx2otar7vx6g.jpg)](https://nodejs.org/en/blog/release/v14.17.0/)  

[Node v14.17.0 (LTS) Released](https://nodejs.org/en/blog/release/v14.17.0/) — If you want to stay on a nice, safe LTS release but still get modern features backported in when they're ready, this is for you. Here's what's new this time: 

- [Diagnostics Channel](https://nodejs.org/api/diagnostics_channel.html) support. A way to create named channels to report arbitrary message data for diagnostics purposes.
- UUID support in the crypto module.
- Experimental support for `AbortController` and `AbortSignal` and `AbortSignal` support added to numerous methods.
- Backporting of various V8 patches for Apple Silicon support. Of course, if you live on the edge with Node 16, you can walk on by. 

Node.js   [![\](https://copm.s3.amazonaws.com/168f0d47.png)](https://dashboard.redisgreen.net/nodeweekly) 

[Redis 6.2 on RedisGreen](https://dashboard.redisgreen.net/nodeweekly) — SSL encryption, key size tracking, memory mapping, online upgrades, and more. 

RedisGreen sponsor    

[zx: A Tool for Writing Better Shell Scripts](https://github.com/google/zx) — Rather than turn to Python or `bash` to throw together a shell script, stick with the Node you know and love – `zx` makes it easier with some handy functions for calling other programs, processing their output and results, changing directory, etc. 

Google   

**IN SHORT:** 

- The [first RC of TypeScript 4.3](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-rc/) is out.
- [Deno 1.10](https://deno.com/blog/v1.10) has been released and adds Web Storage API support. Being able to use `localStorage` and `sessionStorage` server-side is an interesting idea..    

[Why JWT Should Not Be Your Default for Sessions](https://evertpot.com/jwt-is-a-bad-default/) — _“My point in all this is not to discourage the use of JWT in general, but be deliberate and careful when you do. Be aware of both the security and functionality trade-offs and pitfalls.”_ 

Evert Pot   

[The Node.js Docker Cheatsheet](https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/NodeJS_Docker_Cheat_Sheet.md) — This is derived from [10 Best Practices to Containerize Node Web Apps with Docker](https://snyk.io/blog/10-best-practices-to-containerize-nodejs-web-applications-with-docker/) by Liran Tal and Yoni Goldberg but is now an official OWASP cheatsheet. 

OWASP   

[How to Implement a Simple Task Queue in Node](https://www.sitepoint.com/implement-task-queue-node-js/) — How to implement a simple queue in so as to manage the execution of long-running tasks and prevent bottlenecks. 

Craig Buckler   

[[Free Download\] Guide to Effective Feature Management](https://learn.launchdarkly.com/effective-feature-management/?utm_source=cooperpress&utm_medium=display&utm_campaign=q4-cooperpress&utm_content=ebook_oreilly_efm) — Learn feature management practices to accelerate release cycles and deploy every 6 hours, instead of every 6 weeks. 

LaunchDarkly sponsor   

▶[Have You Tried Deno Yet?](https://www.youtube.com/watch?v=4mS1yoPud1Q) — A 20-minute demonstration of [Deno](https://deno.land/), how it differs to Node, and what it’s like to use. 

Minna Niemi   

[How to Test a Function That Works with Time](https://cri.dev/posts/2021-05-06-test-javascript-nodejs-function-time-date/) 
Christian Fei   

[How to Install Node.js 16 on Ubuntu 20.04 LTS](https://joshtronic.com/2021/05/09/how-to-install-nodejs-16-on-ubuntu-2004-lts/) 
Josh Sherman   

[How to Programmatically Change a Route in Next.js](https://flaviocopes.com/nextjs-programmatically-change-route/) 
Flavio Copes     

💻 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) — Join the most energizing community for developers and work on long-term projects for Riot Games, FOX, Sony, Coinbase, and more. 
X-Team   

[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   

supported by [![Okta\](https://res.cloudinary.com/cpress/image/upload/v1602154330/de7dtktheistsfpqdem4.png)](https://developer.okta.com/?utm_campaign=newsletter_cooperpress_all_multiple_inc_dev_sponsored-section_null&utm_source=cooperpress&utm_medium=cpc)     

[a12n-server: A 'Ready-to-Launch' User and Authentication System](https://github.com/curveball/a12n-server) — A simple authentication system for developers considering building their own. Works to OAuth2 standards where applicable and supports multi-factor auth via TOTP or WebauthN / Yubikeys. 

Curveball   

[ShellJS: Portable Unix Shell Commands for Node](https://github.com/shelljs/shelljs) — I loved [Ian Langworth’s review](https://news.ycombinator.com/item?id=27099498) of this on Hacker News: _“ShellJS was a delight to use when we had to build a cross platform Electron-based (sorry) desktop application for Mac and Windows. It replaced batch and shell scripts, async operations were easy thanks to NodeJS, and the scripts were maintainable. 8/10, would use again.”_ 

ShellJS   

[Useful Tools for Parsing and Annotating PDFs in Node](https://spin.atomicobject.com/2021/05/04/tools-modifying-pdfs/) — Nothing beats an article by someone who’s just had to do the thing being covered. 

Jing Fan   

[Observability Won’t Replace Monitoring (Because It Shouldn’t)](https://go.lightstep.com/register-observability-replace-monitoring-co?utm_campaign=node&utm_source=cooper&utm_medium=Email) 

Lightstep sponsor   

[Meow 10.0: A Straightforward CLI App Helper](https://github.com/sindresorhus/meow) — You define flags, help text, and other features in a single object and it handles all the processing for you. 

Sindre Sorhus   

[node-mssql 7.0: A Microsoft SQL Server Client for Node](https://github.com/tediousjs/node-mssql) — Works cross-platform (Windows, Linux or macOS) and supports two different TDS drivers. 

Patrik Simek and contributors   

[Concurrently: Run Multiple Commands Concurrently](https://github.com/kimmobrunfeldt/concurrently) 
Kimmo Brunfeldt     

🛠 OTHER UPDATED PACKAGES TO CHECK OUT   

- [Ghost 4.5.0](https://github.com/TryGhost/Ghost) – Popular Node-based CMS.
- [pnpm 6.3.0](https://github.com/pnpm/pnpm/releases/tag/v6.3.0) – Fast, disk space efficient package manager.
- [AutoCannon 7.3.0](https://github.com/mcollina/autocannon) – HTTP/1.1 benchmarking tool inspired by `wrk`
- [Mocha 8.4.0](https://github.com/mochajs/mocha/releases/tag/v8.4.0) – Flexible test framework for Node and browser.
- [http-proxy-middleware 2.0](https://github.com/chimurai/http-proxy-middleware) – HTTP proxy middleware for Express, Connect, and others.     

**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|*)
