Skip to content
@stdlib-js

stdlib

Standard library for JavaScript.

stdlib (/ˈstændərd lɪb/ "standard lib") is a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing applications. The library provides a collection of robust, high performance libraries for mathematics, statistics, data processing, streams, and more and includes many of the utilities you would expect from a standard library.

Development of the project happens in the pinned stdlib repository, which contains library source code, tooling, and documentation. The pinned stdlib repository is also the place to file bug reports and feature requests.

The main stdlib project decomposes into individual packages that can be independently consumed. The GitHub organization contains individual repositories for each stdlib package, with each package repository containing pre-built package bundles for use in the browser, Node.js, and other environments, such as Deno. See the user stories section in the main project repository's README.md for guidance on how to make best use of stdlib given your specific needs.

Community

Chat

Pinned Loading

  1. stdlib stdlib Public

    ✨ Standard library for JavaScript and Node.js. ✨

    JavaScript 4.9k 619

Repositories

Showing 10 of 4070 repositories
  • www-test-code-coverage Public

    Project code coverage.

    stdlib-js/www-test-code-coverage’s past year of commit activity
    HTML 3 3 3 0 Updated Feb 24, 2025
  • blas-base-wasm-saxpy Public

    Multiply a vector `x` by a constant and add the result to `y`.

    stdlib-js/blas-base-wasm-saxpy’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • blas-ext-base-sdssumpw Public

    Calculate the sum of single-precision floating-point strided array elements using pairwise summation with extended accumulation.

    stdlib-js/blas-ext-base-sdssumpw’s past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • array-base-assert-has-equal-values-indexed Public

    Test if two indexed arrays have equal values.

    stdlib-js/array-base-assert-has-equal-values-indexed’s past year of commit activity
    JavaScript 0 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • slice-base-length Public

    Compute the number of elements in a normalized slice.

    stdlib-js/slice-base-length’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • array-base-strided2array3d Public

    Convert a strided array to a three-dimensional nested array.

    stdlib-js/array-base-strided2array3d’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • stats-base-nanvariance Public

    Calculate the variance of a strided array ignoring NaN values.

    stdlib-js/stats-base-nanvariance’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • assert-is-uint32array Public

    Test if a value is a Uint32Array.

    stdlib-js/assert-is-uint32array’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • array-base-mskfilter Public

    Return a new array by applying a mask to a provided input array.

    stdlib-js/array-base-mskfilter’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025
  • stats-base-dists-poisson-logpmf Public

    Natural logarithm of the probability mass function (PMF) for a Poisson distribution.

    stdlib-js/stats-base-dists-poisson-logpmf’s past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Feb 24, 2025