# @nodegui/qode

> Qode is a lightly modified fork of Node.js that allows injecting a third party event loop alongside Node's event loop. It is designed to be used together with `@nodegui/nodegui`

Latest version **24.12.0-rc18** (published 2026-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @nodegui/qode
pnpm add @nodegui/qode
yarn add @nodegui/qode
bun add @nodegui/qode
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 24.12.0-rc18 |
| Published | 2026-01-25 |
| First published | 2019-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 (+12 in 1 direct dependencies) |
| Install scripts | yes |
| Author | atulanand94@gmail.com |
| Maintainers | atulanand94, rahulgaba, kakulgupta, sedwards2009, shubhamzanwar, shirakaba |

## Links

- npm: https://www.npmjs.com/package/@nodegui/qode
- npm.io page: https://npm.io/package/@nodegui/qode

## Dependencies (5)

- [tar](https://npm.io/package/tar.md) ^6.1.6
- [make-dir](https://npm.io/package/make-dir.md) ^3.1.0
- [progress](https://npm.io/package/progress.md) ^2.0.3
- [env-paths](https://npm.io/package/env-paths.md) ^2.2.1
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 24.12.0-rc18 (latest) — 2026-01-25
- 24.12.0-rc19 (beta) — 2026-04-21
- 18.12.1 — 2023-02-15
- 18.12.1-rc1 — 2022-12-27
- 16.4.3 — 2022-07-01
- 16.4.1 — 2021-09-11
- 16.4.0 — 2021-08-09
- 2.1.1 — 2021-06-12
- 2.1.0 — 2020-05-13
- 2.0.4 — 2020-02-28
- 2.0.3 — 2020-02-26
- 2.0.2 — 2020-02-25
- 2.0.1 — 2020-02-22
- 2.0.0 — 2020-02-22
- 1.0.6 — 2019-11-22
- … 6 more at https://npm.io/package/@nodegui/qode/versions

## README

# Qode

<img alt="logo" src="https://github.com/nodegui/nodegui/raw/master/extras/logo/nodegui.png" height="200" />

Qode is a lightly modified fork of Node.js that allows Node's event loop to be merged with Qt's or any other Gui event loop.
It is designed to be used together with `@nodegui/nodegui`. Qode achieves this by allowing message loop injection via a NodeJS addon.

Qode allows you to run both Qt and Node's event loops in the same thread. This is crucial to achieving low CPU footprint.
Qode can be used as a _drop in_ replacement of NodeJS and hence you could consider it as NodeJS with Qt powers 💪.

This npm module downloads the prebuilt qode for the current Operating System.

_Build Instructions for qode can be found here:_ https://github.com/nodegui/qode

# Installation

```
yarn add @nodegui/qode
```

or

```
npm install @nodegui/qode
```

### Dowload mirrors

By default qode is downloaded using the github releases at

```js
`https://github.com/nodegui/qodejs/releases/download/v${libVersion}-qode/${gitTagVersion}-${platform}-${arch}.tar.gz`
```

if you need to specify an alternative download path you can set the environment variable `QODE_MIRROR` like so and run npm install

```
QODE_MIRROR=https://github.com/nodegui/qodejs/releases/download/v1.2-qode/1.2-linux-x64.tar.gz npm install @nodegui/qodejs
```

If it doesnt download make sure to clear the cached qode at https://github.com/nodegui/qodejs/blob/89ccb29fe3c9d66426311a95369c47820bca4de5/qode/npm/src/config.js#L29

# Version Table:

| Qode        | Node    | Qt                 |
| ----------- | ------- | ------------------ |
| 2.0.0       | 12.11.0 | depends on Nodegui |
| ----------- | ------- | ------------------ |
| 3.0.0       | 16.4.0  | depends on Nodegui |

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