Worker, Agent and Linux
Edge Runtime

One OS process. JavaScript workers on V8 isolates, agent workloads, and a wasm-vm worker that boots Linux-in-WASM guests. Portable sliver bundles, zero-downtime hot-swap, WinterTC compatible.

Features

JavaScript workers, Linux-in-WASM guests, and portable deploys in one process

🐧

wasm-vm worker

Boot a Linux-in-WASM guest in a V8 isolate and serve it over HTTP (vm.fetch). Build a distro from an arm64 OCI image; attach an operator console.

Learn more →
JS

JavaScript workers

Request handlers on V8 isolates, WinterTC APIs: fetch, Request/Response/Headers, URL, streams, crypto.subtle.

W

WebAssembly

Run WebAssembly modules on the V8 engine, source-hash cached. JS and WASM workers side by side in one process.

S

Sliver bundles

Portable tar bundles: app files + V8 bytecode built at pack time, so the first request skips parse/compile. Zero-downtime hot-swap on SIGHUP.

🔒

Multi-tenant isolation

Many apps in one OS process, each in its own V8 isolate, with per-request CPU and per-isolate memory limits enforced by termination.

⇄

WebSocket

WebSocketPair API, Cloudflare Workers compatible. Per-connection V8 isolate with CPU/memory enforcement per frame.

Learn more →
⬡

Storage nano:kv

Per-app persistent key-value store, hostname-namespaced, zero config — plus a drop-in localStorage shim backed by it.

API reference →

Run code written for any target

NANO speaks three dialects. Pick the one your code already uses.

WinterTC / Cloudflare Workers

Edge-native handlers

Standard fetch(), Request, Response, WebCrypto, streams. Drop-in for Workers code.

export default {
  async fetch(request) {
    const url = new URL(request.url);
    return Response.json({
      path: url.pathname,
    });
  }
};
Node.js packages

npm-compatible polyfills

require('path'), require('buffer'), require('assert'), process.env — common npm packages work without a bundler shim.

const path = require('path');
const { from } = require('buffer');

export default {
  async fetch(req) {
    const env = process.env.NODE_ENV;
    return new Response(env);
  }
};
Browser APIs + KV

Browser code + persistence

localStorage shim, nano:kv for structured storage — front-end code and Cloudflare KV patterns work without changes.

import { kv, openKV } from 'nano:kv';

const hits = (await kv.getJSON('c')) ?? 0;
await kv.setJSON('c', hits + 1);

// Or use the localStorage shim
await localStorage.setItem('theme', 'dark');
Google Apps Script

.gs files, unchanged

Point an app at a .gs file — the runtime auto-detects Google Apps Script from the extension (no flag). SpreadsheetApp, PropertiesService, Logger and more — backed by a service account.

async function doGet(e) {
  const sheet = SpreadsheetApp
    .getActiveSpreadsheet()
    .getActiveSheet();
  const rows = await (
    await sheet.getDataRange()
  ).getValues();
  return JSON.stringify(rows);
}

Get started

Follow the quick start guide to build and run your first NANO application.

View Quick Start Guide