# @mikrojs/quickjs

> QuickJS-NG engine source, shared CMake module, and qjsc bytecode compiler

Latest version **0.22.0** (published 2026-09-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @mikrojs/quickjs
pnpm add @mikrojs/quickjs
yarn add @mikrojs/quickjs
bun add @mikrojs/quickjs
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.22.0 |
| Published | 2026-09-30 |
| First published | 2026-04-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=24.0.0 |
| Dependencies | 0 |
| Unpacked size | 3.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 16 |
| Author | Bjørge Næss <bjoerge@gmail.com> |
| Maintainers | bjoerge |
| Keywords | bytecode, compiler, mikrojs, quickjs |

## Links

- npm: https://www.npmjs.com/package/@mikrojs/quickjs
- Repository: https://github.com/mikrojs/mikro
- Homepage: https://github.com/mikrojs/mikro#readme
- Issues: https://github.com/mikrojs/mikro/issues
- npm.io page: https://npm.io/package/@mikrojs/quickjs

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.22.0 (latest) — 2026-09-30
- 0.21.1-next.20260928214050 (next) — 2026-09-28
- 0.21.0-pr-431.20260921210123 (pr-431) — 2026-09-21
- 0.19.0-pr-352.20260829215534 (pr-352) — 2026-08-29
- 0.18.0-pr-306.20260731215718 (pr-306) — 2026-07-31
- 0.17.1-pr-300.20260731010039 (pr-300) — 2026-07-31
- 0.17.0-pr-276.20260721233726 (pr-276) — 2026-07-21
- 0.16.1-pr-265.20260718161156 (pr-265) — 2026-07-18
- 0.15.0-pr-243.20260613121220 (pr-243) — 2026-06-13
- 0.14.0-pr-229.20260613004639 (pr-229) — 2026-06-13
- 0.11.0-pr-172.g462f877 (pr-172) — 2026-05-30
- 0.10.0-pr-171.g56c9fcc (pr-171) — 2026-05-30
- 0.10.0-pr-134.gc6ec955 (pr-134) — 2026-05-30
- 0.8.0-pr-133.g02588d5 (pr-133) — 2026-05-21
- 0.8.0-pr-115.g87a99f9 (pr-115) — 2026-05-16
- … 74 more at https://npm.io/package/@mikrojs/quickjs/versions

## README

# @mikrojs/quickjs

QuickJS-NG engine wrapper for Mikro.js. Provides the engine source, a shared CMake module, and the `qjsc` bytecode compiler.

## What's included

- **`deps/quickjs/`** - QuickJS-NG source (git submodule)
- **`quickjs.cmake`** - Shared CMake module. Creates a `quickjs` static library target for normal CMake builds; exports source/include variables for ESP-IDF builds.
- **`qjsc`** - Bytecode compiler, built from source at `pnpm install` time via `postinstall.js`.

## JS exports

```js
import {cmakePath, includePath, qjscPath} from '@mikrojs/quickjs'
```

- `cmakePath` - Path to `quickjs.cmake`
- `includePath` - Path to QuickJS header directory
- `qjscPath` - Path to the compiled `qjsc` binary

---
_Source: https://npm.io/package/@mikrojs/quickjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
