wasmerio/edgejs

Edge.js is a secure JavaScript runtime, designed for Edge computing and AI workloads

What it solves

Edge.js provides a secure way to run JavaScript anywhere, specifically targeting edge computing and AI workloads. It addresses the need for a runtime that is sandboxed by design to ensure that insecure programs can be executed safely without compromising the host system.

How it works

Edge.js acts as a JavaScript runtime that is fully compatible with Node.js and compatible with various package managers like NPM, PNPM, Yarn, and Bun. It uses WebAssembly for sandboxing when operating in --safe mode and allows for pluggable JS engines, supporting V8, JavaScriptCore, or QuickJS.

Who it’s for

Developers building for edge computing environments or AI workloads who require a secure, sandboxed execution environment for JavaScript code while maintaining compatibility with the Node.js ecosystem.

Highlights

  • Secure Sandboxing: Uses WebAssembly to ensure safe execution of potentially insecure code.
  • Node.js Compatibility: Fully compatible with Node.js, allowing existing JS projects to be run with minimal friction.
  • Engine Flexibility: Supports multiple JS engines including V8, JavaScriptCore, and QuickJS.
  • Broad Package Support: Works with NPM, PNPM, Yarn, and Bun.

Related

  • Project
  • Project
  • Dispatch
  • Project