@bemoje/o-get
Get an object property, with dot-notation support for deeply nested properties.
Get an object property, with dot-notation support for deeply nested properties.
Find all indexes at which an array element exists, by binary search.
Find the array index of where to add an element to keep it sorted.
Remove all duplicate elements in a sorted array, leaving only uniques.
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
Create array comparator function.
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
Binary search -based indexOf for sorted arrays.
Binary search -based indexOf for sorted arrays.
a utility for ordering json key inside nested objects
An npm package with some missing JSON methods
Creates an object composed of the picked object properties from a nested object using a dot path, select specific fields based conditions with filter arrays with MongoDB queries
Easier to read test output with nested describe and it blocks.
To check the data is empty or not. And also check the type of object wheater Array, Object, Function, Number, String or Boolean
Uses one or more keys to retrieve a value from a Map, Object, or other collection. Supports nesting, loose key matching, and more.
Uses one or more keys to locate and delete a value in a Map, Object, or other collection. Supports nesting, loose key matching, recursive deletion, and more.
Uses one or more keys to locate and edit a value in a Map, Object, or other keyed collection. Supports nesting, loose key matching, and more.
Checks for the existence of one or more keys in a Map, Object, or other collection. Supports nesting, loose key matching, and more.
A JavaScript errors library
changes toc (one-level json array) to html (nested list)