mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
### Description
Add an API for users to get version of current package. example usage:
```js
import { env } from 'onnxruntime-node';
console.log(env.versions.node); // output "1.16.0"
```
```js
import { env } from 'onnxruntime-web';
console.log(env.versions.web); // output "1.16.0"
console.log(env.versions.common); // output "1.16.0"
console.log(env.versions.node); // output "undefined"
```
#16156
|
||
|---|---|---|
| .. | ||
| pack-npm-packages.ps1 | ||
| react_native_e2e_full_aar_build_settings.json | ||
| react_native_e2e_full_ios_framework_build_settings.json | ||
| react_native_e2e_mobile_aar_build_settings.json | ||
| react_native_e2e_mobile_ios_framework_build_settings.json | ||
| validate-npm-packages.py | ||