a standard library for javascript and node.js
Downloadscroll down
Mathematics
High performance, rigorous, and robust mathematical and statistical functions. Build advanced statistical models and machine learning libraries.
View DocumentationData visualization
Plotting and graphics functionality for data visualization and exploratory data analysis. Analyze and understand your data.
View Documentationfunction indicator( v ) {
return v[ 0 ];
}
var arr = [ 'beep', 'boop', 'foo', 'bar' ];
var out = groupBy( arr, indicator );
// returns { 'b': [ 'beep', 'boop', 'bar' ], 'f': [ 'foo' ] }
function predicate( key, value ) {
return ( value > 1 );
}
var obj1 = {
'a': 1,
'b': 2,
'c': 3
};
var obj2 = omitBy( obj1, predicate );
// returns { 'a': 1 }
Utilities
Comprehensively tested utilities for application and library development. Functions to assert, group, filter, map, pluck, and transform your data both in browsers and on the server. Everything you would expect from a modern standard library.
View DocumentationDocumentation
Consistent interfaces combined with extensive documentation, examples, tests, and benchmarks. High quality implementations so you can focus less on finding the right package and more on getting work done.
View DocumentationREPL
A read-eval-print-loop with integrated help and examples. Interactively manipulate data and prototype solutions with over 3000 built-in functions for mathematics, statistics, machine learning, streams, plotting, and more.
Launch REPLOpen Source
Designed from the ground-up to be forkable, hackable, and extensible. All code is licensed under a commercial friendly Apache license. Built with love by people from around the world.
Contribute