#371 — January 14, 2021

Read on the Web

Node Weekly

Get Ready For ESM — ES modules are rapidly becoming a day to day reality for Node.js package maintainers, so spare a thought for Sindre who has about 20 million packages (slight exaggeration!) to his name. Sindre shares some basics on why it’s important, the benefits, and what his plans are.

Sindre Sorhus

Ten Best Practices to Containerize Node Web Apps with Docker — Production-grade guidelines for building optimized and secure Node-based Docker images whether for microservices, server-side rendering, or stand alone apps.

Liran Tal and Yoni Goldberg

Simplify Ecommerce App Development with Node.js + Square 💚 — The Square Node.js SDK with TypeScript support makes it easy to build ecommerce apps in Node.js. Start taking payments, manage a product catalog, organize employees, track orders, and more with Square’s APIs. Give it a try in our API explorer.

Square sponsor

Amplication: Create Node Applications, Without Coding? — The bold promise is to be able to build a ‘fully functional Node server-side app’ complete with data models and a React-based client in under 5 minutes. There’s an example of the end result here and some Hacker News discussion too.

Yuval Hazaz

Announcing TypeScript 4.2 Beta — What’s new? Leading/middle rest elements in tuple types (e.g.

let bar: [boolean, ...string[], boolean]

), smarter type alias preservation, stricter checks for the


operator, and more.

Daniel Rosenwasser (Microsoft)

👋  RIP: The Official npm.js Blog — The official npm.js blog has been soldiering on despite npm Inc. being acquired by GitHub, but finally the time has come to move release news to the official GitHub blog. End of an era after 7 years and 373 posts!

npm Inc. and GitHub

💻 Jobs

Node.js Developer at X-Team (Remote) — Join the most energizing community for developers and work on projects for Riot Games, FOX, Sony, Coinbase, and more.


Find Your Next Job Through Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.


📗 Tutorials and Stories

Use Node.js with Docker and Docker Compose for a Better Developer Experience — You can bring Node and Docker together to create a more seamless local development environment as demonstrated here.

Geshan Manandhar

Serverless Nest.js Micro-Services and Integrations without HTTP — You’ve got a Node app, you want to take it serverless.. you use API Gateway and have your Node app spin up an HTTP server and work through that, right? Nope, there’s a more direct way to do it.

Sebastian Schlecht

A Basic Introduction to Server Sent Events — Learn how to use server sent events (SSE) to build unidirectional communication channel between clients and server for real-time apps.

Abhishek Mehandiratta

How Do Top Developers Deliver Video? Download the 2020/21 Video Report — A handy lens into the minds of video developers as it reveals the market’s biggest challenges and the future of video.

Bitmovin Inc. sponsor

Creating a CRUD API with Node, Sequelize, Postgres and Docker — One of those ‘let’s bring together a variety of ideas’ tutorials.

Francesco Ciulla

User-Friendly Logging with TypeScript and Node — Writing comprehensive logging using text styling and emojis.

Nuno Brites

🛠 Code and Tools

supported by

Backslide: A CLI Tool for Making HTML Presentations with Remark.js — Want to make presentation slides with Markdown and Sass, complete with a live preview server and PDF conversion? Check this out. There’s an example presentation here.

Yohan Lasorsa

ow: Function Argument Validation for Humans — A fluent API to define constraints for function arguments (e.g.

ow(input, ow.string.minLength(5))

) and get nice error messages if those validations fail.

Sindre Sorhus

Trio: Simple Static Site Generation — An ‘almost’ zero-config tool that doesn’t require frameworks or templating languages (you ‘decorate’ your HTML instead – e.g.). It caches every project asset per build, and only generates stale assets when building incrementally, dramatically reducing build times.

Jeffrey Schwartz

Keystone: A Node CMS and Webapp Framework — A headless CMS built with GraphQL and React. GitHub repo.


Video for Your Node App That Streams Beautifully, Everywhere

Mux sponsor

qs: A Query String Parser with Nesting Support — Where ‘query string’ means the string of names and values you might find on the end of a URL.

Jordan Harband

Turf.js: Geospatial Analysis for Browsers and Node.js — A collection of modules for doing spatial analysis, working with GeoJSON data, data classification, and more. GitHub repo.

Morgan Herlocker

CodeceptJS: ‘Supercharged’ End-to-End Testing Framework for Node


Aedes: A Barebone MQTT Broker That Can Run on any Stream Server, The Node Way

Matteo Collina and Contributors


Leave a Reply

Your email address will not be published. Required fields are marked *