deno VS esbuild

Compare deno vs esbuild and see what are their differences.


A modern runtime for JavaScript and TypeScript. (by denoland)


An extremely fast JavaScript and CSS bundler and minifier (by evanw)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
deno esbuild
165 173
79,962 30,017
1.0% -
9.9 9.8
about 14 hours ago 5 days ago
Rust Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of deno. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-19.
  • An Introduction to TypeScript
    4 projects | | 19 Jan 2022
    2. Runs anywhere where JavaScript does: TypeScript code converts to JavaScript which can then be run in a browser, on Node.js or Deno, and in your apps.
  • Some ways DNS can break
    5 projects | | 17 Jan 2022
    One recent frustration I ran into with Node's DNS is that it doesn't seem to resolve whatever.localhost to, unlike my browser.

    Not entirely sure which is doing the right thing by the spec here, but I much prefer the browser behavior, because I would really like to not have to add a hosts entry for everything I reverse proxy from Caddy for doing local HTTPS/HTTP2 development, for production parity.

    Oh, and I also found out that Node also isn't able to use the system-wide certs store (which local HTTPS in Caddy adds to) [1], so in the end even adding a hosts entry didn't work, and I had to revert to plaintext HTTP1. Deno is looking more attractive every day [2].

    Really curious to hear how other folks are doing local HTTPS/HTTP2 setups in node these days.



  • How to code live browser refresh in Deno
    1 project | | 15 Jan 2022
    import { serve } from ""; import { dirname, fromFileUrl, join, } from ""; import { refresh } from "./mod.ts"; // Create useful file path variable for our code. const __dirname = fromFileUrl(dirname(import.meta.url)); const clientFilePath = join(__dirname, "./client.js"); const indexFilePath = join(__dirname, "./index.html"); // Construct the refresh middleware. const refreshMiddleware = refresh(); // Start a server on port `8000`. serve((req: Request) => { // Handle custom refresh middleware requests. const res = refreshMiddleware(req); if (res) { return res; } // Handle requests for the client-side refresh code. if (req.url.endsWith("client.js")) { const client = Deno.readTextFileSync(clientFilePath); return new Response(client, { headers: { "Content-Type": "application/javascript" } }); } // Handle requests for the page's HTML. const index = Deno.readTextFileSync(indexFilePath); return new Response(index, { headers: { "Content-Type": "text/html" } }); }); console.log("Listening on http://localhost:8000");
  • I don't understand the "advantage' of importing by URL in the source code.
    1 project | | 14 Jan 2022
  • State of the Web: Deno
    3 projects | | 9 Jan 2022
    Deno’s permission system is broken, you shouldn’t rely on it. Deno developers consistently ignore security issues, high priority bugs take months to fix.

    API-based access control can’t possibly work because it’s nearly impossible to predict the effect of any single permission. For example, “permission to run specific command” makes no sense without checking the integrity of the binary, controlling the environment for LD_PRELOAD-like hacks and evaluating the code of this command for possible escape hatches. If you want to isolate a program, you need to do it on the OS level.

    2 projects | | 9 Jan 2022
    Deno is a modern JavaScript runtime, competing with Node.js, that promises features like secure I/O and built-in TypeScript support. Ryan Dahl, Node.js' original creator, created Deno, building it in Rust.
  • Ask HN: Who is hiring? (January 2022)
    28 projects | | 3 Jan 2022
    Deno Land Inc. | Head of Growth | Remote | Full-time | |

    Deno Land is a startup founded by creators of Node.js, the runtime used by millions of developers that laid the foundations for the modern web. We are continuing to innovate with our new runtime called Deno, which is already one of the most popular projects on GitHub [1].

    By repurposing web browser technology for the server software, we aim to accelarate a new generation of extreme low-latency edge applications. Our nascent commercial product [2] is cloud service for hosting software built with Deno; it is one of just a couple implementations of serverless at edge in existence. Our software is being used across the industry by companies like Slack.

    Head of Growth:

    Apply at [email protected]


  • How good is typescript as a backend language?
    2 projects | | 31 Dec 2021
    There's already such a system: Deno
  • Zsh Plugins Commit TOP
    102 projects | | 25 Dec 2021
    zeno 🥇 ⏰ 🏃‍♂️ - Fuzzy completion and utility plugin powered by Deno.
  • Announcing js-macros: Quickly prototype Rust procedural macros using JavaScript or TypeScript!
    2 projects | | 21 Dec 2021
    BTW, are you aware of Deno?


Posts with mentions or reviews of esbuild. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-25.
  • I’m Porting the TypeScript Type Checker Tsc to Go
    6 projects | | 25 Jan 2022
    Given that ESBuild [0] is a way better replacement for Webpack already (and similarly written in Go) I can see how we could pretty soon have an entire toolchain written in Go for dealing with compiling JS.

    Hopefully the whole toolchain will be embeddable, too. Being able to do configuration-in-code and produce an executable that does the whole build step in milliseconds would be cool.


  • How to Use Source Maps in TypeScript Lambda Functions (with Benchmarks)
    11 projects | | 24 Jan 2022
    Emitting Source Maps is very easy with esbuild. We simply set the boolean property in our configuration. Now when we run the build, we'll get an file as well as our index.js. This file must be uploaded to the Lambda service. We'll see how to do that with AWS CDK, AWS SAM and the Serverless Framework a bit later in this article.
  • State of the Web: Bundlers & Build Tools
    17 projects | | 23 Jan 2022
    Another way that many people are trying to speed up bundling and code transformation is through using more optimized languages like Go or Rust. Currently, the two most notable tools that do this are esbuild and SWC. esbuild was created by Evan Wallace in 2016 using Go. esbuild performed the role of Babel in transforming modern JavaScript, the TypeScript compiler, Terser, and basic bundling all in one package that was significantly faster than any other tools at that time. SWC was created in 2017 by kdy1 using Rust. SWC is even faster than esbuild, although only marginally. esbuild is currently more popular than SWC and is used by projects like Vite, although Deno and Next.js have adopted SWC.
  • Modern Webapps with React, Phoenix, Elixir and TypeScript
    8 projects | | 21 Jan 2022
    For our React frontend, I've chosen Vite to handle all the tooling for me. It has got all the sane defaults I need for a TypeScript project with React, plus it uses ESBuild which gives us blazing fast feedback during development.
  • TypeScript Features to Avoid
    9 projects | | 20 Jan 2022
    I've just looked this up and it seems to support `const enum` just fine[0]. I remember Babel not being able to process `const enum`, since it goes across module boundaries and Babel does not.


  • [PT-BR] Usando esbuild com Typescript
    2 projects | | 19 Jan 2022
    PS C:\Users\Em1dio> esbuild Usage: esbuild [options] [entry points] Documentation: Repository: ...
  • Getting errors with TypeORM and SvelteKit — any ideas?
    2 projects | | 10 Jan 2022
    Your repo is missing /src/lib/User.ts indicates that annotation based TypeORM is not going to work in ESBuild
  • First Look at Lambda Powertools TypeScript
    11 projects | | 10 Jan 2022
    Decorators and TypeScript aren't supported out of the box in Lambda (without using deno) so we'll also need a transpilation step if we go this route. Fortunately this is a mostly solved problem for AWS CDK, AWS SAM and Serverless Framework users. If you want or need to roll your own, esbuild is a great place to start and seems to be the bundler of choice for this purpose.
  • Package your NodeJS Lambda functions individually with esbuild for faster cold-start times
    7 projects | | 4 Jan 2022
    esbuild is a newer bundler built in Go, which is gaining considerable popularity for its speedy execution time and simple configuration, as well as removing the need for Babel with its native TypeScript support. However, it should be noted it has less features and is less mature than webpack (and probably always will because it is deliberately targeting a reduced feature set).
  • Predicciones 🧞‍♀️💻 2022
    3 projects | | 4 Jan 2022

What are some alternatives?

When comparing deno and esbuild you can also consider the following projects:

swc - Rust-based platform for the Web

Rollup - Next-generation ES module bundler

webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

vite - Next generation frontend tooling. It's fast!

parcel - The zero configuration build tool for the web. 📦🚀

Tailwind CSS - A utility-first CSS framework for rapid UI development.

Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️

PostCSS - Transforming styles with JS plugins

import-maps - How to control the behavior of JavaScript imports

svgr - Transform SVGs into React components 🦁

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

terser - 🗜 JavaScript parser, mangler and compressor toolkit for ES6+