We're excited to announce that starting today, Deno Deploy supports importing Node.js built-in modules such as http, fs, and path. You can now run

Node.js built-ins on Deno Deploy

submited by
Style Pass
2023-05-26 14:30:11

We're excited to announce that starting today, Deno Deploy supports importing Node.js built-in modules such as http, fs, and path. You can now run existing Node.js apps at the edge.

Deno Deploy is a next-generation cloud platform built on JavaScript isolates. It runs your JavaScript, TypeScript, and WebAssembly at the edge, in our 35 global regions, close to your users. It scales automatically, from zero to thousands of requests per second. Deno Deploy comes built in with super speedy deployments from GitHub, and a global database.

Starting today, you can use Node.js built-in modules in your Deno Deploy applications. Modules such as fs, path, crypto, or http now work out of the box, enabling you to run existing Node.js apps at the edge, without hassle.

Importing of all 47 Node.js built-in modules is supported. However, as all applications running on Deno Deploy are sandboxed, some modules such as child_process do not provide any useful functionality. For a full list of supported modules and limitations, refer to the documentation: https://deno.com/deploy/docs/runtime-node

Leave a Comment