Skip to content

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

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

    JavaScript 6k 1.4k

  2. meetings meetings Public

    Agendas and minutes for official public meetings involving stdlib.

    5 1

  3. google-summer-of-code google-summer-of-code Public

    Google Summer of Code resources.

    JavaScript 86 46

Repositories

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

    Project code coverage.

    stdlib-js/www-test-code-coverage's past year of commit activity
    HTML 4 6 3 1 Updated Dec 2, 2026
  • stats-strided-dnanminabs Public

    Calculate the minimum absolute value of a double-precision floating-point strided array, ignoring NaN values.

    stdlib-js/stats-strided-dnanminabs's past year of commit activity
    JavaScript 0 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • stdlib Public

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

    stdlib-js/stdlib's past year of commit activity
    JavaScript 6,041 Apache-2.0 1,380 451 (31 issues need help) 1,455 Updated Dec 2, 2026
  • math-strided-special-dmskfloor Public

    Round each element in a double-precision floating-point strided array toward negative infinity according to a strided mask array.

    stdlib-js/math-strided-special-dmskfloor's past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • math-strided-special-smsktrunc Public

    Round each element in a single-precision floating-point strided array toward zero according to a strided mask array.

    stdlib-js/math-strided-special-smsktrunc's past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • math-strided-special-sabs Public

    Compute the absolute value for each element in a single-precision floating-point strided array.

    stdlib-js/math-strided-special-sabs's past year of commit activity
    JavaScript 1 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • math-strided-special-sceil Public

    Round each element in a single-precision floating-point strided array toward positive infinity.

    stdlib-js/math-strided-special-sceil's past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • math-strided-special-dsqrt Public

    Compute the principal square root for each element in a double-precision floating-point strided array.

    stdlib-js/math-strided-special-dsqrt's past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • utils-try-require Public

    Wrap `require` in a try/catch block.

    stdlib-js/utils-try-require's past year of commit activity
    JavaScript 3 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • math-strided-special-dmskdeg2rad Public

    Convert each element in a double-precision floating-point strided array from degrees to radians according to a strided mask array.

    stdlib-js/math-strided-special-dmskdeg2rad's past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Dec 2, 2026