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

    ✨ 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
  • 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
  • utils-if-then Public

    If a condition is truthy, invoke `x`; otherwise, invoke `y`.

    stdlib-js/utils-if-then's past year of commit activity
    JavaScript 3 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • assert-is-write-only-property-in Public

    Test if an object's own or inherited property is write-only.

    stdlib-js/assert-is-write-only-property-in's past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Dec 2, 2026
  • assert-is-accessor-property-in Public

    Test if an object's own or inherited property has an accessor descriptor.

    stdlib-js/assert-is-accessor-property-in's past year of commit activity
    JavaScript 2 Apache-2.0 0 0 0 Updated Dec 2, 2026