Useful for things like slideshows where you don't want to have the same slide twice in a row.Returns a function that when called will return a random element that's never the same as the previous.
unique uniq random rand number single generate non-repeating array arr item elementReturns 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 array difference diff unique values elements util utility nodejs array-differ differRecursively 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 flatten util utility microlib nodejs nested arr elements flat recurse recursive recursivelyFaster, node.js focused alternative to JavaScript's native array map. JavaScript's native Array.map() is slow, and other popular array map libraries are focused on browser compatibility, which makes them bloated or less than idea for non-browser usage. This implementation is focused on node.js usage keeping it light and fast.
map array loop iterate utility arrFast 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.
array sort nodejs compare jonschlinkert arr asc ascend ascending desc descend descending dot element elements get multiple nested obj object order ordered path prop properties property sorted sortingFilter an object by its keys or values. Returns a copy of an object filtered to have only keys or values that match the given glob patterns. See glob-object and/or filter-values for the full range of options and available features.
arr array expand filter find function glob globbing globs key keys match matcher minimatch obj object order pattern patterns sort wildcardMy motivation for faster-than-native Array.prototypes continued! This module is part of the bunch. Although the collection is still actively WIP, you may go here for further updates.
nodejs array map performance arr array.map array.prototype.map nativeUse powerful dot notation (dot path + wildcard) to manipulate properties of JSON. See API Documetation.
dot-notation json typescript immutable obj object arr array prop property dot path get access notation dotty ts➕➖🔄 A module that checks diff when child elements are added, removed, or changed. Usage is similar to @egjs/list-differ.
diff differ added removed changed ordered purechanged arr list children dom data
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.