---
title: "TypeScript delays ES module support for Node"
publication: "Node Weekly"
issue: 412
published_at: "2021-11-04"
canonical_url: "https://nodeweekly.com/issues/412"
---

Plus Heroku's CLI framework, and Prisma 3.4.0. |        

#​412 — November 4, 2021 

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

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/nry6tc2gns8oxyqbgdo7.jpg)](https://www.honeybadger.io/blog/errors-nodejs/)   

[A Comprehensive Guide to Error Handling in Node](https://www.honeybadger.io/blog/errors-nodejs/) — Node offers up more than enough ways for errors to crop up and exceptions to be thrown – this blog post skims through some of the main areas to consider. 

Ayooluwa Isaiah (Honeybadger)   

[TypeScript Delays ESM Support for Node](https://www.infoworld.com/article/3637149/typescript-delays-esm-support-for-nodejs.html) — Version 4.5 of Microsoft’s strongly typed JavaScript has moved to [release candidate stage,](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-rc/) with new module settings to support Node.js deferred to a future release. The topic is discussed in depth in [this GitHub issue](https://github.com/microsoft/TypeScript/issues/46452). 

Paul Krill   [![\](https://copm.s3.amazonaws.com/a6da564d.png)](https://dnsimple.link/node-weekly/2021) 

[Ready for Worry-Free DNS, SSL and Domain Management?](https://dnsimple.link/node-weekly/2021) — Our easy-to-use interface has everything you need to manage & secure your domains or automate with our API. Register domains, manage & monitor DNS records, issue free Let’s Encrypt SSL certificates. Join us and transfer your first domain for free. 

DNSimple sponsor   

**QUICK BITS:** 

- **Read the source, Luke:** Matteo Collina, Node.js TSC member and creator of `undici`, recommends you ["read the source"](https://twitter.com/matteocollina/status/1455581471859744770) of whatever you're using or learning about more often.   

[How To Build an Amazon Product Scraper with Node](https://www.smashingmagazine.com/2021/10/building-amazon-product-scraper-nodejs/) — I’m not sure Amazon would _endorse_ this approach given they offer APIs for the purpose, but learning _how_ to do this sort of Web scraping is a valuable skill you can transfer to other use cases too. 

Robert Sfichi   

💬 Discussion: [How Do You Audit the Security of Software That Uses NPM Packages?](https://news.ycombinator.com/item?id=29078836) — A Hacker News discussion about ways to keep an eye on the security of external software that depends upon npm packages. 

Hacker News   

[A Deep Dive Into Serverless UI with TypeScript](https://www.smashingmagazine.com/2021/11/deep-dive-into-serverless-ui-typescript/) — [Serverless UI](https://github.com/JakePartusch/serverlessui) is a command line tool that makes it easier to deploy Node-powered serverless apps to AWS Lambda. 

Ikeh Akinyemi   

[Designing Error Messages and a Logging Strategy in Node.js](https://blog.appsignal.com/2021/11/03/designing-error-messages-and-a-logging-strategy-in-nodejs.html) — If the error item above interested you and you want to go a little bit further, perhaps. 

Fernando Doglio   

[Building an Amazon S3 Object Difference Checker with AWS Lambda](https://aws.amazon.com/blogs/compute/building-a-difference-checker-with-amazon-s3-and-aws-lambda/) — The idea is that a Lambda function can log the differences between versions of an object/file uploaded to S3. 

James Beswick   

👾 [How to Fix `'Unable to Load Node-API Library'` with Cypress on macOS](https://spin.atomicobject.com/2021/11/01/fixing-unable-load-node-api-library/) — This is a bit of a specific problem, but one that can cause some serious head scratching if you run into it. 

Patrick Bacon   

[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   

[How to Handle File Uploads from Node.js to Express](https://www.twilio.com/blog/handle-file-uploads-node-express) — Learn how to upload files by posting multipart/form-data from Node.js to Express with the help of the FormData and Multer libraries. 

Ashley Boucher (Twilio)   

[Consuming Pino Logs with Red Hat OpenShift's Logging System](https://developers.redhat.com/articles/2021/10/28/consume-pino-logs-nodejs-applications) — Separate from OpenShift, [Pino](https://github.com/pinojs/pino) is popular, general purpose JSON-oriented logger for Node. 

Ash Cripps (Red Hat)   

[Bundling Your Express App with `esbuild`](https://devtails.medium.com/bundling-your-node-js-express-app-with-esbuild-5aecc36c5047) 
Adam Berg    

💻 Jobs  

[Remote Senior Backend Engineer](https://apply.workable.com/qatalog/j/E2F01059EB/) — Come and help us build the future of work. We're a friendly team working on hard problems. Node, Hapi, Postgres, Elastic, Redis. 
Qatalog   

[Calling all Sr Backend Developers 👾](https://snowball.digital/careers/senior-backend-developer) — Does NodeJS, GraphQL, AWS, TDD, Docker or Terraform tickle your fancy? Join our growing team! Remote/Skien/Oslo – your choice. 
Snowball Digital   

[Find Tech 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=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired     

🛠 Code & Tools  

[Oclif: Heroku's Open CLI Framework for Node](https://oclif.io/) — A mature 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 heavily used CLI tools. [GitHub repo](https://github.com/oclif/oclif). 

Heroku   

[Prisma 3.4.0 Released: The Popular 'Next Gen' ORM and Toolset](https://github.com/prisma/prisma/releases/tag/3.4.0) — PostgreSQL 14 support is a key feature, plus support for using `orderBy` with aggregate groups in MongoDB, as well as the usual tweaks and bug fixes. 

Prisma   

[Build Video for Your Node App That Just Works](https://get.mux.com/3weppe1) 

Mux sponsor   

[p-map 5.3: Map Over Promises Concurrently](https://github.com/sindresorhus/p-map) — Different from `Promise.all()` in being able to control the concurrency or decide whether or not to stop iterating when there’s an error. 

Sindre Sorhus   

[PDFKit: A PDF Generation Library for Node and Browser](http://pdfkit.org/) — There’s an [interesting live demo](http://pdfkit.org/demo/browser.html) that runs right in the browser. [GitHub repo](https://github.com/foliojs/pdfkit). 

Devon Govett   

[node-dev 7.1: Zero-Conf Node Process Restarting](https://github.com/fgnass/node-dev) — Hooks into `require` and only reloads when required files are updated. 

Felix Gnass   

[node-dark-mode: Control the macOS Dark Mode](https://github.com/sindresorhus/node-dark-mode) 
Sindre Sorhus    

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