About this project

stdlib is a robust standard library focused on numerical and scientific computation. It provides a wide array of tools for mathematics, statistics, and data processing, featuring a decomposable architecture that allows users to import only the specific functionality they need to minimize bundle sizes. Key capabilities include: - Mathematics: Over 150 special math functions. - Statistics: 35+ probability distributions supporting PDFs, CDFs, quantiles, and moments. - Random Number Generation: 40+ seedable pseudorandom number generators (PRNGs). - Utilities: 200+ general utilities for data transformation and functional programming, and 200+ assertion utilities for data validation. - Data Handling: 50+ sample datasets for testing and development. - Visualization: A dedicated plot API for data visualization and exploratory analysis. - Performance: Native add-ons for interfacing with BLAS libraries, with pure JavaScript fallbacks for compatibility. - Tooling: A benchmark framework supporting TAP and an integrated REPL environment. The library is highly flexible in its distribution, supporting installation via npm as a complete library, individual packages, or top-level namespaces. It also provides environment-specific builds for ES Modules, Deno, and UMD (browser and server).