
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
@stdlib/stdlib
Advanced tools
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.
This is the GitHub repository of stdlib source code and documentation. For help developing stdlib, see the development guide.
150+ special math functions.
35+ probability distributions, with support for evaluating probability density functions (PDFs), cumulative distribution functions (CDFs), quantiles, moments, and more.
40+ seedable pseudorandom number generators (PRNGs).
200+ general utilities for data transformation, functional programming, and asynchronous control flow.
200+ assertion utilities for data validation and feature detection.
50+ sample datasets for testing and development.
A plot API for data visualization and exploratory data analysis.
Native add-ons for interfacing with BLAS libraries, with pure JavaScript fallbacks.
A benchmark framework supporting TAP.
REPL environment with integrated help and examples.
Can be bundled using Browserify, Webpack, and other bundlers for use in web browsers.
Running stdlib requires the following prerequisites:
>= 0.10
)> 2.7.0
; if Node < 1.0.0
, version > 2.7.0
and < 4.0.0
; if Node < 6.0.0
, version > 2.7.0
and < 6.0.0
)Most functionality in stdlib is implemented exclusively in JavaScript; however, some implementations try to capture performance benefits by using native bindings and/or WebAssembly. 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:
>= 4.8
; clang version >= 3.5
, Xcode version >=8.3.1
on OS X)>= 4.8
)While not required to run stdlib, the following dependencies are required for automatically downloading external libraries:
The following external libraries can be automatically downloaded and compiled from source using make
:
To install as a library or application dependency,
$ npm install @stdlib/stdlib
To install globally for use as a command-line utility,
$ npm install -g @stdlib/stdlib
which will expose the stdlib
command. For example, to see available sub-commands
$ stdlib help
For distributable bundles for use in browser environments, see the dist
directory and associated guide.
Otherwise, 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-2018. The Stdlib Authors.
OS | Build (master) | Coverage (master) | Build (develop) | Coverage (develop) |
---|---|---|---|---|
Linux/OS X | ||||
Windows |
Test and build infrastructure is generously provided by the following services:
FAQs
Standard library.
The npm package @stdlib/stdlib receives a total of 0 weekly downloads. As such, @stdlib/stdlib popularity was classified as not popular.
We found that @stdlib/stdlib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.