deno VS

Compare deno vs and see what are their differences.


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

A fast, smart, & global CDN for modern(es2015+) web development. (by esm-dev)
Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
429 46
90,874 2,310
0.7% 4.3%
8.9 9.4
3 days ago 13 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 2023-09-16.

Posts with mentions or reviews of We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-01.
  • Deno Fresh SVG Sprites: Optimized Icons
    2 projects | | 1 Aug 2023
    { "lock": false, "tasks": { "start": "deno run -A --watch=static/,routes/ dev.ts", "update": "deno run -A -r .", "minify": "deno run --allow-env=DENO_ENV --allow-read --allow-run --allow-write minify-svg-sprite.ts" }, "imports": { "@/": "./", "$fresh/": "[email protected]/", "preact": "[email protected]", "preact/": "[email protected]/", "preact-render-to-string": "*[email protected]", "@preact/signals": "*@preact/[email protected]", "@preact/signals-core": "*@preact/[email protected]", "$std/": "[email protected]/", "svgo": "[email protected]/" }, "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" } }
  • Testing Supabase Edge Functions with Deno Test
    3 projects | | 11 Jul 2023
    // deno-test.ts // Import necessary libraries and modules import { assert, assertExists, assertEquals, } from "[email protected]/testing/asserts.ts"; import { createClient, SupabaseClient, } from "[email protected]"; import { delay } from '[email protected]/mod.ts'; // Setup the Supabase client configuration const supabaseUrl = Deno.env.get("SUPABASE_URL") ?? ""; const supabaseKey = Deno.env.get("SUPABASE_ANON_KEY") ?? ""; const options = { auth: { autoRefreshToken: false, persistSession: false, detectSessionInUrl: false } }; // Test the creation and functionality of the Supabase client const testClientCreation = async () => { var client: SupabaseClient = createClient(supabaseUrl, supabaseKey, options); // Check if the Supabase URL and key are provided if (!supabaseUrl) throw new Error('supabaseUrl is required.') if (!supabaseKey) throw new Error('supabaseKey is required.') // Test a simple query to the database const { data: table_data, error: table_error } = await client.from('my_table').select('*').limit(1); if (table_error) { throw new Error('Invalid Supabase client: ' + table_error.message); } assert(table_data, "Data should be returned from the query."); }; // Test the 'hello-world' function const testHelloWorld = async () => { var client: SupabaseClient = createClient(supabaseUrl, supabaseKey, options); // Invoke the 'hello-world' function with a parameter const { data: func_data, error: func_error } = await client.functions.invoke('hello-world', { body: { name: 'bar' } }); // Check for errors from the function invocation if (func_error) { throw new Error('Invalid response: ' + func_error.message); } // Log the response from the function console.log(JSON.stringify(func_data, null, 2)); // Assert that the function returned the expected result assertEquals(func_data.message, 'Hello bar!'); }; // Register and run the tests Deno.test("Client Creation Test", testClientCreation); Deno.test("Hello-world Function Test", testHelloWorld);
  • Secure Password Verification and Update with Supabase and PostgreSQL
    3 projects | | 4 Jul 2023
    import { serve } from "[email protected]/http/server.ts"; import { createClient } from ""; const corsHeaders = { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Headers": "authorization, x-client-info, apikey, content-type", }; serve(async (req) => { // Create a Supabase client with the necessary credentials if (req.method === 'OPTIONS') { return new Response('ok', { headers: corsHeaders }) } // Create a Supabase client with the necessary credentials const supabaseClient = createClient( Deno.env.get("SUPABASE_URL") ?? "", Deno.env.get("SUPABASE_ANON_KEY") ?? "", { global: { headers: { Authorization: req.headers.get("Authorization")! } }, auth: { autoRefreshToken: false, persistSession: false, detectSessionInUrl: false } } ); console.log("Supabase client created"); // Fetch the logged-in user from Supabase const { data: { user }, error: userError } = await supabaseClient.auth .getUser(); console.log("User fetched", user); if (userError) { console.error("User error", userError); return new Response(JSON.stringify({ error: userError.message }), { headers: { ...corsHeaders, "Content-Type": "application/json" }, status: 400, }); } // Extract the old and new passwords from the request const { oldPassword, newPassword } = await req.json(); console.log("Received old and new passwords", oldPassword, newPassword); // Verify the old password using the `verify_user_password` function const { data: isValidOldPassword, error: passwordError } = await supabaseClient.rpc("verify_user_password", { password: oldPassword }); console.log("Old password verified", isValidOldPassword); if (passwordError || !isValidOldPassword) { console.error("Invalid old password", passwordError); return new Response(JSON.stringify({ error: "Invalid old password" }), { headers: { ...corsHeaders, "Content-Type": "application/json" }, status: 400, }); } try { // Fetch the user's profile data const { data: profiles, error: profileError } = await supabaseClient.from( "profiles", ).select("id, avatar_url"); console.log("Profile data fetched", profiles); if (profileError) throw profileError; const user_id = profiles[0].id; console.log("User id", user_id); // Update the user's password using the Supabase Admin API const supabaseAdmin = createClient( Deno.env.get("SUPABASE_URL") ?? "", Deno.env.get("SUPABASE_SERVICE_ROLE_KEY") ?? "", { auth: { autoRefreshToken: false, persistSession: false, detectSessionInUrl: false } } ); console.log("Admin client created"); // Return a success response to the client const { error: updateError } = await supabaseAdmin .auth.admin.updateUserById( user_id, { password: newPassword }, ); console.log("Password updated"); if (updateError) { console.error("Update error", updateError); return new Response(JSON.stringify({ error: updateError.message }), { status: 400, }); } } catch (error) { console.error("Caught error", error); return new Response(JSON.stringify({ error: error }), { headers: { ...corsHeaders, "Content-Type": "application/json" }, status: 400, }); } console.log("Password update successful"); // Return a success response to the client return new Response( JSON.stringify({ message: "Password updated successfully" }), { headers: { ...corsHeaders, "Content-Type": "application/json" }, status: 200, }, ); });
  • I don't get fresh. why can't I use react without commiting to a server side framework?
    3 projects | /r/Deno | 1 Jul 2023
    For the most part they work once aliases have been set up. It's not documented yet but will be hopefully soon. The gist is that two aliases need to be added to the import map: { "react": "[](", "react-dom": "", "@radix-ui/switch": "[email protected]?external=react,react-dom" } The npm: specifiers unfortunately don't work with that yet, as we don't support aliasing dependencies so far.
  • ES Modules Are Terrible
    4 projects | | 14 Jun 2023
    > And then people go "but you can use ESM in browsers without a build step!", apparently not realizing that that is an utterly useless feature because loading a full dependency tree over the network would be unreasonably and unavoidably slow - you'd need as many roundtrips as there are levels of depth in your dependency tree - and so you need some kind of build step anyway, eliminating this entire supposed benefit.

    This is not true if you use a CDN like[1] or skypack[2].



  • Replacing Twind with Tailwind in Fresh
    3 projects | | 15 May 2023
    { "imports": { "$fresh/": "[email protected]/", "preact": "[email protected]", "preact/": "[email protected]/", "preact-render-to-string": "*[email protected]", "@preact/signals": "*@preact/[email protected]", "@preact/signals-core": "*@preact/[email protected]", DELETE THESE TWO LINES "twind": "[email protected]", "twind/": "[email protected]/" } }
  • Want to be able to drag files into a web app? Got ya covered.
    2 projects | | 5 May 2023
    Install @krofdrakula/drop in your dependencies or use as your module import.
  • JavaScript import maps are now supported cross-browser
    14 projects | | 3 May 2023
    Check out for a minimalist yet full featured solution that amends your import map for you. It does require Deno.
    14 projects | | 3 May 2023
    If you're happy with a single bundled file, another option is:

        deno bundle '' > plot.js
  • xtsz - a TS / JS file runner with support for HTTP/S imports
    5 projects | /r/node | 22 Apr 2023
    Want to import a package / file conveniently from or unpkg or directly from a GitHub repo for a one-off script (for example). To do this I created a custom ESBuild plugin to handle HTTP imports - that worked for ,js files. To support running both ESM and CJS, I use tsx.

What are some alternatives?

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

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

typescript-language-server - TypeScript & JavaScript Language Server

esbuild - An extremely fast bundler for the web

bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

pnpm - Fast, disk space efficient package manager

Koa - Expressive middleware for node.js using ES2017 async functions

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

warp-reverse-proxy - Fully composable warp filter that can be used as a reverse proxy.

zx - A tool for writing better scripts

nvim-lspconfig - Quickstart configs for Nvim LSP

swc - Rust-based platform for the Web

jsdelivr - A free, fast, and reliable Open Source CDN for npm, GitHub, Javascript, and ESM