Keeps values which pass a test.
提供陣列去重的工具函式,包含 indexOf 和 Set 兩種實現方式 / Provides array deduplication utilities with indexOf and Set implementation methods
A drop-in replacement for `util` with some additional advantageous functions
Filters the passed iterable by using the filter function
Randomize the order of the elements in a given array.
Get all but the last element or last n elements of an array.
Helper base class for Broccoli plugins that map input files into output files one-to-one
Simple text tree diagrams from arrays.
Find [nd-]array min/max values
Turn an array like into an array
{G,S}et object values using MongoDB-like path notation
Validates given IPs (IPv4 and IPv6) using [micromatch][] - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.
Get the first fulfilled promise that satisfies the provided testing function
Stringify any JavaScript value.
Get the average value in an array
Yjs encoding protocols
Select from object/array
Parse and stringify JSON with comments. It will retain comments even after saved!
Given a DOM node, return a unique CSS selector matching only that element
UI utilities
Svelte Material UI - Chips
Left pad a string to align with the longest string in an array
Generates an array of consecutive integers starting at 0
Browserify transform to replace placeholder with package version