---
title: "Using Rust to build Node modules"
publication: "Node Weekly"
issue: 448
published_at: "2022-07-28"
canonical_url: "https://nodeweekly.com/issues/448"
---

Plus Node 18.7.0, getting noisy with Node, and the Bun vs Node comparisons are back. |        

#​448 — July 28, 2022 

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

![Node.js Weekly](https://res.cloudinary.com/cpress/image/upload/v1653576619/lgfqinzbdqttwmhvljxb.png) 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/owdhbfzkqv67lqkqpylm.jpg)](https://github.blog/2022-07-26-introducing-even-more-security-enhancements-to-npm/)  

[Introducing _Even More_ Security Enhancements to npm](https://github.blog/2022-07-26-introducing-even-more-security-enhancements-to-npm/) — GitHub continues to up npm’s security game with enhancements that affect most of us in some way or another. There’s a streamlined login and publishing experience with the npm CLI, you can connect your GitHub and Twitter accounts to your npm one, and there’s a new npm command (`npm audit signatures`) to verify the integrity of packages in npm (all of which have been re-signed). 

Myles Borins and Monish Mohan (GitHub)   [![\](https://copm.s3.amazonaws.com/3adc1f91.jpg)](https://frontendmasters.com/courses/fullstack-app-next/?utm_source=nodeweekly&utm_medium=email&utm_content=fullstack) 

[Build a Fullstack App from Scratch](https://frontendmasters.com/courses/fullstack-app-next/?utm_source=nodeweekly&utm_medium=email&utm_content=fullstack) — Join Scott Moss for this detailed video course on building a fully featured app using a modern stack (React, Next.js, TypeScript, Postgres). You'll cover UI, data modeling, authentication, state management, deployment, testing, and more. 

Frontend Masters sponsor   

[Creating ESM-Based Shell Scripts for Unix and Windows](https://2ality.com/2022/07/nodejs-esm-shell-scripts.html) — This is not as easy as you’d hope! But luckily Dr. Axel has figured out most of the intricacies of creating modern shell scripts with Node and packed it all into this factually dense post. 

Dr. Axel Rauschmayer   

[Using Rust for Writing Node Modules](https://blog.techfund.jp/p/using-rust-for-writing-nodejs-modules/) — Soon it’s going to be difficult to find anywhere that the Rust language _isn’t_! This post boils down creating a Rust-powered extension to the absolute essentials as a springboard to further experiments. [NAPI-RS](https://napi.rs/) is another option this space if you want to write as little boilerplate as possible. 

TechFund   

[Deeper Testing of Bun's Performance and Compatibility Against Node](https://techsparx.com/nodejs/bun/speed-test.html) — Last week we linked to David’s initial [Node vs Bun comparison](https://techsparx.com/nodejs/bun/1st-trial.html) but had to quickly retract it as there was [a rather big flaw](https://mobile.twitter.com/jarredsumner/status/1549790511422062592) in the testing. Happily, David is back with _“some more carefully constructed performance tests”_ that digs deeper and shows that while Bun’s Node.js compatibility still isn’t _really_ there, it’s early days and there’s a lot of promise. _“Bottom line is that Bun will succeed if the Node.js community pitches in.”_ 

David Herron   

[Debug Node Apps in Production Without Stopping Them](https://www.rookout.com/lp-nodejs?utm_campaign=node&utm_source=Go&utm_medium=NL) 

Rookout sponsor   

[Node v18.7.0 (Current) Released](https://nodejs.org/en/blog/release/v18.7.0/) — A minor release. npm and Undici get version bumps. `http` now sends a `dropRequest` event when requests are dropped due to hitting `server.maxRequestsPerSocket`. `util.parseArgs` continues to [get some enhancements.](https://github.com/nodejs/node/pull/43459) It’s all quite bitesize stuff, but progress nonetheless. 

Danielle Adams (Node.js)   

[How to Use Node.js Modules in Deno](https://reflect.run/articles/how-to-use-node-modules-in-deno/) 
Ekekenta Clinton   

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/kzzyuymejqqqbdhhr2kb.jpg)](https://github.com/jwagner/simplex-noise.js)  

[simplex-noise.js 4.0: A Fast Simplex Noise Implementation](https://github.com/jwagner/simplex-noise.js) — Small, self contained, and fast, and you can use it in [cool demos like this](https://29a.ch/sandbox/2022/simplex-noise-synthwave/) or for applying convincing grain/noise to images or other data, say. 

Jonas Wagner   

[serverless-bundle 5.4: Optimized Packages for Config-Free ES6 and TypeScript Node.js Lambda Functions](https://github.com/AnomalyInnovations/serverless-bundle) — _Serverless Framework_ plugin that optimally packages ES6 or TypeScript Node.js Lambda functions with sensible defaults. 

Anomaly Innovations   

[Malicious Node.js Packages: Configuration Niche + Invisible Characters](https://snyk.io/blog/visibly-invisible-malicious-node-js-packages-when-configuration-niche-meets-invisible-characters/?utm_campaign=AOM-2022&utm_medium=Paid-Email&utm_source=Cooperpress-Node-Weekly&utm_content=visibly-invisible-malicious-node-js-packages-when-configuration-niche-meets-invisible-characters) 

Snyk.io sponsor   

[article-parser 7.0: Node Library to Extract Articles from Web Pages](https://github.com/ndaidong/article-parser) — Give this a URL and if you’re lucky you’ll get some useful data back. [Live demo.](https://demos.pwshub.com/article-parser) Mozilla’s [Readability](https://github.com/mozilla/readability) is used under the hood to make it work. 

Dong Nguyen   

[ejs-static-converter: Convert EJS-Based Node Apps to Static HTML Sites](https://www.npmjs.com/package/ejs-static-converter) — _“useful for converting apps or websites that were made with node and ejs for easier development but don’t require any server-side code into static HTML.”_ 

Thomas Hamilton-Smith   

**QUICK RELEASES:** 

[Jasmine 4.3](https://github.com/jasmine/jasmine) – Popular JavaScript testing framework.
 [Ghost 5.5](https://github.com/TryGhost/Ghost) – Blog and CMS platform.
 [pnpm 7.6](https://github.com/pnpm/pnpm) – Efficient alternative package manager.
 [Fastify 4.3](https://github.com/fastify/fastify) – The low overhead web framework.
 [Strapi 4.3](https://github.com/strapi/strapi) – Popular Node.js headless CMS.
 [node-acme-client 5.0](https://github.com/publishlab/node-acme-client) – Simple, unopinionated ACME client.
 [Got 12.2](https://github.com/sindresorhus/got) – Human-friendly HTTP request library.     

💻 Jobs  

[Software Engineers](https://www.stickermule.com/careers) — Sticker Mule is the Internet's most "kick ass" brand. Our software team operates from 17 countries, and we're always looking for more exceptional engineers. 
Sticker mule   

[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      

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. _Thanks!_ 

--- 

**Got a new address?** You can [change your email here](https://nodeweekly.com/edit_subscription/*|UID|*). 

--- 

**Want to stop this email?** [Click here to say goodbye.](https://nodeweekly.com/leave/*|UID|*). 

--- 

**Want even more newsletters?** Perhaps check out [JavaScript Weekly](https://javascriptweekly.com/), [React Status](https://react.statuscode.com/) or [Frontend Focus](https://frontendfoc.us) as well :-) 

--- 

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