quickjs-zh/quickjs

QuickJS是一个小型并且可嵌入的Javascript引擎,它支持ES2020规范,包括模块,异步生成器和代理器。

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 19th, 2026
Created on July 12th, 2019
Open Issues & Pull Requests: 10 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 310
Total Stargazers: 3,517 (+0)
Total Subscribers: 87 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

QuickJS is a small and embeddable JavaScript engine that supports the ES2020 specification, including modules, async generators, and proxies.

The engine solves the problem of needing a lightweight JavaScript runtime that can be integrated into C applications without external dependencies. It compiles JavaScript source code to bytecode and executes it through an interpreter, offering optional mathematical extensions like BigInt and BigFloat. The tool includes a command-line interpreter and a compiler that can generate standalone executables from JavaScript code, making it suitable for embedding in larger systems or creating self-contained applications.

Developers should choose this tool when they need a minimal JavaScript runtime with fast startup times and low memory footprint. It works well for projects requiring ES2023 compliance without the overhead of larger engines, and for applications where JavaScript code must be compiled into executables with no external runtime dependencies. The project is particularly suited to embedded systems, scripting within C applications, and scenarios where deterministic garbage collection behavior matters.

The project maintains active development with regular updates to language feature support and bug fixes. Documentation is comprehensive, covering the C API for embedding, internal implementation details including bytecode generation and garbage collection mechanics, and standard library modules for file I/O and system operations. The repository includes extensive test coverage through both internal tests and the ECMAScript test suite, demonstrating commitment to specification compliance.