Overview of ONNX Runtime JavaScript APIs
mainThe ONNX Runtime JavaScript API is distributed across several NPM projects depending on your target environment:
onnxruntime-common: Pure JavaScript code designed to run in both Node.js and browsers. Contains core interfaces likeInferenceSession,Tensor/OnnxValue, andBackendregistration.onnxruntime-node: Node.js bindings that allow Node.js users to consume ONNX Runtime via a native binding.onnxruntime-web: A library for running ONNX models in web browsers (the successor to ONNX.js).onnxruntime-react-native: Support for React Native environments.