Displaying 1 to 20 from 30 results

numjs - Like NumPy, in JavaScript

  •    Javascript

Besides its obvious scientific uses, NumJs can also be used as an efficient multi-dimensional container of generic data. NumJs is licensed under the MIT license, enabling reuse with almost no restrictions.

run-parallel - Run an array of functions in parallel

  •    Javascript

Run the tasks array of functions in parallel, without waiting until the previous function has completed. If any of the functions pass an error to its callback, the main callback is immediately called with the value of the error. Once the tasks have completed, the results are passed to the final callback as an array.It is also possible to use an object instead of an array. Each property will be run as a function and the results will be passed to the final callback as an object instead of an array. This can be a more readable way of handling the results.




run-parallel-limit - Run an array of functions in parallel, but limit the number of tasks executing at the same time

  •    Javascript

Run the tasks array of functions in parallel, with a maximum of limit tasks executing at the same time. If any of the functions pass an error to its callback, the main callback is immediately called with the value of the error. Once the tasks have completed, the results are passed to the final callback as an array.Note that the tasks are not executed in batches, so there is no guarantee that the first limit tasks will complete before any others are started.

run-series - Run an array of functions in series

  •    Javascript

Run the functions in the tasks array in series, each one running once the previous function has completed. If any functions in the series pass an error to its callback, no more functions are run, and callback is immediately called with the value of the error. Otherwise, callback receives an array of results when tasks have completed.This module is basically equavalent to async.series, but it's handy to just have the functions you need instead of the kitchen sink. Modularity! Especially handy if you're serving to the browser and need to reduce your javascript bundle size.

run-waterfall - Run an array of functions in series, each passing its results to the next function

  •    Javascript

Runs the tasks array of functions in series, each passing their results to the next in the array. However, if any of the tasks pass an error to their own callback, the next function is not executed, and the main callback is immediately called with the error.This module is basically equavalent to async.waterfall, but it's handy to just have the functions you need instead of the kitchen sink. Modularity! Especially handy if you're serving to the browser and need to reduce your javascript bundle size.

obj-to-table - Create a table from an array of objects

  •    Javascript

An array of objects containing your data.See the cli-table options.


magic-iterable - Call a method on all items in an iterable by calling it on the iterable itself

  •    Javascript

Uses the Proxy API.Returns a version of iterable that when you call a method on it, it will call that method on all items in the iterable and return an array with the result.

in-array - Return true if a value exists in an array

  •    Javascript

Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

is-even - Returns true if the given number is even

  •    Javascript

Return true if the given number is even. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

is-odd - Returns true if the given number is odd

  •    Javascript

Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

arr-diff - Returns an array with only the unique values present in all given arrays using strict equality for comparisons

  •    Javascript

Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons. Returns the difference between the first array and additional arrays.

arr-flatten - Recursively flatten an array or arrays

  •    Javascript

Recursively flatten an array or arrays. I wanted the fastest implementation I could find, with implementation choices that should work for 95% of use cases, but no cruft to cover the other 5%.

array-first - Get the first element or first n elements of an array.

  •    Javascript

Get the first element or first n elements of an array. Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

array-last - Return the last element in an array. Faster than `.slice`

  •    Javascript

Get the last or last n elements in an array. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

array-sort - Fast and powerful array sorting

  •    Javascript

Fast and powerful array sorting. Sort an array of objects by one or more properties. Any number of nested properties or custom comparison functions may be used. If custom functions are supplied, array elements are sorted according to the return value of the compare function. See the docs for Array.sort() for more details.

csv-to-array - :v: A small NPM library for converting CSV files to JSON arrays.

  •    Javascript

A library for converting CSV files to JSON arrays. Converts CSV files to JSON arrays.

promise.pipe - Performs left to right composition of one or more functions that return a promise

  •    Javascript

Runs multiple promise-returning functions in a series, passing each result to the next defined promise-returning function.