A ready-to-launch Node user and auth system

May 13, 2021 By Mark Otto 0

Node v14.17.0 (LTS) Released — 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 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

Redis 6.2 on RedisGreen — SSL encryption, key size tracking, memory mapping, online upgrades, and more.

RedisGreen

zx: A Tool for Writing Better Shell Scripts — 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 is out.
  • Deno 1.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“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

🛠 Code and Tools
supported by Okta

ShellJS: Portable Unix Shell Commands for Node — I loved Ian Langworth’s review 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