---
title: "Named exports from CommonJS modules"
publication: "Node Weekly"
issue: 358
published_at: "2020-10-01"
canonical_url: "https://nodeweekly.com/issues/358"
---

This week's Node news, links, and releases.       

#358 — October 1, 2020 

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

🥳 Today we've noticed that we've just passed 50,000 subscribers! Thanks for all of your continued support and we hope you enjoy the newsletter.  

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/v1601569583/s4e1ofofb4porkhun6ha.png)](https://blog.appsignal.com/2020/09/30/exploring-nodejs-async-hooks.html)   

[Exploring Node.js Async Hooks](https://blog.appsignal.com/2020/09/30/exploring-nodejs-async-hooks.html) — Hooks aren’t just for React 😉 [Async hooks](https://nodejs.org/dist/latest-v13.x/docs/api/async_hooks.html) provide a way to track asynchronous resources and Diogo shows off some examples of where they can fit into your code. 

Diogo Souza   

[Node v14.13.0 (Current) Released](https://nodejs.org/en/blog/release/v14.13.0/) — A release that looks basic on the surface, with libuv updated to v1.40.0 and support added for [an export patterns scheme](https://gist.github.com/guybedford/4cb418f93ef51f81343d711bbcd80dd5) with wildcards (e.g. `*/*.js`), but a super neat feature is support for [named imports/exports with CommonJS modules!](https://twitter.com/MylesBorins/status/1311026345602887682) 

Myles Borins   [![\](https://copm.s3.amazonaws.com/0708aef6.png)](https://blog.appsignal.com/2020/09/21/adding-diagnose-tool-to-appsignal-for-nodejs.html?utm_source=node-weekly-sponsored&utm_medium=email&utm_campaign=diagnose-node&utm_content=primary) 

[The Diagnose: How Support Works at AppSignal](https://blog.appsignal.com/2020/09/21/adding-diagnose-tool-to-appsignal-for-nodejs.html?utm_source=node-weekly-sponsored&utm_medium=email&utm_campaign=diagnose-node&utm_content=primary) — Developer experience is really important to us, as AppSignal started as a way to scratch our itch. We also put a lot of effort in providing you with a first-class support. In fact, our developers are the ones answering all of your questions. 

AppSignal sponsor   

[SuperTest 5.0: Super-Agent Driven Library for Testing Node HTTP Servers](https://github.com/visionmedia/supertest) — A very long standing and mature library for making assertions about HTTP servers using a fluent API. For example, things like: `request(app).get('/user').expect('Content-Type', /json/)` 

Sloth   

[V8 Release 8.6](https://v8.dev/blog/v8-release-86) — The latest version of the V8 JavaScript engine is now in beta until its eventual release with Chrome 86 and a future version of Node. The codebase is now [more respectful](https://v8.dev/docs/respectful-code), there are speedups in `Number.prototype.toString`, and a JavaScript fuzzer called [js-fuzzer](https://chromium-review.googlesource.com/c/v8/v8/+/2320330) has been open sourced. 

Ingvar Stepanyan (V8 Team)   

[Fastify 3.5.0: The Fast and Low Overhead Web Framework](https://github.com/fastify/fastify) — Matteo Collina spoke about how to get started with Fastify and why you might use it instead of Express [in this podcast episode](https://realtalkjavascript.simplecast.com/episodes/episode-96-expressway-to-fastify-with-matteo-collina) last month. 

Fastify  

💻 **Jobs**  

[Node.js Developer at X-Team (Remote)](https://x-team.com/join/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=node) — Join the most energizing community for developers and work on projects for Riot Games, FOX, Sony, Coinbase, and more. 

X-Team   

[Find a Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-nodeweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-88879) — Create a profile on Vettery to connect with hiring managers at startups and Fortune 500 companies. It's free for job-seekers. 

Vettery  

🧑‍💻 Interested in running a job listing in this newsletter? _There's [more info here](https://booking.cooperpress.com/jobs)_. 

📗 **Tutorials and Stories**  

[5 TILs about Node Fundamentals from the _Node Design Patterns_Book](https://www.swyx.io/til-node-fundamentals-design-patterns-book/) — Notes made during a read through of _[Node.js Design Patterns](https://www.nodejsdesignpatterns.com/)_ from Packt. 

Shawn 'swyx' Wang   

[Building a Node App with CockroachDB and Sequelize](https://www.cockroachlabs.com/docs/stable/build-a-nodejs-app-with-cockroachdb-sequelize.html) — CockroachDB is an open source distributed SQL database aimed at resilience and its creators consider the Node ORM [Sequelize](https://sequelize.readthedocs.io/en/v3/) to have ‘beta level’ support for it. 

Cockroach Labs   

[Scout APM: Pinpoint & Fix Performance Issues Fast. Start Now for Free](https://ter.li/4ebvkc) — Scout's intuitive UI streamlines real-time performance insight so you can spend less time debugging, more time building. 

Scout APM sponsor   

[Getting Started with Eleventy, the Static Site Generator](https://www.sitepoint.com/getting-started-with-eleventy/) — [11ty](https://www.11ty.dev/) (a.k.a. Eleventy) is a Node-powered static site generator that may interest you if you want to keep things really simple. 

Craig Buckler   

[How to Fix Postgres Performance Issues with PG Extras](https://pawelurbanek.com/postgresql-fix-performance) — An introduction to a tool you can use to spot Postgres related issues in Node, Elixir and Ruby contexts. [node-postgres-extras](https://github.com/pawurb/node-postgres-extras) is the repo you want. 

Paweł Urbanek  

🛠 **Tools, Resources and Libraries**  

[twitter-api-client: Node Client Library for the Twitter API](https://github.com/Silind/twitter-api-client) — An unofficial library but using the official Twitter API, of course. The benefits here? It’s promise-based and fully typed. 

Simon LH   

[DashDash: A Light and Explicit CLI Option Parsing Library](https://github.com/trentm/node-dashdash) — I like the creator’s justification: _“The others I’ve tried are one of too loosey goosey (not explicit), too big/too many deps, or ill specified. YMMV.”_ 

Trent Mick   

[npm v7.0.0 Beta 13 Released](https://blog.npmjs.org/post/630626899467583488/release-v700-beta13) — Adds support for `--fetch-timeout` to customize the timeout for fetching resources (by default, supposedly zero in npm 6 but to be 5 minutes in npm 7). 

The npm Blog   

[Build Code and Ship In App Messaging in a Few Hours](https://getstream.io/chat/react-chat/tutorial/?utm_campaign=react_status&utm_medium=promoted_newsletter&utm_source=nodeweekly_promoted) 

Stream sponsor   

[pm2 4.5 Released: The Node Production Process Manager](https://github.com/Unitech/pm2) — A _very_ mature and widely used process manager that includes a load balancer for keeping Node apps alive forever – pm2 continues to remain a fundamental part of the Node ecosystem. 

Alexandre Strzelewicz   

[node-poppler: Asynchronous Wrapper for the Poppler PDF Rendering Library](https://github.com/Fdawgs/node-poppler) — [Poppler](https://poppler.freedesktop.org/) is a PDF rendering library based on xpdf. Windows and macOS binaries come with this repo but Linux users will have a little more work to do. 

Frazer Smith       

🏆 Golden Oldie of the Week       

Whenever someone mentions this on Twitter, it still gets lots of likes and rewteets so there's clearly plenty of people who either haven't seen it or want to remember it exists 😂 Just remember to give it a try when you're feeling a bit short of disk space.. 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/iysebczz5cchilatyfyx.jpg)](https://github.com/voidcosmos/npkill)   

[npkill: Easily Remove Old or Heavy `node_modules` Folders](https://npkill.js.org/) — List any node_modules directories in your system, as well as the space they take up. You can then select which ones you want to erase to free up space. [GitHub repo.](https://github.com/voidcosmos/npkill) 

Nya García and Juan Torres           

Curated by [Cooperpress](https://cooperpress.com/) and [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://nodeweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://nodeweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
