<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/deno/best-of/2024" -->

---
title: Best Deno posts of 2024 | daily.dev
description: The most upvoted Deno posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/deno/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/deno/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Deno posts of 2024 | daily.dev
og:description: The most upvoted Deno posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Deno — 2024

1. 1  
[](/posts/a-gentle-intro-to-typescript-ewb8lhuiy "A Gentle Intro to TypeScript")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
6m read time • Jun 27, 2024  
### A Gentle Intro to TypeScript  
TypeScript enhances JavaScript by adding type annotations that catch errors during compilation, making code more robust and easier to read. Switching to TypeScript involves adding type annotations to your functions, which the TypeScript compiler uses to infer types and ensure only valid operations. This can prevent entire categories of bugs frequently encountered in JavaScript. Tools like Deno and Vite simplify TypeScript adoption by automatically handling TypeScript to JavaScript compilation.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/b8d4f161c390d0ca1d22808f4faaf705?_a=AQAEuiZ)  
162  
6
2. 2  
[](/posts/build-a-real-time-websocket-application-vooahbzgg "Build a Real-Time WebSocket Application")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
8m watch time • Nov 12, 2024  
### Build a Real-Time WebSocket Application  
Many internet requests use HTTP, but for real-time data, WebSockets are essential. The Dino web standard API supports WebSockets to create a real-time web application. The process involves setting up a server to accept WebSocket connections and creating a client to connect and interact with this server. This guide provides a step-by-step approach to implement and test a simple WebSocket application.

+1  
![Post Cover image](https://i.ytimg.com/vi/FC4IrkHEg4A/sddefault.jpg)  
117
3. 3  
[](/posts/build-a-database-app-with-drizzle-orm-and-deno-a6mvbwgjm "Build a Database App with Drizzle ORM and Deno")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
7m read time • Nov 13, 2024  
### Build a Database App with Drizzle ORM and Deno  
This tutorial guides you through setting up Drizzle ORM with Deno and PostgreSQL to manage dinosaur data. It covers installing dependencies, configuring Drizzle ORM, defining schemas, and interacting with the database using helper functions. The post concludes with suggestions for enhancing your application with complex database relationships, REST API implementation, validation, and error handling.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/0f025f4a92143fb761bf65dbc04f483e?_a=AQAEuj9)  
46  
2
4. 4  
[](/posts/build-a-js-runtime-in-rust-pgfr1oghx "Build a JS Runtime in Rust")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
3m watch time • May 17, 2024  
### Build a JS Runtime in Rust  
Learn how to build a JavaScript runtime in Rust using Dino core and Tokyo as dependencies.

+2  
![Post Cover image](https://i.ytimg.com/vi/Hhpo1zpxaf4/sddefault.jpg)  
38  
2
5. 5  
[](/posts/deno-just-got-faster-xdipt0fre "Deno Just Got Faster")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
2m watch time • May 12, 2024  
### Deno Just Got Faster

+5  
![Post Cover image](https://i.ytimg.com/vi/1IzcI-91iQM/sddefault.jpg)  
33  
7
6. 6  
[](/posts/self-contained-executable-programs-with-deno-compile-v4f6n9lpo "Self-contained Executable Programs with Deno Compile")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
6m read time • Nov 14, 2024  
### Self-contained Executable Programs with Deno Compile  
Deno compile allows developers to turn JavaScript and TypeScript programs into self-contained, cross-platform binaries, eliminating the need for a runtime or dependencies. Deno 2 has introduced improvements such as support for npm packages, smaller binary sizes, and code signing. The process simplifies deployment, improves startup times, and offers enhanced security through preserveable permission flags. Examples include creating a single executable, cross-compiling for different OS, code signing, and even compiling npm packages for performance boosts.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6a16c10daaefe1b5d28e17d1d65095de?_a=AQAEuj9)  
32  
3
7. 7  
[](/posts/build-a-database-app-in-3-minutes-y0vcqp6j5 "Build a Database App in 3 Minutes")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
3m watch time • Nov 25, 2024  
### Build a Database App in 3 Minutes  
Building a database application with Deno 2 and Drizzle ORM has been made easier with npm compatibility. The post guides you through installing necessary dependencies, setting up configurations, and defining schemas for a PostgreSQL database. It covers both inferring existing tables and creating new ones, and explains how to use Drizzle to manage data with TypeScript types. The tutorial concludes with performing CRUD operations on the database.

+3  
![Post Cover image](https://i.ytimg.com/vi/9m9w3QyEIKU/sddefault.jpg)  
31
8. 8  
[](/posts/programming-should-be-simple-ikanomhff "Programming should be simple")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
2m watch time • Oct 09, 2024  
### Programming should be simple  
Programming should be simple. Ryan Dahl, the creator of Node.js, critiques the complexity of modern Node.js setups, highlighting cumbersome processes like configuring TypeScript. He introduces Deno, a new platform that prioritizes simplicity, integrating TypeScript support out-of-the-box, providing all-in-one tooling, and ensuring security by default, while maintaining compatibility with existing npm packages.

+5  
![Post Cover image](https://i.ytimg.com/vi/swXWUfufu2w/sddefault.jpg)  
30  
7
9. 9  
[](/posts/deploy-a-next-js-app-to-deno-deploy-k1xdxqive "Deploy a Next.js app to Deno Deploy")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
1m watch time • Oct 24, 2024  
### Deploy a Next.js app to Deno Deploy

+4  
![Post Cover image](https://i.ytimg.com/vi/puoorw7jUoc/sddefault.jpg)  
29
10. 10  
[](/posts/an-intro-to-tsconfig-for-javascript-developers-ayqgawjvv "An intro to TSConfig for JavaScript Developers")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
6m read time • Apr 17, 2024  
### An intro to TSConfig for JavaScript Developers  
Introduction to TypeScript and configuring projects with tsconfig.json.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/e2be5ff07dc3d73945250dbac1e77808?_a=AQAEufR)  
27
11. 11  
[](/posts/run-your-next-js-ssr-app-on-deno-deploy-bjrmpbnqo "Run your Next.js SSR app on Deno Deploy")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
4m read time • Dec 02, 2024  
### Run your Next.js SSR app on Deno Deploy  
Next.js, a powerful metaframework for building server-rendered or statically generated web applications, can now leverage Deno Deploy for server-side rendering (SSR). This guide shows you how to deploy a Next.js app with SSR on Deno Deploy, either by linking a GitHub repository or using the command line. The post also highlights new features in Deno 2.1, such as first-class Wasm support, improved package management, and long-term support.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6e957078d8a5144a4c36bd02246a715e?_a=AQAEuj9)  
26  
1
12. 12  
[](/posts/build-an-api-server-with-hono-in-typescript-w7xdvmxwg "Build an API server with Hono in TypeScript")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
11m watch time • Nov 05, 2024  
### Build an API server with Hono in TypeScript

+4  
![Post Cover image](https://i.ytimg.com/vi/J8kZ-s-5-ms/sddefault.jpg)  
25
13. 13  
[](/posts/how-to-document-your-javascript-package-8q7s2o9d2 "How to document your JavaScript package")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
12m read time • May 10, 2024  
### How to document your JavaScript package  
Learn how to write comprehensive documentation for your JavaScript package using JSDoc-style comments. Discover best practices, how to provide good type information, and how to add examples to your comments.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c93e60015b7a20c8ca63d6576afa7b14?_a=AQAEuiZ)  
25  
3
14. 14  
[](/posts/how-to-convert-commonjs-to-esm-o8m09fxcn "How to convert CommonJS to ESM")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
5m read time • Oct 16, 2024  
### How to convert CommonJS to ESM  
ECMAScript modules (ESM) are the modern standard for writing JavaScript, supporting features like async loading and better compatibility. This post guides you through updating the syntax of a legacy CommonJS project to ESM, including changes in import/export statements and package.json configurations. Removing 'use strict' and using shims for globals like \_\_dirname and \_\_filename are also discussed. Tools like VSCode and various npm packages can assist in the transition. Adopting ESM can alleviate compatibility issues and streamline development.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/91b55dfebe65088d13270365507f4899?_a=AQAEuiZ)  
24  
1
15. 15  
[](/posts/all-in-one-tooling-for-javascript-and-typescript-development-gm3le9pae "All-in-one tooling for JavaScript and TypeScript development")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
5m watch time • Oct 16, 2024  
### All-in-one tooling for JavaScript and TypeScript development  
Dino simplifies JavaScript and TypeScript development by including built-in tools for formatting, linting, and testing, saving developers time on configuration. It supports automatic code formatting, built-in linting similar to ESLint, and comprehensive testing capabilities with code coverage reporting, all without needing third-party dependencies.

+4  
![Post Cover image](https://i.ytimg.com/vi/-4e9DkUrCr4/sddefault.jpg)  
24
16. 16  
[](/posts/deploying-deno-with-docker-6qwobhfzi "Deploying Deno with Docker")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
6m watch time • Nov 14, 2024  
### Deploying Deno with Docker  
Deploying a Deno application with Docker is straightforward. First, ensure Docker is installed, then run the Docker commands to map ports and specify the Deno version. You can also create a Docker config file for easier setup. Once tested locally, deploy the app to a hosting provider like fly.io, which allows quick deployment by creating and launching a Docker image in the desired region.

+5  
![Post Cover image](https://i.ytimg.com/vi/VRryNeYm6yw/sddefault.jpg)  
22
17. 17  
[](/posts/deno-got-even-better--iqty4fwua "Deno got even better!")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
3m watch time • Dec 11, 2024  
### Deno got even better!  
Deno 2.1 introduces several enhancements including direct WebAssembly imports, the first Long Term Support (LTS) release, improved dependency management with the 'deno outdated' command, and easier asset bundling in Deno compile. Other updates include enhanced debugging with stack traces in permission prompts and CommonJs support for legacy projects.

+4  
![Post Cover image](https://i.ytimg.com/vi/K6bW7WFEvqc/sddefault.jpg)  
20
18. 18  
[](/posts/webgpu-windowing-in-deno-tp8qubaui "WebGPU Windowing in Deno")  
Video  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
4m watch time • Aug 14, 2024  
### WebGPU Windowing in Deno

+4  
![Post Cover image](https://i.ytimg.com/vi/gA152Hun8cI/sddefault.jpg)  
18  
1
19. 19  
[](/posts/announcing-hono-on-jsr-bahdqg1y8 "Announcing Hono on JSR")  
[![deno's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/714ae5897f174e6c9c7ce75db092f9ce)](/sources/[source]/best-of/[year])  
2m read time • Jun 25, 2024  
### Announcing Hono on JSR  
JSR is a modern JavaScript registry that simplifies the publishing and consumption of JavaScript and TypeScript modules, supporting web standards. Over 250 new packages are published weekly. Hono, a fast and lightweight server routing framework with excellent TypeScript support, is now available on JSR. Installation can be easily done using deno or npm, and developers can benefit from integrated type definitions and documentation.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/cb3764c6f77926e7180125a3c77fb0c8?_a=AQAEuiZ)  
18

[See all Deno archives](/sources/deno/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/deno/best-of/2024#page","url":"https://daily.dev/sources/deno/best-of/2024","name":"Best Deno Posts of 2024","description":"The most upvoted Deno posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/deno/best-of/2024#items","numberOfItems":19,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/a-gentle-intro-to-typescript-ewb8lhuiy","name":"A Gentle Intro to TypeScript"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/build-a-real-time-websocket-application-vooahbzgg","name":"Build a Real-Time WebSocket Application"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/build-a-database-app-with-drizzle-orm-and-deno-a6mvbwgjm","name":"Build a Database App with Drizzle ORM and Deno"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/build-a-js-runtime-in-rust-pgfr1oghx","name":"Build a JS Runtime in Rust"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/deno-just-got-faster-xdipt0fre","name":"Deno Just Got Faster"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/self-contained-executable-programs-with-deno-compile-v4f6n9lpo","name":"Self-contained Executable Programs with Deno Compile"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/build-a-database-app-in-3-minutes-y0vcqp6j5","name":"Build a Database App in 3 Minutes"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/programming-should-be-simple-ikanomhff","name":"Programming should be simple"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/deploy-a-next-js-app-to-deno-deploy-k1xdxqive","name":"Deploy a Next.js app to Deno Deploy"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/an-intro-to-tsconfig-for-javascript-developers-ayqgawjvv","name":"An intro to TSConfig for JavaScript Developers"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/run-your-next-js-ssr-app-on-deno-deploy-bjrmpbnqo","name":"Run your Next.js SSR app on Deno Deploy"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/build-an-api-server-with-hono-in-typescript-w7xdvmxwg","name":"Build an API server with Hono in TypeScript"},{"@type":"ListItem","position":13,"url":"https://daily.dev/posts/how-to-document-your-javascript-package-8q7s2o9d2","name":"How to document your JavaScript package"},{"@type":"ListItem","position":14,"url":"https://daily.dev/posts/how-to-convert-commonjs-to-esm-o8m09fxcn","name":"How to convert CommonJS to ESM"},{"@type":"ListItem","position":15,"url":"https://daily.dev/posts/all-in-one-tooling-for-javascript-and-typescript-development-gm3le9pae","name":"All-in-one tooling for JavaScript and TypeScript development"},{"@type":"ListItem","position":16,"url":"https://daily.dev/posts/deploying-deno-with-docker-6qwobhfzi","name":"Deploying Deno with Docker"},{"@type":"ListItem","position":17,"url":"https://daily.dev/posts/deno-got-even-better--iqty4fwua","name":"Deno got even better!"},{"@type":"ListItem","position":18,"url":"https://daily.dev/posts/webgpu-windowing-in-deno-tp8qubaui","name":"WebGPU Windowing in Deno"},{"@type":"ListItem","position":19,"url":"https://daily.dev/posts/announcing-hono-on-jsr-bahdqg1y8","name":"Announcing Hono on JSR"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Deno","item":"https://daily.dev/sources/deno"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/deno/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

