# numpy-ts

NumPy implementation in TypeScript/JS.

Source: [Console review](<https://console.dev/tools/numpy-ts>)

Website: [https://numpyts.dev/](<https://numpyts.dev/>)

Profile updated: 2026-10-16

Category: [Machine learning](<https://console.dev/tools/categories/data-science-ml>)

## Supported tech stack

Research checked: 2026-10-11

### Runs on

- Bun (Runtime)
- Deno (Runtime)
- WebAssembly (Runtime)

### Integrates with

- JavaScript (Language)
- TypeScript (Language)

### Written in

- TypeScript (Language)

Source: [Research source](<https://numpyts.dev/>)

Documented compatibility; coverage may be incomplete. Written in describes implementation, not user-project language support.

Numerical library implements NumPy-like APIs in TypeScript/JavaScript and WebAssembly; installation supports Bun and Deno.

## Console’s review — 2026-03-05

Reviewed: 2026-03-05

Author: [David Mytton](<https://console.dev/about#david-mytton>)

Citation: [This review](<https://console.dev/tools/numpy-ts#review_f1a5f33c1850992fdf19a5024df80c71627652fa9f171cfd3665dad83b2aa8c0>)

### 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.

This review reflects Console’s assessment at publication on 2026-03-05. Features and limitations may have changed since the review date.

## Is numpy-ts a fit?

Based on [Console’s review published on 2026-03-05](<https://console.dev/tools/numpy-ts#review_f1a5f33c1850992fdf19a5024df80c71627652fa9f171cfd3665dad83b2aa8c0>).

Summary updated: 2026-10-16

### 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

[Selection criteria](<https://console.dev/selection-criteria>) · [About Console](<https://console.dev/about>) · [Browse tools](<https://console.dev/tools>)
