MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add README.txt

+35 -1
+34
README.txt
··· 1 + ANT - Ant sized JavaScript Runtime 2 + =================================== 3 + 4 + A minimal embedded JavaScript engine with async/await, promises, modules, 5 + and built-in APIs for HTTP servers, timers, crypto, and JSON. 6 + 7 + BUILD: 8 + meson setup build && meson compile -C build 9 + 10 + RUN: 11 + ./build/ant script.js 12 + 13 + EXAMPLE: 14 + See tests/server/server.cjs for a good server example using Ant.serve() 15 + with Radix3 routing, parameter handling, and various response types. 16 + 17 + MODULES: 18 + - Ant.serve() - HTTP server (mongoose) 19 + - Ant.require() - CommonJS module loading 20 + - Timers - setTimeout, setInterval, queueMicrotask 21 + - fetch() - HTTP client (curl) 22 + - crypto.* - Cryptography (libsodium) 23 + - JSON.* - JSON parsing 24 + - console.* - Logging 25 + 26 + FEATURES: 27 + - Async/await and Promises 28 + - ES6+ syntax (arrow functions, classes, template literals) 29 + - Signal handlers (SIGINT, SIGTERM, etc.) 30 + - 64MB default memory pool 31 + - Embedded garbage collector 32 + 33 + DEPENDENCIES: 34 + libsodium, curl, mongoose, yyjson, argtable3, uuidv7
+1 -1
meson.build
··· 41 41 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 42 42 43 43 version_conf = configuration_data() 44 - version_conf.set('ANT_VERSION', '0.0.5.40') 44 + version_conf.set('ANT_VERSION', '0.0.5.41') 45 45 version_conf.set('ANT_GIT_HASH', git_hash) 46 46 version_conf.set('ANT_BUILD_DATE', build_date) 47 47