---
title: "Catching the Express to Fastify?"
publication: "Node Weekly"
issue: 382
published_at: "2021-04-01"
canonical_url: "https://nodeweekly.com/issues/382"
---

Plus Node 15.13.0 released. |        

#382 — April 1, 2021 

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

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/lw6jqylyo0qmpspgl6n3.jpg)](https://www.sitepoint.com/express-to-fastify-migrate/)   

[How to Migrate Your App from Express to Fastify](https://www.sitepoint.com/express-to-fastify-migrate/) — Simon Plenderleith demonstrates what makes Fastify a great alternative, and how to migrate an existing Node.js app from Express to Fastify. It must be the week for it, too, as Pawel Grzybek has written about [the process of moving from Express to Fastify](https://pawelgrzybek.com/from-express-to-fastify-in-node-js/) too, focused more on the _why_. 

Simon Plenderleith   

[April 2021 Security Releases Coming Next Week](https://nodejs.org/en/blog/vulnerability/april-2021-security-releases/) — It’s time to get ready for more imminent security releases, this time to cover three ‘high’ severity issues in the 14.x, 12.x, and 10.x lines, and two high severity issues in 15.x. The releases are due on or shortly after next Tuesday and we’ll cover them in the next issue. 

Daniel Bevenius   [![\](https://copm.s3.amazonaws.com/90d46804.jpg)](https://event.on24.com/wcc/r/3097030/ED02206B83338E98DFE6867EF2849468?partnerref=CooperpressNodeWeekly) 

[How to Model JSON to Get the Most Out of Your Document Database](https://event.on24.com/wcc/r/3097030/ED02206B83338E98DFE6867EF2849468?partnerref=CooperpressNodeWeekly) — Thinking about using a document database for your next project? The flexible data model is a major plus, but having so many options can be intimidating at first. This free virtual event will help you make all the right choices. [Register here](https://event.on24.com/wcc/r/3097030/ED02206B83338E98DFE6867EF2849468?partnerref=CooperpressNodeWeekly). 

Couchbase sponsor   

[Middy 2.0: Node Middleware Engine for AWS Lambda](https://middy.js.org/) — A popular way to simplify your code when building Node-powered serverless functions on AWS Lambda (think something like Express, but for this use case). The [2.0.0 release](https://github.com/middyjs/middy/releases/tag/2.0.0) introduces some [breaking changes](https://github.com/middyjs/middy/blob/2.0.0/docs/UPGRADE.md) (no more Node 10.x support), deprecates or refactors certain middleware, and adds new middleware for working with CloudWatch and S3 object responses. 

Luciano Mammino   

[Node v15.13.0 (Current) Released](https://nodejs.org/en/blog/release/v15.13.0/) — npm updated to 7.7.6 (which adds workspaces support to `npm run` and `npm exec`) and interesting to see `btoa` and `atob` implemented on `buffer`. 

Ruy Adorno   

[Node v12.22.0 (LTS) Released](https://nodejs.org/en/blog/release/v12.22.0/) — A handful of backports and fixes to the older LTS release with ES modules now stable, the legacy HTTP parser is deprecated, and an update to node-api 8. 

Richard Lau  

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

📗 **Tutorials and Stories**  

[A Deep Dive into the Eleventy Static Site Generator](https://www.smashingmagazine.com/2021/03/eleventy-static-site-generator/) — [Eleventy](https://www.11ty.dev/) (also known as 11ty) is an increasingly popular Node.js-based static site generator. 

Smashing Magazine   

[Examples of Go(lang) Compared to Node.js](https://github.com/miguelmota/golang-for-nodejs-developers) — If you know Node and want to know Go, this Rosetta Stone (of sorts) may be of use to you. And if you ever _go_ Go-side, we [have a Go newsletter too!](https://golangweekly.com/) :-) 

Miguel Mota   

[How the Popular `netmask` Package Was Vunerable to Octal Input Data](https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918/) — An interesting look at how a package used by thousands of other projects was vulnerable to IP addresses notated in octal. This is the sort of edge case you want to be aware of when building similar IP validation systems. 

Sick Codes   

[Video: Configure NGINX as a Reverse Proxy with Node.js](http://go.thoughtleaders.io/2118920210401) — Use NGINX as a reverse proxy to add a number of advanced load balancing, security, and acceleration features to Node.js. 

Linode sponsor   

[Managing Multiple Threads In Node](https://dev.to/johnjardincodes/managing-multiple-threads-in-node-js-3mpc) — A look at how to potentially triple your Node app’s performance by managing multiple threads. There’s a video version of the post available too. 

John Jardin   

[How To Deploy Your Node App on AWS with NGINX and SSL](https://dev.to/shadid12/how-to-deploy-your-node-js-app-on-aws-with-nginx-and-ssl-3p5l) — Basic bread and butter stuff if you want to use AWS manually. 

Shadid Haque   

[What's New in Mongoose 5.12: Populate Transform](http://thecodebarbarian.com/whats-new-in-mongoose-5-12-populate-transform.html) — MongoDB and Mongoose user? This is for you. Mongoose has added a feature that lets you register a function that Mongoose will call on every populated document, giving more fine-grained control over what the results of `populate()` look like. 

Valeri Karpov     

🛠 Code and Tools      

[eslint-plugin-clean-regex: ESLint Plugin for Better Regular Expressions](https://github.com/RunDevelopment/eslint-plugin-clean-regex) — Catches things like redundant or non-functional patterns and can optimize character classes. 

Michael Schmidt   

[Faker.js 5.5: Generate Realistic Fake Data in Node and Browser](https://github.com/Marak/Faker.js) — _‘No more free work’_ said the maintainer of Faker.js last year, but happily he’s back maintaining this library, has received [some support](https://github.com/Marak/faker.js/issues/1046#issuecomment-761119112), _and_ he has [a (paid) API service](https://fakercloud.com/api) to help keep the lights on. 

Marak Squires   

[Husky 6.0: Git Hooks Made Easier](https://github.com/typicode/husky) — [v6.0](https://github.com/typicode/husky/releases/tag/v6.0.0) returns the project to a MIT license (it was briefly for sponsors only, to help fund the project). It now has no dependencies, is more lightweight, adheres more to the Git philosophy, and plays better with npm 7 and Yarn 2. 

Typicode et al.   

[See Your Microservices, Build Your Node.js Apps Faster](https://epsagon.com/nodejs-ts/?utm_source=advertisement&utm_medium=cooperpress&utm_campaign=Nodeweekly) 

Epsagon sponsor   

[Node Redis 3.1.0: A High Performance Redis Client Library](https://github.com/NodeRedis/node-redis) — Improves Redis 6 support. 

Node Redis   

[Prray: A 'Promisified' Array](https://github.com/Bin-Huang/prray) — A last minute submission from a reader (hi Ben!) that claims to be API compatible with the usual Array class but offers async versions of native methods like map and filter. 

Ben Huang   

[Worker 0.10.0: A High Performance Node + Postgres Job Queue](https://github.com/graphile/worker) — If you’re using Postgres and you want to run background jobs from your Node app (including jobs generated by Postgres triggers or functions), this is one solution. 

Graphile    

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