stdlib

github.com/stdlib-js/stdlib Programming Languages Open-source projectOpen source

The stdlib project provides a numerical library for JavaScript and TypeScript applications.

github.com/stdlib-js/stdlib
stdlib homepage screenshot

About stdlib

stdlib is an open-source standard library for numerical and scientific computation, written in JavaScript and C for execution in browsers and Node.js. It covers mathematics, statistics, data processing, streams and general utilities, with a fully decomposable architecture that lets developers swap out or mix individual APIs rather than adopting the whole library.

The repository hosts the source code and documentation. Pricing information is not stated in the source, and installation instructions default to npm, though other package managers can be used by substituting their commands. Native add-ons interface with BLAS libraries and include pure JavaScript fallbacks. The source does not state geographic restrictions or usage limits.

Key features

  • 150+ special math functions
  • 35+ probability distributions with PDFs, CDFs, quantiles and moments
  • 40+ seedable pseudorandom number generators
  • 200+ utilities for data transformation, functional programming and async control flow
  • 200+ assertion utilities for data validation and feature detection
  • Plot API, 50+ sample datasets and a REPL environment
Best for: JavaScript and TypeScript developers who need modular building blocks for numerical, statistical or scientific computing in Node.js or the browser.
Good for
  • Open source with a decomposable architecture that allows swapping and mixing APIs
  • Every function ships with TypeScript declaration files for type safety and IDE completion
  • Can be bundled with Browserify, Webpack and other bundlers for browser use

stdlib at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

stdlib alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Programming Languages

Well-known listings from the same topic.

All 66

stdlib FAQ

Where can stdlib code run?
In browsers and in Node.js; it can be bundled with tools such as Browserify and Webpack for web use.
Does stdlib support TypeScript?
Yes. Every function is accompanied by TypeScript declaration files, which support type safety and code completion in IDEs.
How is stdlib installed?
Installation instructions default to npm; using other package managers such as yarn generally means substituting the equivalent commands.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing