{"_id":"@chthollyphile/onnxruntime-node-folia","_rev":"2-07daf23d3c979b4ab0b8476a89997378","name":"@chthollyphile/onnxruntime-node-folia","dist-tags":{"latest":"1.29.0-folia.1"},"versions":{"1.29.0-folia.0":{"name":"@chthollyphile/onnxruntime-node-folia","version":"1.29.0-folia.0","keywords":["ONNX","ONNXRuntime","ONNX Runtime"],"author":{"name":"fs-eire"},"license":"MIT","_id":"@chthollyphile/onnxruntime-node-folia@1.29.0-folia.0","maintainers":[{"name":"chthollyphile","email":"fuyukasane@gmail.com"}],"homepage":"https://github.com/chthollyphile/onnxruntime#readme","bugs":{"url":"https://github.com/chthollyphile/onnxruntime/issues"},"os":["win32","darwin","linux"],"dist":{"shasum":"9b7552988402b84c4c288bce451d60ebeb488e45","tarball":"https://registry.npmjs.org/@chthollyphile/onnxruntime-node-folia/-/onnxruntime-node-folia-1.29.0-folia.0.tgz","fileCount":38,"integrity":"sha512-dNX1rsecUmg79ojGNNN3H6UdYluhmP+JxaAICJLYY7e0sksLTrljAqyQP3LaZ1rJYNyjP/rZmKbp92C624B90g==","signatures":[{"sig":"MEUCIQDmEgg+ZTlpWhJuflTCSBOoBsa6glJ5ap7jYf/xecJT9gIgIXpEm+YlgmD4JH7oPSS+5kpW1H4WfHnXSI5Ls1zgDW4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":166135687},"main":"dist/index.js","_from":"file:npm-package/chthollyphile-onnxruntime-node-folia-1.29.0-folia.0.tgz","types":"dist/index.d.ts","binary":{"napi_versions":[6]},"scripts":{"test":"tsc --build ../scripts && node ../scripts/prepare-onnx-node-tests && mocha ./test/test-main","build":"tsc && node ./script/build","buildd":"tsc && node ./script/build --config=Debug","buildr":"tsc && node ./script/build --config=RelWithDebInfo","prepack":"node ./script/prepack","prepare":"tsc --build script test .","rebuild":"tsc && node ./script/build --rebuild","rebuildd":"tsc && node ./script/build --rebuild --config=Debug","rebuildr":"tsc && node ./script/build --rebuild --config=RelWithDebInfo","preprepare":"node -e \"require('node:fs').copyFileSync('./node_modules/long/index.d.ts', './node_modules/long/umd/index.d.ts')\"","postinstall":"node ./script/install"},"_npmUser":{"name":"chthollyphile","email":"fuyukasane@gmail.com"},"_resolved":"/home/runner/work/onnxruntime/onnxruntime/npm-package/chthollyphile-onnxruntime-node-folia-1.29.0-folia.0.tgz","_integrity":"sha512-dNX1rsecUmg79ojGNNN3H6UdYluhmP+JxaAICJLYY7e0sksLTrljAqyQP3LaZ1rJYNyjP/rZmKbp92C624B90g==","repository":{"url":"git+https://github.com/chthollyphile/onnxruntime.git","type":"git"},"_npmVersion":"11.17.0","description":"ONNXRuntime Node.js binding","directories":{},"_nodeVersion":"24.19.0","dependencies":{"adm-zip":"^0.6.0","global-agent":"^4.1.3","onnxruntime-common":"1.29.0"},"_hasShrinkwrap":false,"devDependencies":{"jsonc":"^2.0.0","cmake-js":"^8.0.0","minimist":"^1.2.8","protobufjs":"^7.2.4","@types/node":"^20.10.0","node-addon-api":"^6.0.0","@types/minimist":"^1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/onnxruntime-node-folia_1.29.0-folia.0_1787550602294_0.9237897151393573","host":"s3://npm-registry-packages-npm-production"}},"1.29.0-folia.1":{"license":"MIT","name":"@chthollyphile/onnxruntime-node-folia","repository":{"url":"git+https://github.com/chthollyphile/onnxruntime.git","type":"git"},"author":{"name":"fs-eire"},"binary":{"napi_versions":[6]},"version":"1.29.0-folia.1","dependencies":{"adm-zip":"^0.6.0","global-agent":"^4.1.3","onnxruntime-common":"1.29.0"},"scripts":{"postinstall":"node ./script/install","buildr":"tsc && node ./script/build --config=RelWithDebInfo","preprepare":"node -e \"require('node:fs').copyFileSync('./node_modules/long/index.d.ts', './node_modules/long/umd/index.d.ts')\"","prepare":"tsc --build script test .","rebuild":"tsc && node ./script/build --rebuild","rebuildd":"tsc && node ./script/build --rebuild --config=Debug","buildd":"tsc && node ./script/build --config=Debug","build":"tsc && node ./script/build","test":"tsc --build ../scripts && node ../scripts/prepare-onnx-node-tests && mocha ./test/test-main","prepack":"node ./script/prepack","rebuildr":"tsc && node ./script/build --rebuild --config=RelWithDebInfo"},"keywords":["ONNX","ONNXRuntime","ONNX Runtime"],"devDependencies":{"@types/minimist":"^1.2.2","@types/node":"^20.10.0","cmake-js":"^8.0.0","jsonc":"^2.0.0","minimist":"^1.2.8","node-addon-api":"^6.0.0","protobufjs":"^7.2.4"},"main":"dist/index.js","os":["win32","darwin","linux"],"types":"dist/index.d.ts","description":"ONNXRuntime Node.js binding","_id":"@chthollyphile/onnxruntime-node-folia@1.29.0-folia.1","bugs":{"url":"https://github.com/chthollyphile/onnxruntime/issues"},"homepage":"https://github.com/chthollyphile/onnxruntime#readme","_integrity":"sha512-NNiYz4rrRP3xQ+hWjvNS5Qz2ymJ0OtafXhit+IAee+bFUvTrujegvL5o4b+gzsqTlqu9mljrtJAQZH0sm8eAXQ==","_resolved":"/home/runner/work/onnxruntime/onnxruntime/npm-package/chthollyphile-onnxruntime-node-folia-1.29.0-folia.1.tgz","_from":"file:npm-package/chthollyphile-onnxruntime-node-folia-1.29.0-folia.1.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-NNiYz4rrRP3xQ+hWjvNS5Qz2ymJ0OtafXhit+IAee+bFUvTrujegvL5o4b+gzsqTlqu9mljrtJAQZH0sm8eAXQ==","shasum":"e3df4b2e745f2f7dd2d9ccbc24bb4322da43aeea","tarball":"https://registry.npmjs.org/@chthollyphile/onnxruntime-node-folia/-/onnxruntime-node-folia-1.29.0-folia.1.tgz","fileCount":44,"unpackedSize":300413055,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHIXQyYT9H3jVNn1yhjSUsMgYGozdOMFw/BFoX3oP5M0AiEAwaZKEdYFQSFktjP7jP50nlpOVpH/FVkElZqiS8KBofg="}]},"_npmUser":{"name":"chthollyphile","email":"fuyukasane@gmail.com"},"directories":{},"maintainers":[{"name":"chthollyphile","email":"fuyukasane@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/onnxruntime-node-folia_1.29.0-folia.1_1787620492245_0.7101461439326309"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-24T05:50:02.143Z","modified":"2026-08-25T01:14:53.883Z","1.29.0-folia.0":"2026-08-24T05:50:03.065Z","1.29.0-folia.1":"2026-08-25T01:14:53.729Z"},"bugs":{"url":"https://github.com/chthollyphile/onnxruntime/issues"},"author":{"name":"fs-eire"},"license":"MIT","homepage":"https://github.com/chthollyphile/onnxruntime#readme","keywords":["ONNX","ONNXRuntime","ONNX Runtime"],"repository":{"url":"git+https://github.com/chthollyphile/onnxruntime.git","type":"git"},"description":"ONNXRuntime Node.js binding","maintainers":[{"name":"chthollyphile","email":"fuyukasane@gmail.com"}],"readme":"# ONNX Runtime Node.js Binding\n\nONNX Runtime Node.js binding enables Node.js applications to run ONNX model inference.\n\n## Usage\n\nInstall the latest stable version:\n\n```\nnpm install onnxruntime-node\n```\n\nInstall the nightly version:\n\n```\nnpm install onnxruntime-node@dev\n```\n\nRefer to [ONNX Runtime JavaScript examples](https://github.com/microsoft/onnxruntime-inference-examples/tree/main/js) for samples and tutorials.\n\n## Requirements\n\nONNXRuntime works on Node.js v16.x+ (recommend v20.x+) or Electron v15.x+ (recommend v28.x+).\n\nThe following table lists the supported versions of ONNX Runtime Node.js binding provided with pre-built binaries.\n\n| EPs/Platforms | Windows x64        | Windows arm64      | Linux x64          | Linux arm64        | MacOS x64          | MacOS arm64        |\n| ------------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |\n| CPU           | ✔️                 | ✔️                 | ✔️                 | ✔️                 | ✔️                 | ✔️                 |\n| WebGPU        | ✔️ <sup>\\[1]</sup> | ✔️ <sup>\\[1]</sup> | ✔️ <sup>\\[1]</sup> | ❌ <sup>\\[2]</sup> | ✔️ <sup>\\[1]</sup> | ✔️ <sup>\\[1]</sup> |\n| DirectML      | ✔️                 | ✔️                 | ❌                 | ❌                 | ❌                 | ❌                 |\n| CUDA          | ❌                 | ❌                 | ✔️<sup>\\[3]</sup>  | ❌                 | ❌                 | ❌                 |\n| CoreML        | ❌                 | ❌                 | ❌                 | ❌                 | ✔️                 | ✔️                 |\n\n- \\[1]: WebGPU support is currently experimental.\n- \\[2]: WebGPU support is not available on Linux arm64 yet in the pre-built binaries.\n- \\[3]: CUDA v12. See [CUDA EP Installation](#cuda-ep-installation) for details.\n\nTo 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](https://onnxruntime.ai/docs/build/inferencing.html#apis-and-language-bindings) for building ONNX Runtime Node.js binding locally.\n\n# GPU Support\n\nRight now, the Windows version supports WebGPU execution provider and DML execution provider. Linux x64 can use CUDA and TensorRT.\n\n## CUDA EP Installation\n\nTo use CUDA EP, you need to install the CUDA EP binaries. By default, the CUDA EP binaries are installed automatically when you install the package. If you want to skip the installation, you can pass the `--onnxruntime-node-install=skip` flag to the installation command.\n\n```\nnpm install onnxruntime-node --onnxruntime-node-install=skip\n```\n\n~~You can also use this flag to specify the version of the CUDA: (v11 or v12)~~ CUDA v11 is no longer supported since v1.22.\n\n## License\n\nLicense information can be found [here](https://github.com/microsoft/onnxruntime/blob/main/README.md#license).\n","readmeFilename":"README.md"}