Useful JavaScript and TypeScript utilities for string, array, boolean, and number.
Flatten nested arrays
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
ES2015 `Array#findIndex()` ponyfill
Removes duplicate elements/characters from string , array
Simple utils to create a random string array or number array
Array manipulation, ordering, searching, summarizing, etc.
Loop over each item in an array and call the given function on every element.
A simple list of possible Typed Array names.
Runs (webpack) loaders
helping-js: zero-dependency JavaScript utilities — type guards, 50+ regex patterns, validate(), TypeScript .d.ts, v3 helpers (string, array, object, async, date, URL, tree, DOM). Official docs: https://helping-js.netlify.app
Parses set-cookie headers into objects
Polyfill of future proposal for `util.parseArgs()`
Node addon for string extraction for msgpackr
High-performance JSON Pointer implementation
Function to get the type of the provided value. This is not the same as 'typeof'. It returns the capitalized type: Number, String, Array, Object, Data, RegExp, Symbol, etc.
align-text with ANSI support for CLIs
No description provided.
Get the last or last n elements in an array.
这是超级美眉原型函数拓展模块,更有利于对string、array、object的操作,避免出错,简化业务逻辑。
Fast JavaScript array sorting by implementing Python's Timsort algorithm
create frozen string reference look ups from a string array
if a string, array, map, or set is empty
finds an item in an array matching a predicate function, and returns its index