# onnxruntime-node

> ONNXRuntime Node.js binding

Latest version **1.30.0** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install onnxruntime-node
pnpm add onnxruntime-node
yarn add onnxruntime-node
bun add onnxruntime-node
```

## Health

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

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads; no esm support; large bundle.

## Facts

| | |
|---|---|
| Version | 1.30.0 |
| Published | 2026-09-14 |
| First published | 2021-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 287.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 21903 |
| Author | fs-eire |
| Maintainers | erscor, erscor_msft, sanaahamel_microsoft, microsoft1es, eire |
| Keywords | ONNX, ONNXRuntime, ONNX Runtime |

## Links

- npm: https://www.npmjs.com/package/onnxruntime-node
- Repository: https://github.com/Microsoft/onnxruntime
- Homepage: https://github.com/Microsoft/onnxruntime#readme
- Issues: https://github.com/Microsoft/onnxruntime/issues
- npm.io page: https://npm.io/package/onnxruntime-node

## Dependencies (3)

- [adm-zip](https://npm.io/package/adm-zip.md) ^0.6.0
- [global-agent](https://npm.io/package/global-agent.md) ^4.1.3
- [onnxruntime-common](https://npm.io/package/onnxruntime-common.md) 1.30.0

## Recent versions

- 1.30.0 (latest) — 2026-09-14
- 1.31.0-dev.20260918-bc8e7ed75 (dev) — 2026-09-18
- 1.31.0-dev.20260916-2a720f925 — 2026-09-17
- 1.31.0-dev.20260917-bff4fcf7d — 2026-09-17
- 1.31.0-dev.20260915-fed7f01a0 — 2026-09-15
- 1.31.0-dev.20260914-8d85527a0 — 2026-09-14
- 1.31.0-dev.20260911-2a43ec07e — 2026-09-11
- 1.30.0-dev.20260910-f2c39fe2f — 2026-09-10
- 1.30.0-dev.20260909-e76036b8e — 2026-09-10
- 1.30.0-dev.20260909-b905e946b — 2026-09-09
- 1.30.0-dev.20260904-d47fd8824 — 2026-09-04
- 1.30.0-dev.20260901-a6e96aa798 — 2026-09-02
- 1.30.0-dev.20260826-b1f76d586a — 2026-08-27
- 1.30.0-dev.20260825-9cbf665b59 — 2026-08-25
- 1.29.0 — 2026-08-24
- … 166 more at https://npm.io/package/onnxruntime-node/versions

## README

<p align="center"><img width="50%" src="docs/images/ONNX_Runtime_logo_dark.png" /></p>

**ONNX Runtime is a cross-platform inference and training machine-learning accelerator**.

**ONNX Runtime inference** can enable faster customer experiences and lower costs, supporting models from deep learning frameworks such as PyTorch and TensorFlow/Keras as well as classical machine learning libraries such as scikit-learn, LightGBM, XGBoost, etc. ONNX Runtime is compatible with different hardware, drivers, and operating systems, and provides optimal performance by leveraging hardware accelerators where applicable alongside graph optimizations and transforms. [Learn more &rarr;](https://www.onnxruntime.ai/docs/#onnx-runtime-for-inferencing)

**ONNX Runtime training** can accelerate the model training time on multi-node NVIDIA GPUs for transformer models with a one-line addition for existing PyTorch training scripts. [Learn more &rarr;](https://www.onnxruntime.ai/docs/#onnx-runtime-for-training)

## Get Started & Resources

* **General Information**: [onnxruntime.ai](https://onnxruntime.ai)

* **Usage documentation and tutorials**: [onnxruntime.ai/docs](https://onnxruntime.ai/docs)

* **YouTube video tutorials**: [youtube.com/@ONNXRuntime](https://www.youtube.com/@ONNXRuntime)

* [**Upcoming Release Roadmap**](https://onnxruntime.ai/roadmap)

* **Companion sample repositories**:
  - ONNX Runtime Inferencing: [microsoft/onnxruntime-inference-examples](https://github.com/microsoft/onnxruntime-inference-examples)
  - ONNX Runtime Training: [microsoft/onnxruntime-training-examples](https://github.com/microsoft/onnxruntime-training-examples)

* **Plugin EP repositories**:
  - ONNX Runtime QNN Plugin EP: [onnxruntime/onnxruntime-qnn](https://github.com/onnxruntime/onnxruntime-qnn)

## Releases

The current release and past releases can be found here: https://github.com/microsoft/onnxruntime/releases.

For details on the upcoming release, including release dates, announcements, features, and guidance on submitting feature requests, please visit the release roadmap: https://onnxruntime.ai/roadmap.

## Data/Telemetry

This project may collect usage data and send it to Microsoft to help improve our products and services. See the [privacy statement](docs/Privacy.md) for more details.

## Contributions and Feedback

We welcome contributions! Please see the [contribution guidelines](CONTRIBUTING.md).

For feature requests or bug reports, please file a [GitHub Issue](https://github.com/Microsoft/onnxruntime/issues).

For general discussion or questions, please use [GitHub Discussions](https://github.com/microsoft/onnxruntime/discussions).

## Code of Conduct

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

## License

This project is licensed under the [MIT License](LICENSE).

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