Best of DenoJune 2024

  1. 1
    Article
    Avatar of denoDeno·2y

    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.

  2. 2
    Article
    Avatar of denoDeno·2y

    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.