Ant
javascript for ๐'s, a tiny runtime with big ambitions
Install / Use
/learn @theMackabu/AntREADME
๐ Ant
A 8MB JavaScript runtime with 1ms cold starts.
Ant is a lightweight, high-performance JavaScript runtime built from scratch. <br> Fits in your pocket while Delivering near-V8 speeds in a binary smaller than most npm packages.
$ ls -lh ant
-rwxr-xr-xโ 8.1Mโ ant*
Table of contents
Why Ant?
| | Ant | Node | Bun | Deno | | ------------------- | ----------- | --------- | -------- | --------- | | Binary size | ~8 MB | ~120 MB | ~60 MB | ~90 MB | | Cold start | ~3-5 ms | ~30-50 ms | ~5-10 ms | ~20-30 ms | | Engine | Ant Silver | V8 | JSC | V8 | | JIT | โ | โ | โ | โ | | WinterTC conformant | โ | partial | โ | โ |
Ant is designed for environments where size and startup time matter: serverless functions, edge computing, embedded systems, CLI tools, and anywhere you'd want JavaScript but can't afford a 50MB+ runtime.
The engine, Ant Silver is hand-built, not a wrapper around V8, JSC, or SpiderMonkey. The JIT compiler uses MIR, a lightweight JIT backend that enables compiled performance in a fraction of the binary size of traditional JIT engines.
Installation
curl -fsSL https://ant.themackabu.com/install | bash
# or with MbedTLS
curl -fsSL https://ant.themackabu.com/install | MBEDTLS=1 bash
Spec conformance
Ant targets the WinterTC Minimum Common API specification, the standard for server-side JavaScript interoperability developed by Ecma TC55.
| Suite | Pass rate | Notes | | ---------------- | --------- | ------------------------------------------ | | js-zoo (ES1โES5) | ~100% | | | js-zoo (ES6) | ~80%* | *Generators unsupported | | js-zoo (ES2016+) | ~90% | | | test262 | ~50% | Improving, focus is on real-world coverage |
Building Ant
See BUILDING.md for instructions on how to build Ant from source and a list of supported platforms.
Security
For information on reporting security vulnerabilities in Ant, see SECURITY.md.
Community
Contributing to Ant
We welcome contributions through pull request. See CONTRIBUTING.md for more details. <br> For information about the governance of Ant, see GOVERNANCE.md.
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot ๅฏๅชไฝๆถๅ่ฝๅใไฝฟ็จ <qqmedia> ๆ ็ญพ๏ผ็ณป็ปๆ นๆฎๆไปถๆฉๅฑๅ่ชๅจ่ฏๅซ็ฑปๅ๏ผๅพ็/่ฏญ้ณ/่ง้ข/ๆไปถ๏ผใ
