NormalScript 为 Node.js 和 Bun 提供嵌入式 JavaScript 子集运行时
NormalScript 是一款紧凑的虚拟机,可在 Node.js 或 Bun 应用内运行现代严格模式 JavaScript 子集。它为脚本和智能体代码工作流提供宿主函数、可选执行限制与取消机制,并支持将运行状态保存为字节快照,以便挂起和恢复。该 MIT 许可的纯 JavaScript 包无需 WASM 模块、原生插件、worker 或独立 isolate。产品页称,在保留的 22,253 个 test262 文件中,19,408 个通过、2,845 个因已知缺口而跳过,且没有失败项,但这些结果尚未在 CI 中运行。产品页还称有 400 多家组织使用该项目,但所提供报告没有独立的采用证据或性能对比。
NormalScript 让 Node.js 和 Bun 应用能够在进程内运行脚本和智能体代码,并支持宿主函数调用、执行限制、取消以及基于快照的挂起和恢复。
Enterprise scripting solutions
A perfectly normal scripting language.
NormalScript® is a small, fast virtual machine for a subset of JavaScript. It embeds in your Node or Bun application: give it a few host functions and it runs little scripts and agent code mode, pausing to bytes and resuming later. Nothing unusual happens here.
Review capabilitiesView compliance matrixView on GitHub
Trusted by more than 400 normal organizations · Node ≥ 24 or Bun ≥ 1.4 · MIT licensed
0