npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

openvino-node

v2026.3.0

Published

OpenVINO™ Runtime for Node.js: high-performance deep learning inference on Intel CPU, GPU, and NPU.

Readme

OpenVINO™ for Node.js

OpenVINO logo

Quick installGetting StartedUse CasesDocumentationSamples

NPM Version OS NPM License

openvino-node brings the OpenVINO™ Runtime to Node.js. Deploy deep learning models with high-performance, hardware-accelerated inference directly from JavaScript and TypeScript applications. The package provides bindings to a subset of the OpenVINO Runtime API.

Prebuilt native addons and the OpenVINO runtime are fetched during npm install. You do not need a separate OpenVINO SDK installation for typical use.

Key Features and Benefits:

  • 📦 Ready-to-use Runtime: Read, compile, and run OpenVINO IR, ONNX, TensorFlow, TFLite, and PaddlePaddle models directly from Node.js.
  • 📥 Plug-and-play install: Prebuilt native addons and the OpenVINO runtime are downloaded on npm install — no manual OpenVINO installation for typical use.
  • 🖥️ In-process inference: Run models directly inside your Node.js application process — no separate inference service or access tokens.
  • 🚀 Performance Optimization: Hardware-specific optimizations for CPU, GPU, and NPU devices, with synchronous and asynchronous inference.
  • 👨‍💻 Programming Language Support: API aligned with the OpenVINO Python/C++ APIs where possible, with TypeScript type definitions included.
  • 🧰 Preprocessing Support: Built-in pre/post-processing (layout, resize, element type conversion) via PrePostProcessor.

Example use cases

openvino-node can run any model supported by OpenVINO Runtime. The following tasks are demonstrated by the bundled samples and notebooks:

Quick install

npm install openvino-node
const { addon: ov } = require("openvino-node");

Requirements

Node.js ≥ 21. Refer to the supported platforms for more details.

Supported platforms

| OS | x86 | ARM | | ------ | ------- | ------- | | Windows | ✅ | ❌ | | Linux | ✅ | ✅ | | macOS | ❌ | ✅ |

Prebuilt binaries are downloaded for your OS/arch during npm install. If a platform is unsupported, you can build from source per the JavaScript API Developer Documentation.

Getting started

Model preparation

OpenVINO works best with models converted to OpenVINO IR (for example with Optimum Intel or ovc). ONNX, TensorFlow, TFLite, and PaddlePaddle models can also be read directly. See the model preparation documentation for more details.

Minimal example

Initialize the runtime Core, read a model, compile it for a device, and run inference:

const { addon: ov } = require("openvino-node");

async function main() {
  const core = new ov.Core(); // OpenVINO's starting point, one Core instance per application

  // Read and compile a model (OpenVINO IR, ONNX, TF, TFLite, or Paddle)
  const compiledModel = await core.compileModel("/path/to/model.xml", "CPU");

  // Allocate an input tensor (fill it with real input data for your model)
  const input = compiledModel.inputs[0];
  const inputTensor = new ov.Tensor(ov.element.f32, input.shape);

  // Create an infer request and run inference
  const inferRequest = compiledModel.createInferRequest();
  const result = inferRequest.infer([inputTensor]);
  // Read the output
  console.log(result[compiledModel.outputs[0]].data);

}

main();

Refer to the complete description of the addon API in the documentation.

More runnable examples are available in the OpenVINO Node.js samples.

Usage in Electron applications

To use the package in development of Electron applications on Windows, make sure that the Desktop development with C++ component from Build Tools for Visual Studio is installed.

Build From Sources

For more details, refer to the OpenVINO™ JavaScript API Developer Documentation

Contributing

Contributions are always welcome! Read the Contribution Guide to learn how you can get involved.

License

The OpenVINO™ repository is licensed under Apache License Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.