Page MenuHomePhorge

README.txt
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

README.txt

ANT - Ant sized JavaScript Runtime
===================================
A minimal embedded JavaScript engine with async/await, promises, modules,
and built-in APIs for HTTP servers, timers, crypto, and JSON.
BUILD:
meson setup build && meson compile -C build
RUN:
./build/ant script.js
EXAMPLE:
See tests/server/server.cjs for a good server example using Ant.serve()
with Radix3 routing, parameter handling, and various response types.
MODULES:
- Ant.serve() - HTTP server (mongoose)
- Ant.require() - CommonJS module loading
- Timers - setTimeout, setInterval, queueMicrotask
- fetch() - HTTP client (curl)
- crypto.* - Cryptography (libsodium)
- JSON.* - JSON parsing
- console.* - Logging
FEATURES:
- Async/await and Promises
- ES6+ syntax (arrow functions, classes, template literals)
- Signal handlers (SIGINT, SIGTERM, etc.)
- 64MB default memory pool
- Embedded garbage collector
DEPENDENCIES:
libsodium, curl, mongoose, yyjson, argtable3, uuidv7

File Metadata

Mime Type
text/plain
Expires
Sun, May 3, 7:48 AM (1 d, 8 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
524923
Default Alt Text
README.txt (1 KB)

Event Timeline