numpy-ts

NumPy implementation in TypeScript/JS.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Avoid splitting your stack if you’re already building in TS/JS. Tree-shakable library with universal runtime support across server and client. No additional dependencies. Validated against NumPy tests.

Tradeoffs

Not quite at 100% NumPY API coverage yet (94%). Slower than NumPy (average 11x slower, median 3x slower) for many of the benchmarks, as you’d expect.

Is numpy-ts a fit?

Based on Console’s review published on 2026-03-05. Summary updated .

Who it’s for

Developers using TypeScript or JavaScript should consider this tool for numerical computations

Why consider it

It provides a tree-shakable library with universal runtime support

Keep in mind

It is slower than NumPy for many benchmarks

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2026-03-05. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.