ruvector-onnx-embeddings-wasmRepository35/100 via “multi-runtime deployment and environment detection”
Portable WASM embedding generation with SIMD and parallel workers - run text embeddings in browsers, Cloudflare Workers, Deno, and Node.js
Unique: Implements runtime-agnostic abstraction layer with pluggable I/O backends (Node.js fs, browser fetch, Deno file API), allowing single codebase to transparently use platform-native APIs without conditional compilation. Includes automatic feature detection and graceful degradation (e.g., falling back to single-threaded execution if Worker Threads unavailable).
vs others: More portable than platform-specific embedding libraries (e.g., Python sentence-transformers), and simpler than maintaining separate codebases for each runtime (Node.js, browser, Deno, Cloudflare).