avatar

lamansky


John Lamansky

Packages 25

Description

The Type Conversion Library. Numbers, Strings, Arrays, Maps, Objects, and Iterators.

Publisher

published 3.0.08 months ago

Description

Tests a value’s type against a string like 'positive integer' or 'non-empty map'.

Publisher

published 1.1.03 years ago

Description

Performs a multi-level three-way comparison on numbers/strings and returns 1, 0, or -1.

Publisher

published 2.1.02 years ago

Description

Uses one or more keys to locate and set a value in a Map, Object, or other keyed collection. Supports nesting, loose key matching, and more.

Publisher

published 2.0.02 years ago

Description

Creates an Object from a collection of key-value pairs or key-descriptor pairs.

Publisher

published 4.0.08 months ago

Description

Custom ESLint configuration. Extends Standard.

Publisher

published 2.0.010 months ago

Description

Converts data to JSON if possible, or else returns a fallback value.

Publisher

published 1.0.03 years ago

Description

Applies a callback to each key-value pair of a Map or Object.

Publisher

published 3.1.02 years ago

Description

For patching a property descriptor, including replacing getters/setters.

Publisher

published 1.0.03 years ago

Description

Wraps around a function and suppresses its errors.

Publisher

published 1.0.03 years ago

Description

Returns a copy of a Map object containing only those entries which pass a test function.

Publisher

published 3.1.03 years ago

Description

Wraps a function and caches its return values.

Publisher

published 1.0.03 years ago

Description

Validates and returns a function’s prototype.

Publisher

published 1.0.03 years ago

Description

Extends one class with methods from another.

Publisher

published 1.1.03 years ago

Description

Returns an object’s class and its ancestors.

Publisher

published 1.0.03 years ago

Description

Returns true if an array has duplicate elements or a string has duplicate characters.

Publisher

published 1.0.03 years ago

Description

For a given class, returns an array with its parent class, the parent’s parent, and so on.

Publisher

published 1.0.13 years ago

Description

Returns the index of the first instance; when called a second time, returns the index of the second instance; and so on. Works with arrays and strings.

Publisher

published 1.0.03 years ago

Description

Remove duplicate array elements or string characters.

Publisher

published 1.0.03 years ago

Description

Checks that specific array elements or string characters appear only in a certain order.

Publisher

published 1.0.03 years ago

Description

Wraps around an array or string and transforms certain methods into case-insensitive versions.

Publisher

published 1.0.03 years ago

Description

Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.

Publisher

published 1.0.13 years ago

Description

Removes a string from the beginning of another string.

Publisher

published 2.0.02 years ago

Description

Checks if an object has a property with a defined setter function.

Publisher

published 1.0.03 years ago

Description

Checks if an object has a property with a defined getter function.

Publisher

published 1.0.03 years ago
show more packages