quickjs-emscripten is a JavaScript library that compiles the QuickJS engine into WebAssembly using Emscripten, enabling developers to run JavaScript code inside a sandboxed environment within browsers or server-side JavaScript runtimes. It provides a secure and isolated execution context, making it particularly useful for running untrusted or user-generated code safely. The library abstracts the complexity of loading and initializing the WebAssembly module, offering convenient APIs to create and manage execution contexts. It allows seamless interaction between the host environment and the embedded QuickJS runtime, including passing values, objects, and functions across boundaries. This makes it suitable for building plugin systems, sandboxed scripting environments, and AI-related workflows where controlled execution is essential. The system supports multiple environments, including Node.js, browsers, and serverless platforms, ensuring portability across deployment scenarios.

Features

  • Runs QuickJS engine inside WebAssembly for sandboxed execution
  • Supports secure execution of untrusted JavaScript code
  • Provides APIs for creating and managing isolated runtime contexts
  • Enables data exchange between host environment and sandbox
  • Works across browsers Node.js and serverless environments
  • Customizable loading and configuration of WebAssembly modules

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow quickjs-emscripten

quickjs-emscripten Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of quickjs-emscripten!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software

Registered

2 days ago