stdlib-js/stdlib

✨ The fundamental numerical library for JavaScript and TypeScript. ✨                   ⭐️ Star to support our work!

View on GitHub ↗Jump to charts ↓

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 7 minutes ago
Added to GitGenius on September 17th, 2024
Created on March 24th, 2016
Open Issues & Pull Requests: 1,690 (+3)
GitHub issues: Enabled
Number of forks: 1,305
Total Stargazers: 5,988 (+0)
Total Subscribers: 56 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 8.2 days
Mean response time: 126.7 days
90th percentile: 192.3 days
Tracked items: 1,894

How this project is maintained

About 4% of issues opened in the past year have never received a reply. 38% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 53% of tracked open issues have had no activity in three months. 78% of issues opened in the past year have been closed, leaving a working backlog. Three people close 98% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 415
New in 7 days: 8
Closed in 7 days: 5
Avg open age: 940 days
Stale 30+ days: 388
Stale 90+ days: 355

Recent activity

Opened in 7 days: 8
Closed in 7 days: 3
Comments in 7 days: 16
Events in 7 days: 42

Top labels

  • Good First Issue (1,600)
  • RFC (1,223)
  • Feature (1,108)
  • Accepted (900)
  • priority: Normal (810)
  • difficulty: 2 (740)
  • Statistics (670)
  • C (583)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

stdlib is a comprehensive standard library for JavaScript and TypeScript designed to bring numerical and scientific computing capabilities to the web and Node.js environments. Written in JavaScript with C components, the library provides a decomposable architecture that allows developers to use only the functionality they need rather than being forced to adopt an all-or-nothing approach. The project emphasizes code quality, with maintainers stressing that users can be confident in the thoroughness, rigor, documentation, testing, and measurement applied to every component.

The library encompasses an extensive collection of mathematical and statistical tools. It includes over 150 special math functions, more than 35 probability distributions with support for probability density functions, cumulative distribution functions, quantiles, and moments, and over 40 seedable pseudorandom number generators. Beyond pure mathematics, stdlib provides 200 general utilities for data transformation, functional programming, and asynchronous control flow, along with 200 assertion utilities for data validation and feature detection. The project also includes 50 sample datasets useful for testing and development purposes.

A distinctive feature of stdlib is its plot API for data visualization and exploratory data analysis, enabling users to create visualizations directly within their JavaScript environment. The library includes native add-ons for interfacing with BLAS libraries while maintaining pure JavaScript fallbacks for broader compatibility. Additional tooling includes a benchmark framework supporting TAP and a REPL environment with integrated help and examples, making it suitable for interactive numerical work.

The library is designed for multiple deployment scenarios. It can be bundled using Browserify, Webpack, and other bundlers for browser use, consumed via CDN through pre-built UMD bundles, or used as ES Modules. Every function includes TypeScript declaration files, ensuring type safety and enabling intelligent code completion in modern IDEs. Installation flexibility allows users to install individual packages, top-level namespaces, or the entire project depending on their specific needs.

Community engagement around stdlib is active and structured.