JavaScript workers, Linux-in-WASM guests, and portable deploys in one process
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.
Request handlers on V8 isolates, WinterTC APIs: fetch, Request/Response/Headers, URL, streams, crypto.subtle.
Run WebAssembly modules on the V8 engine, source-hash cached. JS and WASM workers side by side in one process.
Portable tar bundles: app files + V8 bytecode built at pack time, so the first request skips parse/compile. Zero-downtime hot-swap on SIGHUP.
Many apps in one OS process, each in its own V8 isolate, with per-request CPU and per-isolate memory limits enforced by termination.
WebSocketPair API, Cloudflare Workers compatible. Per-connection V8 isolate with CPU/memory enforcement per frame.
Learn more →Per-app persistent key-value store, hostname-namespaced, zero config — plus a drop-in localStorage shim backed by it.
NANO speaks three dialects. Pick the one your code already uses.
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,
});
}
};
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);
}
};
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');
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);
}
Follow the quick start guide to build and run your first NANO application.
View Quick Start Guide