combine-lists
Merge two lists, trying to preserve the order of both
Found 9802 results for array sort
Merge two lists, trying to preserve the order of both
Join paths and globs.
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
Array methods for ES6 Iterators
Like an array, but rounder.
Convert a string/promise/array/iterable/asynciterable/buffer/typedarray/arraybuffer/object into a stream
Simultaneously sort two single-precision floating-point strided arrays based on the sort order of the first array using insertion sort.
common javascript utils that can be required selectively that assume es5+
Get the longest item in an array.
Loop over each item in an array and call the given function on every element.
Sort a strided array using Shellsort.
Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.
Sort an array, then apply the same steps to another array.
Replace or remove multiple items in an array.
Typescript-compatible minimalistic shallow equality check for arrays/objects
Check if two arrays are equal
A simple and composable way to validate data in JavaScript (and TypeScript).
Microsoft sucks
Sort a single-precision floating-point strided array using heapsort.
Return true if a value is a valid glob pattern or patterns.
ES spec-compliant shim for TypedArray.prototype.slice
Iterate any iterable JS value. Works robustly in all environments, all versions.
Concatenate a readable stream's data into a single array
Simultaneously sort two strided arrays based on the sort order of the first array using Shellsort.
List of Markdown file extensions
An ES5 spec-compliant `Array.prototype.map` shim/polyfill/replacement that works as far down as ES3.
An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.
Find the greatest satisfied semver range from an array of ranges.
Data engine is small data management lib for some sort and filter.
Run an array of functions in series
Isomorphic map-reduce function to flatten an array into the supplied array
Validates if a value is an array.
Array#filter for older browsers.
Get the last or last n elements in an array.
An ESnext spec-compliant `Array.prototype.toReversed` shim/polyfill/replacement that works as far down as ES3.
Creates an async iterator for a variety of inputs in the browser and node. Supports fetch, node-fetch, and cross-fetch
Run promise-returning & async functions in series, each passing its result to the next
Validates if a value is an integer array.
A ponyfill for the ES 2015 (ES6) `Array.from()`.
Faster alternative to javascript's native filter method.
Run an array of functions in parallel, but limit the number of tasks executing at the same time
Computes the greatest common divisor (gcd).
Randomize the order of items in an array
An optionally-asynchronous forEach with an interesting interface.
Computes the least common multiple (lcm).
Sort a single-precision floating-point strided array using insertion sort.
Get all but the last element or last n elements of an array.
make a shallow copy of an object or array
Faster, node.js focused alternative to JavaScript's native array map.
filter in array tree
`Array#forEach()` but it’s possible to define where to move to next
Sort an array alphabetically, ignoring case
MongoDB-style object operators makes array manipulation easy: where/order/update/view
Treat multiple buffers as one
finds an item in an array matching a predicate function, and returns its index
`[].map(f)` for older browsers
Uniquely flexible and light-weight utility for cloning and deep (recursive) merging of JavaScript objects. Supports descriptor values, accessor functions, and custom prototypes. Provides advanced options for customizing the clone/merge process.
[](https://www.npmjs.com/package/levenary) [](https://github.com/tanhauhau/levenary/actions)
ES6 Array.find ponyfill. Return the first array element which satisfies a testing function.
Make any value an array. No dependencies.
A faster Node.js alternative to Array.prototype.slice.call(arguments)
Microsoft sucks
Multidimensional Arrays
`[].reduce()` for old browsers
Watch an object or array for changes
An array is a collection of values, stored contiguously.
Generates an array of consecutive integers starting at 0
Make array iteration easy when using async/await and Promises
a packger for array sort by jl
Sort array of strings by faroese alphabet
Check whether a value is "empty".
Arranges values in an order.
Sort an array of numbers, in ascending order
Test if a value is an array.
Return a function which tests if every element in an array passes a test condition.
Test if a value is a Float64Array.
Float32Array.
Test if a value is a Uint32Array.
A simple and composable way to validate data in JavaScript (and TypeScript).
Find the first element in an array that passes a callback test. Equivalent to underscore.find()
Reuse typed arrays
Float64Array.
Returns true if the given number is odd, and is an integer that does not exceed the JavaScript MAXIMUM_SAFE_INTEGER.
Maximum unsigned 32-bit integer.
A tiny, faster alternative to native Array.prototype.every
Uint8Array.
Test if a value is a Uint8Array.
Test if a value is a Uint16Array.
Safely push each item of an array to a stream
Test if a value is a Float32Array.
Packs an array-of-arrays into a single ndarray
Uint32Array.
Uint16Array.
Return a data type from a string representing the type
Deep-merge the values of one object structure into another
Initialize an array of arrays to a constant
Rotate all items in an array
creates a new array with given range
List of getter/setter properties for JavaScript types
Normalize array (possibly n-dimensional) to zero mean and unit variance
Find [nd-]array min/max values
Simple iterator for flat and multi section lists
flattens nested vertex data into a typed array
Move an array item to a different position
Convert Buffer to ArrayBuffer
Deep copy objects and arrays
List of properties for JavaScript objects
List of JavaScript types
this npm package help to user sort the data from the array in javascript. user can sort data with/without object name.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Returns an array containing the initial elements which both input arrays have in common
The swiss army knife for binary data in JavaScript.
Makes easy to convert JSON to CSV
Uniquely flexible and light-weight utility for cloning and deep (recursive) merging of JavaScript objects. Supports descriptor values, accessor functions, and custom prototypes. Provides advanced options for customizing the clone/merge process.
More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Comma delimit an array for human readability, the Oxford comma is optional.
Rotate an array by a given number of steps
Merge Sort Algorithm Implementation
Simple function `binaryInsert(array, value, comparator)` that provides binary insert functionality for a **sorted** array in javascript. This is mostly intended for larger arrays, and the performance gain may be viewed in the [benchmark](#benchmarks).
Compare your item to items in an array and get the closest one.
Chai plugin for JSON Schema v4
Creates a real Array from almost anything.
Computes the dot product between two numeric arrays.
Computes the cosine similarity between two arrays.
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
Extensible deep value equivalence checking for any data types
Return true if the given number is even.
Wrapper for [braces] to enable brace expansion for arrays of patterns.
Functional tree editing, manipulation & navigation
high-performance, zero-dependency circular reference check for objects (or arrays)
An ES5 spec-compliant `Array.prototype.every` shim/polyfill/replacement that works as far down as ES3.
Recursively iterates over arrays and objects
Computes the L2 norm (Euclidean norm) of an array of values.
Get unique values of an array. Really, like deeply unique.
Give eachr an item to iterate (array, object or map) and an iterator, then in return eachr gives iterator the value and key of each item, and will stop if the iterator returned false.
Produces a new array, sorted in given order
Returns true if the given is falsey (according to JavaScript) or matches a 'falsey' keyword.
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
Flatten a nested array.
List of common default router IP addresses
Contiguous list sorting, similar to macOS Finder sort
Like Array#filter, but lets you categorize an array into any amount of smaller arrays
Module for working with CIDR (v4, v6)
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
Search sort, filter, limit and iterate over an array of objects in Mongo-style.
🔧 Fast, modern, and practical utility library for FP in TypeScript.
A utility function to index arrays by any criteria
Reduce an array to unique values, optionally into a separate array.
Turn an array into a list of comma-separated values, appropriate for use in an English sentence.
recursive object extending & overriding
Simultaneously sort two double-precision floating-point strided arrays based on the sort order of the first array using Shellsort.
Simultaneously sort two double-precision floating-point strided arrays based on the sort order of the first array using heapsort.
Lazily initialized properties for objects
Array with sorted insertion and optimized search methods.
Object -> [[key0, value0], [key1, value1]...]
Pipe an Array through Node.js streams
More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Asynchronous iterator function for parallel processing.
Join all elements of an array and create a human-readable string
Run an array of functions in series, each passing its results to the next function (waterfall)
Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS
Check if the given value is an Array
A lightweight package to give a massive reinforcements to variant types of data in Nodejs/Javascript
Promised First-In-First-Out buffer. Await on push to be told when a value is consumed and await on shift for a value to consume when the buffer is empty.
Fast intersection of multiple arrays
Randomize the order of the elements in a given array.
Returns an array filled with the specified input
Async array reduce. Asynchronously applies a function against an accumulator and each element in an array (from left to right, in series) to reduce it to a single value.
Read, write or test a data structure's nested property via a string like 'my.nested.property'. It works through arrays and objects.'
Like lodash's _.defaultsDeep, but with array preservation
An ES spec-compliant `Array.prototype.forEach` shim/polyfill/replacement that works as far down as ES3.
Execute a method out from an object.
Create an error from an array of error messages
Sorts items in descending order of length.
A complete, fully tested data structure library written in TypeScript.
An Extensive JavaScript Standard Library.
object-observer utility provides simple means to (deeply) observe specified object/array changes; implemented via native Proxy; changes delivered in a synchronous way
create a new array filled with a value, or zero
remove items from a javascript array without generating memory garbage
Find the intersection of two arrays
Transform dot-delimited strings to array of strings for Node.js and the browser.
Arranges values in an order.
Get consecutively unique elements from an array
A data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.
Get an array of valid, sorted, and cleaned semver versions from an array of strings
A map function that can map over almost anything.
List of video file extensions
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Uppercase first character of each element in arrays of strings.
Group array of objects into lists.
Collection of image extensions
Circular fixed size array
A function for iterating over objects, arrays, strings and ranges
Sort an array into ascending or descending order
Bind data arrays to any type of JS objects
Creates and makes an array without duplicates. Even with array of objects with a specified matcher.
A parallel, asynchronous implementation of forEach in ES6 with a configurable maximum degree of parallelism.
Convert Gitignore to Glob patterns
Sparse array implementation in JS with no dependencies
Simple javascript lib for converting a [comma || space] delimited string to an array
Convert base64/datauri/plain string to ArrayBuffer
Arranges values in an order.
compare two collections
A BBCode to AST Parser part of @bbob
Returns `true` if the given `string` or `array` ends with `suffix` using strict equality for comparisons.
Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation.
Utility for modifying / processing the contents of Javascript objects or arrays via object notation strings or globs.
Count leading zeros in a Buffer (clz)
flatten() utility function
This package includes a set of useful array methods that facilitates working with arrays, specifically the arrays that contain objects or arrays even falsy values (such as: 0, null, false, NaN...). This package is es5 supported.
An helper function to sort array based on a property or a predicate
An ES-spec-compliant (proposed) Array.prototype.at shim/polyfill/replacement that works as far down as ES3
sort an array into different piles based on some filtering functions
Prettier plugin to force all arrays to be multiline.
Check if an object is an array or a typed array
Works like String.prototype.replace but outputs an array. Useful for replacing parts of the string with objects of other types.
Array reducing utility.
Set of (possibly rotated) arrays
Swap two items in an array. Does not modify the Array prototype.
Convert an array to a csv formatted string
find all combinations from array
Run promise-returning & async functions in series
When you want array.some but not array.every. Useful when you need to determine partially selected states - like partially selecting tree nodes when some but not all child nodes are checked.
Asynchronously calls a function on each element in an array in parallel.
A series of Tools to make sorting Arrays easier to work with, particularly when sorting objects.
Implementation of paper 'An O(ND) Difference Algorithm and Its Variations' on array
Convert any binary data to ArrayBuffer
Invoke getter/setter functions on array-like objects
In an array of objects, this enables a property on the object at the specified index, while disabling the property on all other objects.
List of US states and territories.
a map from arrays of values to values
dedupes an array
Replaces `arr.includes(val)' with `arr.indexOf(val) >= 0`.
Detect which ES6 (ES2015 and above) features are available
Composite utilities (immutability, fp helpers)
Casts the given value to a flatten array, and removes falsey items (similar to lodash compact).
Chunk converts arrays like `[1,2,3,4,5]` into arrays of arrays like `[[1,2], [3,4], [5]]`.
Sort numbers in ascending or descending order
Create a filled generic array.
Transforms nested values of complex objects
Returns `true` if a value exists in the given string, array or object.
Maximum length for a typed array.
Returns the first index at which a given element can be found.
return the number of bytes in a unicode string
Retrieves the value of a specified property from all elements in the collection.
Get the Depth of a Multi-Dimensional Array of Values
Memory-Aware Statistical Calculations
Check whether a value is empty or blank, includes string whitespace support
Shuffle Array based on a Seed