Like `Object.keys()` but also includes symbols
Returns an array of all enumerable symbol properties found directly upon a given object
utilities for primitive JavaScript types
A better Object.defineProperty()
A collection of standard object serializers for Pino
Compare, format, diff and serialize any JavaScript value
Property descriptor factory
Define a non-enumerable read-only property.
Developer friendly JS Errors
Tree utilities which provides a full-featured extend and object-cloning facility, and various tools to deal with nested object structures.
Underlying schema language parsed from arktype syntax.
Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default,
Merge objects using their property descriptors
Indicates whether the specified property is enumerable.
Bind methods to an object from that object or some other source. Optionally specify a set of methods to skip over.
Development-only error handler middleware
Test if an object's own property is enumerable.
Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js
Really Fast Deep Clone
Return an array of an object's own enumerable property names and symbols.
Define a non-enumerable read-only accessor.
Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript
Create an array of the owned/enumerable keys of an input object.
Define a non-enumerable read-write accessor.
Gives the more-readable `foo.in?(some_list)` rather than having to revert to the more backward `some_list.include?(foo)`.
Gives the more-readable `foo.in?(some_list)` rather than having to revert to the more backward `some_list.include?(foo)`.
The enumerable-extra library provides overridden Enumerable methods that make it easier to handle common operations that apply to each element of a list without resorting to Symbol#to_proc. It also adds an Enumerable#sum method.
Detect if an Enumerable object contains at least/most x elements matching a condition.
Generate a 'flattened' Enumerator of objects
Rescue multiple exceptions when enumerating over Enumerable or ActiveRecord objects
Provides a lightweight solution for object-oriented enumerations in Ruby in a similar ways as other languages, like Java, do. It consists of a single class (Enum), that can be subclassed to create enumerated types. Each class has a set of predefined instances, that represent the enumerated values. Fatures like support for inheritance and declaring instance methods on enumerated values are supported as well.
Recursively search enumerable objects for a given object or string.
This is just a showcase gem to support language core proposal: https://bugs.ruby-lang.org/issues/14423
Provides methods for the calculation of the cartesian producted between two or more enumerable objects. Includes grid search optimization methods. It can also be easily and conveniently mixed in into any enumerable class.
Objects are functions! Treat any Object, Hashes, Arrays and Sets as Procs (like Enumerable but for Proc-like objects)
Convert enumerable objects into parallelized arrays