onnxruntime/js/node
Yulong Wang 8eaa4c33e2
[js] fix library bundling and some trivial improvement (#7550)
* [js] fix library bundling

* fix filename in code comments
2021-05-03 18:31:55 -07:00
..
lib [JS] onnxruntime-web (#7394) 2021-04-27 00:04:25 -07:00
script [js/node] fix pacakge metadata of onnxruntime-node (#7542) 2021-05-02 11:17:32 -07:00
src
test [JS] onnxruntime-web (#7394) 2021-04-27 00:04:25 -07:00
.gitignore
.npmignore [js/node] fix pacakge metadata of onnxruntime-node (#7542) 2021-05-02 11:17:32 -07:00
CMakeLists.txt
package-lock.json [js/node] fix pacakge metadata of onnxruntime-node (#7542) 2021-05-02 11:17:32 -07:00
package.json [js] fix library bundling and some trivial improvement (#7550) 2021-05-03 18:31:55 -07:00
README.md [js] fix library bundling and some trivial improvement (#7550) 2021-05-03 18:31:55 -07:00
tsconfig.json [JS] onnxruntime-web (#7394) 2021-04-27 00:04:25 -07:00

ONNX Runtime Node.js Binding

ONNX Runtime Node.js binding enables Node.js applications to run ONNX model inference.

Usage

Install the latest stable version:

npm install onnxruntime-node

Refer to Node.js samples for samples and tutorials.

Requirements

ONNXRuntime works on Node.js v12.x+ or Electron v5.x+.

Following platforms are supported with pre-built binaries:

  • Windows x64 CPU NAPI_v3
  • Linux x64 CPU NAPI_v3
  • MacOS x64 CPU NAPI_v3

To use on platforms without pre-built binaries, you can build Node.js binding from source and consume it by npm install <onnxruntime_repo_root>/js/node/. See also instructions for building ONNX Runtime Node.js binding locally.

License

License information can be found here.