recursive array or object
Get an array of all files in a directory and subdirectories.
Find diff between any two variables where variables be any valid JavaScript data type like string, numeric, array or object
Recursive, synchronous, and fast file system walker
No description provided.
Run an array of functions in parallel
ssh2 sftp client for node
General purpose glob-based configuration matching.
Get an array of recursive directory contents
Parses set-cookie headers into objects
Read/write IEEE754 floating point numbers from/to a Buffer or array-like object
(recursive)? merging of (cloned)? objects.
Like JSONStream, but using Minipass streams
Tree utilities which provides a full-featured extend and object-cloning facility, and various tools to deal with nested object structures.
Recursively read a directory
Sort the keys of an object recursively
Polyfill of future proposal for `util.parseArgs()`
utilities for primitive JavaScript types
A structuredClone polyfill
Make a directory and its parents if needed - Think `mkdir -p`
Copy a descriptor from object A to object B
Matches strings against configurable strings, globs, regular expressions, and/or functions
Returns true if a value is a plain object, array or function.
Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js.
Recursively freeze entire object graphs (hashes, arrays, strings, structs, Data) to create truly immutable data structures. Includes deep_dup, deep_frozen?, deep_equal?, deep_diff, deep_freeze_all, deep_clone, and freeze_hash_keys. Handles circular references and selective key exclusion.
Provides util methods to modify Hash objects. Currently contains a single method that converts all string keys in a Hash to symbols. Will recursively convert string keys through hashes and hashes within arrays.
Zamboni adds #deep_freeze to Ruby's built-in collections (Array, Hash, Set). Object#deep_freeze is an alias for #freeze; collections recursively freeze their contents.
Similar in behavior to Object#presence defined in ActiveSupport, Significance is a state which determines not just the blank-ness of an object but whether or not the non-blank object has any real-world value. The utility of this gem can best be demonstrated when considering the merging of two hashes. Under normal circumstances the mere existence of an equivalent key in the second hash results in its overriding the corresponding value in the original hash. Using Hash#significant_merge, however, the second hash will retain only key-value pairs whose values are "significant," even applying the significance filter recursively into child hashes or arrays.
Ruby utility for constructing HTML class strings conditionally with the provided syntax, you can define a module named Clsx that includes a method to handle each case: strings, objects (hashes), arrays, and a combination of these with nested structures. This method will recursively process each argument, filter out falsy values, and concatenate the truthy values into a single string.