
JavaScript Jabber Unpacking Deno 2: Code Stability, Free Speech, and more - JSJ 648
4 snips
Sep 10, 2024 Ryan Dahl, the mastermind behind Node.js and Deno, shares his journey of creating Deno 2, discussing its unique Rust implementation and TypeScript-first approach. The conversation dives into Deno's security model, emphasizing its sandboxing features and how it mitigates supply chain risks. Dahl also introduces JSR, a new open-source registry aimed at enhancing package quality and discoverability. Listeners will appreciate insights on Deno's role in edge computing and the future of JavaScript in data science.
AI Snips
Chapters
Transcript
Episode notes
Why A New Registry Matters
- NPM stagnated after GitHub acquisition and didn't evolve for TypeScript, ESM, and multi-runtime needs.
- A modern registry should be open, support TypeScript, and target multiple runtimes and platforms.
Publish TypeScript And Incentivize Quality
- Publish TypeScript directly and use a registry that serves TypeScript to runtimes.
- Use registry scoring (JSR score) to encourage docs, types, and tests, improving package quality over time.
Quality Signals Beat Freshness
- Popularity and frequent updates don't equal quality; stable, well-documented packages should be surfaced.
- JSR aims to surface quality by scoring packages for documentation, TypeScript, and tests.

