A standard library for JavaScript and Node.js.
Stdlib is a standard library for JavaScript and Node.js, with an emphasis on numeric computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more. This is the GitHub repository of stdlib source code and documentation.
For help developing stdlib, see the development guide.
Running stdlib requires the following prerequisites:
- Node.js: JavaScript runtime (version
>= 0.10) - npm: package manager (version
> 2.7.0; if Node< 1.0.0, version> 2.7.0and< 4.0.0)
Most functionality in stdlib is implemented exclusively in JavaScript; however, some implementations try to capture performance benefits by using native bindings. While not required to run stdlib, as every stdlib implementation has a JavaScript fallback, the following dependencies are required for building native add-ons, including linking to BLAS and LAPACK libraries:
- GNU make: development utility and task runner
- gcc & g++ or Clang: C/C++ compilation and linking (g++ version
>= 4.8; clang version>= 3.5, Xcode version>=4.4on OS X) - gfortran: Fortran compilation and linking (version
>= 4.8)
While not required to run stdlib, the following dependencies are required for automatically downloading vendor libraries:
The following vendor libraries can be automatically downloaded and compiled from source using make:
- OpenBLAS: optimized BLAS library
To install as a library or application dependency,
$ npm install @stdlib/stdlibOtherwise, to install as a system library, follow the download, configuration, and installation instructions as described in the development guide.
See the contributing guidelines.
See LICENSE.
Copyright © 2016-2017. The Stdlib Authors.
| OS | Build (master) | Coverage (master) | Build (develop) | Coverage (develop) |
|---|---|---|---|---|
| Linux/OS X | ||||
| Windows |
