NumPy for Browser, Node.js, Deno and Bun
NumPy for Browser, Node.js, Deno and Bun
I've been spending some time on a side project, `numpy-ts`, which is a TypeScript numerical library inspired by NumPy. It aims to bring the same NumPy API (where possible) to Node.js/Browser/Deno/Bun with full .npy/.npz compatibility (read & write). It currently has 476 of NumPy's 507 functions implemented, all cross-validated against NumPy with >6,000 validation tests. The lib is about 93 kB minified+gzipped and has zero dependencies, and it's fully tree-shakeable. Since it's written in TypeScript, it's on average 15x slower than NumPy. I just tagged 1.0.0, and will begin performance optimization soon (both algorithmic and selective WASM for fused kernels). You can try it in your browser here: https://numpyts.dev/playground Disclaimer that this was a mix of hand-written code (API, deterministic tooling) and AI-assisted (functional implementations, validation test implementations).
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
CheerpX – x86 Node.js/python3/Ruby REPL in browser via WebAssembly JIT
N-clark – a LUIS.ai wrapper for Node.js/browser
Vim2html for node.js
TDD Given-When-Then for Node.js
Coolx5 - Node.js, Websockets, MongoDB and a clickable zombie
Yet Another Node.js Logger – femto-logger
HTML5 MMORPG – Node.js
Regex Expansion in Node.js
Norby – Call your Ruby libraries from Node.js
A Node.js delta encoder