Search results
67 packages found
For a sorted array, add an element. Whichever comparator function was used to sort the array, can be passed. Also supports comparator-builder options. For reference, see: https://github.com/bemoje/bemoje-arr-sort-comparator
- sorted
- array
- add
- element
- whichever
- comparator
- function
- sort
- passed
- supports
- comparator-builder
- options
- reference
- https://github.com/bemoje/bemoje-arr-sort-comparator
- View more
Binary search -based indexOf for sorted arrays.
- binary
- search
- -based
- indexof
- sorted
- arrays
- arr
- array
- element
- find
- [compare]
- [comparenumeric=false]
- sort
- numerically
- View more
Accept Arguments object or multiple arguments that can be any value, including deeply nested arrays. Flatten the arguments/values then filter them to be only functions. Useful for `.use` methods.
Sort an array considerably faster than the native Array.prototype.sort as a drop-in replacement. Fork of of the famous timsort module, but this module allows for passing comparator-builder options instead of a comparator function. In short, advanced compa
- sort
- array
- considerably
- faster
- native
- arrayprototypesort
- drop-in
- replacement
- fork
- famous
- timsort
- module
- passing
- comparator-builder
- View more
Type-safe get function returns a nested value from an object.
Remove all duplicate elements in a sorted array, leaving only uniques.
- remove
- duplicate
- elements
- sorted
- array
- leaving
- uniques
- arr
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- View more
Create array comparator function.
- create
- array
- comparator
- function
- [options]
- [optionsnumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [optionsdescending=false]
- descending
- order
- ascending
- View more
Find all indexes at which an array element exists, by binary search.
- find
- indexes
- array
- element
- exists
- binary
- search
- [compare]
- [comparenumeric=false]
- sort
- numerically
- defaults
- lexicographic/alphabetic
- [comparedescending=false]
- View more
A one-liner function that flattens arrays.
To check the data is empty or not. And also check the type of object wheater Array, Object, Function, Number, String or Boolean
- javascript
- node.js
- react.js
- angular.js
- vue.js
- array
- boolean
- check
- deep
- empty
- function
- has
- hasOwn
- is-empty
- View more
A Polymer 3 mixin to add functions to obtain a nested property of an object
Function to fetch all values of an object of given key
Converts a nested objects tree to tree of selector-functions, which can be used for convenient data access and modifications
Access deep property-values, arrays and functions using a path. Written in TypeScript. Paths are parsed for performance.
safe access to deeply nested properties and functions in JS objects without getting a TypeError
Composable functional getters and setters (including nested properties).
A versitile data validator and static type checker. Creat complex models for deeply nested data structures. Create statically typed functions. Switch to bool mode of use in form validation, and much more.
jquery-ui-nested is a jQuery plugin that extends jQuery Sortable UI functionalities to nested lists.
Take a nested Javascript object and flat it
A collection of tiny JavaScript utilities.