Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

13 results for “Deno”

Newest and most relevant first

Deno is joining Cloudflare

Teams running Deno in production have one year of monthly security and bug-fix releases before the runtime is abandoned, so migration planning starts now.

Cloudflare is buying Deno, the company behind a JavaScript runtime created by Ryan Dahl, who also created Node.js. Deno is an alternative way to run JavaScript outside the browser, known for a permissions system limiting what scripts can access. Cloudflare will support it with fixes for only one more year, then stop. Developers using Deno will need to move to something else, while the company pivots to building Cloudflare's worker software.

Cloudflare acquired Deno outright, primarily to absorb celld, Deno's open-source implementation of Cloudflare's Durable Objects pattern, with the goal of making self-hosted Workers a supported way to build apps. The Deno runtime gets one year of monthly bug and security fixes, then development ends, though it stays open source. Teams with Deno in production face a deprecation clock starting now. Ryan Dahl says Node compatibility made Deno's value marginal.

Cloudflare acquired Deno to build on celld, the team's August-released open-source reimplementation of the Durable Objects pattern from Cloudflare Workers, aiming to make workerd self-hosting first-class. The Deno runtime receives monthly releases for one year only, then development ends; it remains open source for community continuation. Ryan Dahl argued Node compatibility trapped Deno into mirroring Node's behavior. Notably, Node's permission model, stable since v22.13.0 (January 2025), still lacks network-host allow-listing that Deno supported.

Simon Willison’s Weblog →

A tiny fetch wrapper with an intuitive syntax

Wretch 3.0 gives JavaScript developers a tiny (<1.8KB gzipped), TypeScript-typed fetch wrapper with chainable error handling, removing repetitive HTTP boilerplate.

Wretch is a free, open-source helper library for JavaScript that makes sending web requests easier. Normally, fetching data from a server means writing the same repetitive code, checking for errors, converting responses, over and over. Wretch lets developers write those steps as a short, readable chain instead. It works in browsers and in server runtimes like Node.js, Deno and Bun.

Wretch 3.0 is a free, MIT-style community library competing with native fetch and similar wrappers like ky. Its cost is negligible, under 1.8KB gzipped, and it has years of maintenance plus full unit-test coverage, limiting adoption risk. The downside is dependency on a small project rather than a vendor. Teams building API-heavy front-ends gain the most.

Wretch 3.0 wraps the Fetch API with a chainable, immutable API where every call clones the instance, enabling safe shared base clients. Core is under 1.8KB gzipped, written in TypeScript, and isomorphic across modern browsers, Node.js 22+, Deno and Bun. It handles serialization, response typing (.json(), .text(), .res(), .blob()), and chainable per-status error handlers like .notFound(). Addons and middlewares extend it; a v2-to-v3 migration guide exists.

GitHub Opensource Projects →

Type-safe TypeScript with typed errors, concurrency, and schema validation

TypeScript teams can install Effect v4 from npm's rc tag today to get compiler-enforced error handling instead of discovering failures in production.

Effect is a free, open-source toolkit for TypeScript, a popular programming language, that helps catch mistakes before software runs. Normally TypeScript checks that data has the right 'shape', but says nothing about things going wrong, Effect forces developers to state, in code, what failures are possible and how to handle them. It also bundles tools for running multiple tasks safely and checking incoming data. The main beneficiaries are software teams building large, complex applications.

Effect v4 is now a release candidate on npm, published under the 'rc' tag while stable v3 maintenance continues on a separate branch. The trade-off is a steep learning curve against replacing five or more separate libraries with one consistent system covering errors, concurrency, validation and tracing. Teams already hurting from runtime crashes in TypeScript gain most; adoption is a real commitment to the library's approach, and v4 details may still shift before stable release.

Effect is a monorepo centered on the core effect package plus integration packages for browser, Bun, Deno and Node runtimes, and SQL clients for ClickHouse, Cloudflare D1, libSQL, Microsoft SQL Server and MySQL. It makes errors part of function type signatures, provides structured concurrency, dependency injection, scheduling, tracing and built-in schema validation. Requirements: TypeScript 5.9+ (7 recommended), Node.js 18+, strict mode; @effect/sql-sqlite-node needs Node 22.16+. Docs at effect.website/docs/v4/api/effect.

GitHub Opensource Projects →

Hono: a web framework that runs the same code on any JavaScript runtime

Developers can write web apps once and deploy them across multiple JavaScript runtimes without rewriting code.

A new tool lets developers write web apps once and run them on any JavaScript platform, like Cloudflare or Node.js, without changing code.

Hono reduces development costs by enabling cross-runtime deployment, giving developers flexibility and reducing maintenance overhead.

Hono uses Web Standards and a fast RegExpRouter to run on Cloudflare, Deno, Node.js, and AWS Lambda with under 12kB bundle size.

GitHub Opensource Projects →

OpenAI's TypeScript Agents SDK covers text, sandbox, and voice workflows

OpenAI now ships a provider-agnostic TypeScript framework for multi-agent, sandboxed and voice agents, giving JS developers a self-serving alternative to LangChain-style tools.

OpenAI has released an open-source software kit called the Agents SDK for JavaScript and TypeScript, the languages used to build most web applications. It helps developers create AI systems where several 'agents', programs that use an AI model to complete tasks, can hand work to each other, run commands in a safe workspace, and even hold spoken conversations. It works with models beyond OpenAI's own, and anyone building such software can download it free from GitHub.

OpenAI has published open-source SDK for TypeScript teams building production agent systems, bundling orchestration, tracing, guardrails and voice into one package. Because it is provider-agnostic, it also serves teams using non-OpenAI models, and its being first-party means it should track new OpenAI model features quickly. Competing orchestration frameworks in the JS ecosystem lose their 'not from the model vendor' advantage. Sandbox agents are in beta, and there is a real learning curve.

The SDK (@openai/agents) targets Node.js 22+, Deno and Bun, with experimental Cloudflare Workers support requiring nodejs_compat. Core primitives: Agents (instructions, tools, guardrails, handoffs), Sandbox Agents pairing an LLM with a filesystem workspace (UnixLocalSandboxClient on macOS/Linux; DockerSandboxClient or hosted clients on Windows), Realtime Agents for low-latency speech, Agents-as-Tools, MCP support, Sessions for automatic history, and built-in tracing. Sandbox agents are beta. Repo: github.com/openai/openai-agents-js.

GitHub Opensource Projects →

LogTape: a zero-dependency logger that lets libraries log without configuration

Library authors can now emit useful logs without forcing consumers to configure a logger or accept console noise, and zero dependencies mean no added supply-chain audit burden.

LogTape is a logging tool for JavaScript, a language used to build websites and apps. Normally, if a reusable code library logs messages, users of that library must set up or silence a logging system. LogTape lets libraries log freely: if no one configures it, the messages simply vanish; if they do, the messages flow into the user's chosen pipeline. It works across Node.js, Deno, Bun, browsers and edge functions, with built-in redaction of sensitive data.

LogTape, available now on npm and JSR, targets library maintainers who currently avoid logging rather than impose a dependency on users. Its zero-dependency design removes supply-chain and bundle-size concerns, and built-in redaction reduces the risk of tokens or passwords leaking into logs. Competing loggers require application-side configuration. There is no cost, funding or adoption data; whether it gains traction against established loggers is unstated.

LogTape is a zero-dependency structured logging library for JavaScript/TypeScript running on Node.js, Deno, Bun, browsers and edge functions. It uses hierarchical categories (e.g. app:database:queries) for level filtering, template literal interpolation, pattern- and field-based redaction, and a simple sink interface for custom outputs. Untargeted logs are no-ops, so libraries can log without configuration. Framework integrations cover Express, Fastify, Hono, Koa, GraphQL Yoga and Drizzle ORM; no benchmarks are given.

GitHub Opensource Projects →

Drizzle Orm

TypeScript backend developers can replace heavyweight ORMs like Prisma with a 7KB typed SQL toolkit that shows every query explicitly, making debugging and performance tuning simpler today.

Drizzle ORM is a free, open-source tool that helps software developers talk to databases. Instead of hiding the database's language (SQL) behind complicated automatic code like many tools do, it lets developers write database queries directly, with the computer checking for mistakes as they type. It supports the three most popular databases, PostgreSQL, MySQL and SQLite, and any developer working with the JavaScript or TypeScript programming language could use it.

Drizzle ORM is an open-source database library for TypeScript and JavaScript teams, offered free with support for PostgreSQL, MySQL and SQLite. Its pitch against competitors like Prisma is a small footprint (around 7KB gzipped) and no hidden queries, which reduces debugging time and lock-in. Teams wanting explicit, reviewable SQL migrations with full type checking gain most; those needing rich ORM abstractions may still prefer heavier alternatives. No pricing concerns apply since it is community-maintained.

Drizzle ORM maps SQL syntax to typed TypeScript APIs: schemas are plain objects (pgTable with column builders), and select/from/where/join/groupBy/orderBy chains mirror SQL, with result types inferred at build time, no casting. Drizzle Kit generates plain SQL migration files from schema diffs, with no internal state or hidden migration tables. It runs on Node.js, Deno and Bun, supports PostgreSQL, MySQL and SQLite, and the core package is about 7KB gzipped. The article provides no benchmark figures or adoption data.

GitHub Opensource Projects →

SQL runtime over APIs for agents.

Coral lets developers and AI agents query APIs like GitHub or Stripe with standard SQL instead of writing pagination and glue code, collapsing small ETL scripts into one embeddable library.

Coral is a free, open-source tool that lets you ask questions of web services, things like GitHub or Slack, using SQL, the standard language for querying databases. Normally you have to write custom code to fetch and combine data from each service; Coral instead treats each service as if it were a database table. It handles tedious details like pages of results and usage limits automatically. It is a small library, roughly 2MB, that runs inside Node.js, Deno or Bun, and is especially useful for AI agents that need structured data.

Coral is an open-source SQL runtime that turns any REST API into a queryable table, eliminating custom integration code and lightweight ETL pipelines. It targets teams building dashboards across SaaS tools and AI agents that need structured data from GitHub, Slack or Stripe. The project is early-stage with no stated pricing, licence terms, performance benchmarks or company backing, so adoption carries the usual risk of immature open-source tooling. Its main competition is hand-written glue code and heavier data-infrastructure platforms.

Coral is an embeddable ~2MB runtime, not a database: it compiles SQL queries into HTTP request plans against user-defined API endpoints, exposing each endpoint as a virtual table. It auto-handles cursor/offset pagination, rate limits and request batching, and supports joins across multiple APIs in one SELECT. It infers schemas or takes simple definitions and ships with a REPL for experimentation. Limitations: it is early-stage, the article gives no benchmarks, and the package shown, '@coral-xyz/coral', shares a name with the Solana wallet maker.

GitHub Opensource Projects →

Package Managers Need to Cool Down

Developers can now set a release-age delay in most major package managers, pnpm, Yarn, Bun, Deno, uv, pip and npm, to avoid installing freshly-poisoned packages during supply chain attacks like the recent LiteLLM incident.

When programmers add outside code to their projects, that code can sometimes be replaced with malicious versions. A defence called a 'dependency cooldown' means waiting a few days before installing new updates, so attackers get caught first. A March 2026 review by Andrew Nesbitt found this protection is now built into seven major package managers, including npm 11.10.0 and pip 26.0. Anyone who builds software can turn it on today.

Software supply chain attacks, like the March 2026 LiteLLM compromise, exploit the window where a malicious package update spreads before anyone notices. A cooldown delay closes that window, and as of early 2026 every major package manager supports it: pnpm 10.16, Yarn 4.10.0, Bun 1.3, Deno 2.6, uv 0.9.17, pip 26.0 and npm 11.10.0. Engineering teams should treat enabling these settings as a low-cost security baseline.

Dependency cooldowns reject packages published more recently than a set age. Implementations: pnpm 10.16 minimumReleaseAge with minimumReleaseAgeExclude; Yarn 4.10.0 npmMinimalAgeGate (minutes) plus npmPreapprovedPackages; Bun 1.3 minimumReleaseAge in bunfig.toml; Deno 2.6 --minimum-dependency-age; uv 0.9.17 --exclude-newer with exclude-newer-package overrides; pip 26.0 --uploaded-prior-to (absolute timestamps only, relative durations unsupported); npm 11.10.0 min-release-age. Seth Larson published a cron-based workaround to keep pip's absolute date current.

Simon Willison’s Weblog →

JavaScript Sandboxing Research

Teams that must run untrusted JavaScript now have a side-by-side map of sandboxing options, helping them avoid dangerously obsolete choices like vm2.

Simon Willison describes using Claude Code to research how to safely run untrusted JavaScript inside a Node.js application. The resulting comparison covers Node's built-in options (worker_threads, node:vm, its Permission Model), community packages like isolated-vm and vm2, and alternative engines such as quickjs-emscripten, QuickJS-NG, ShadowRealm and Deno Workers. No benchmark results, pricing or concrete recommendation is included in the excerpt.

Running code from untrusted users is a recurring security decision for platform teams, and Willison's post surveys the realistic choices as of March 2026: Node's worker_threads, node:vm and Permission Model versus third-party packages (isolated-vm, vm2) and standalone engines (quickjs-emscripten, QuickJS-NG, Deno Workers). The article omits performance figures, costs and a verdict, so it functions as a starting checklist rather than a decision.

The research compares JavaScript sandboxing mechanisms on the server side: Node.js worker_threads, the node:vm module, and the Node Permission Model, alongside npm packages isolated-vm and vm2, the latter long known as bypassed and deprecated, and engine-level options including quickjs-emcripten, QuickJS-NG, the ShadowRealm proposal and Deno Workers. The comparison was generated by Claude Code from an initial question about worker threads. No benchmarks or exploit tests are reported.

Simon Willison’s Weblog →

Introducing Deno Sandbox

Deno launched a hosted code-sandbox service with a proxy that keeps API secrets out of sandboxed code, reducing what a prompt-injected agent can steal.

The Deno team launched Deno Sandbox, a paid service that runs your code on their computers in isolated virtual machines. You don't need to use the Deno programming language, a Python library called deno-sandbox lets you create a sandbox, run shell commands, and read and write files. A sandbox can have up to 4GB of RAM, 2 vCPUs, 10GB of storage, and sessions last at most 30 minutes. Its cleverest trick: API keys are replaced with placeholders and swapped in by a proxy, so code inside the sandbox never sees your actual secret.

Deno Deploy's new Sandbox product competes in the hosted code-execution market, relevant to anyone running AI agents that write and run code. Pricing is usage-based, CPU time, GB-hours of memory, and storage, with sessions capped at 30 minutes. The standout security feature is secret proxying: API keys are injected as placeholders and only substituted for whitelisted domains, limiting exfiltration by malicious code. Fly offers a similar open-source pattern called tokenizer.

Deno Sandbox is a hosted product on the Deno Deploy SaaS platform, not the Deno runtime itself, with JavaScript and Python SDKs (deno-sandbox on PyPI) and an undocumented WebSocket-based API. Sandboxes get 4GB RAM, 2 vCPUs, 10GB ephemeral storage, persistent volumes, snapshots for fast custom image boots, and domain-scoped network allowlists. Secrets are delivered as DENO_SECRET_PLACEHOLDER tokens that a proxy substitutes only for requests to hosts like api.openai.com, so sandbox code never holds the real value. Sessions cap at 30 minutes and bill on CPU time, memory GB-hours and volume storage.

Simon Willison’s Weblog →

MicroQuickJS

Anyone sandboxing untrusted or LLM-generated JavaScript gains a tiny engine with built-in memory and time limits, usable today via Python, WebAssembly or a playground.

Fabrice Bellard, the programmer behind ffmpeg and QEMU, has released MicroQuickJS, a very small engine for running JavaScript on embedded devices. It needs only 10 kB of RAM and about 100 kB of ROM, a fraction of what typical JavaScript engines require. Simon Willison tested it as a sandbox for safely running untrusted code, with limits on memory, CPU time, and network or file access. Developers building such sandboxes, and hobbyists working on tiny hardware, are the main audience.

MicroQuickJS gives teams executing untrusted or AI-generated JavaScript a credible, tiny sandbox option: it enforces memory and time limits internally and exposes no file or network primitives. Willison's Claude Code experiments built working Python and WebAssembly integrations, though the WebAssembly path needed a workaround due to setjmp/longjmp error handling. Early adopters gain a robust new tool; makers of heavier sandboxing solutions face a new, free competitor from a proven author.

MicroQuickJS targets embedded systems: under 10 kB RAM and roughly 100 kB ROM as ARM Thumb-2 including the C library, with speed comparable to QuickJS and support for a rich JavaScript subset. Interrupt handlers fire even during pathological regex backtracking, so configured time limits hold under resource-exhaustion attacks. Tested integrations include FFI Python bindings, a native CPython extension, Node.js, Deno and Pyodide; wasmtime only worked with a hack because setjmp/longjmp maps poorly to WebAssembly.

Simon Willison’s Weblog →

The many, many, many JavaScript runtimes of the last decade

Very little changes directly, but JavaScript developers now have a single comprehensive reference for choosing among the decade's many runtimes instead of relying on scattered documentation.

Simon Willison points to a detailed guide by Jamie Birch covering every JavaScript runtime, the programs that execute JavaScript code, released over the past ten years. The guide took over a year to write and covers major runtimes like Node.js, Deno, Bun, Electron, Cloudflare Workers and AWS Lambda, plus small hobby projects such as dukluv and txiki.js. It is a reference document for developers choosing where to run their code, not a new tool. No publication date or pricing for the guide itself is given.

A link post pointing to a comprehensive reference on JavaScript runtimes, the server and edge environments where businesses deploy JavaScript. The underlying guide, by Jamie Birch and over a year in the making, spans Node.js, Deno, Bun, Electron, AWS Lambda and Cloudflare Workers. Teams evaluating runtime choices for performance, cost or edge deployment may find it a useful single source. The post itself adds no analysis, pricing or benchmarks.

This is a Willison link post referencing Jamie Birch's comprehensive survey of JavaScript runtimes from the last decade. The guide covers Node.js, Deno, Bun, Electron, AWS Lambda, Cloudflare Workers, and smaller engines like dukluv and txiki.js. Birch reportedly spent over a year compiling it as a reference for runtime capabilities and differences. The post includes no benchmarks, version numbers, or technical comparisons itself.

Simon Willison’s Weblog →