Zero-Bloat · Edge-First · AI-Native
The Neat Markup Language.
A component-first markup language that compiles to clean HTML. Write 52% less code than React, ship 0 KB of JS runtime, and deploy instantly to the edge.
NML vs React / Next.js
| Feature | NML | React / Next.js |
|---|---|---|
| Total LOC | 81 | 170 |
| Bundle Size | 0 KB | 42–250 KB |
| Files Required | 5 | 9 |
| Page Load | Instant | 200–800ms (hydration) |
| JS Runtime | None | Required |
What It Looks Like
NML
div.class("card")
Compiled HTML
<div class="card">
Quick Start
New project
bunx @nml-lang/cli init
Dev server
nml dev
Deploy to Cloudflare Workers
nml deploy
Packages
@nml-lang/compiler-ts
Core TS compiler — lexer, parser, renderer
@nml-lang/cli
nml binary — init, dev, build, deploy, test
@nml-lang/vite-plugin
Vite transform plugin with HMR
@nml-lang/router
Universal file-based routing layer
@nml-lang/bun-server
Zero-config Bun HTTP server
@nml-lang/mcp-server
MCP server for AI assistants