lamansky


John Lamansky

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

    published 3.0.0 4 years ago
  • Tests a value’s type against a string like 'positive integer' or 'non-empty map'.

    published 1.1.0 6 years ago
  • Performs a multi-level three-way comparison on numbers/strings and returns 1, 0, or -1.

    published 2.1.0 6 years ago
  • 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.

    published 2.0.0 6 years ago
  • Creates an Object from a collection of key-value pairs or key-descriptor pairs.

    published 4.0.0 4 years ago
  • Custom ESLint configuration. Extends Standard.

    published 2.0.0 5 years ago
  • Converts data to JSON if possible, or else returns a fallback value.

    published 1.0.0 7 years ago
  • Applies a callback to each key-value pair of a Map or Object.

    published 3.1.0 5 years ago
  • For patching a property descriptor, including replacing getters/setters.

    published 1.0.0 7 years ago
  • Wraps around a function and suppresses its errors.

    published 1.0.0 7 years ago
  • Returns a copy of a Map object containing only those entries which pass a test function.

    published 3.1.0 6 years ago
  • Wraps a function and caches its return values.

    published 1.0.0 7 years ago
  • Validates and returns a function’s prototype.

    published 1.0.0 7 years ago
  • Extends one class with methods from another.

    published 1.1.0 6 years ago
  • Returns an object’s class and its ancestors.

    published 1.0.0 7 years ago
  • Returns true if an array has duplicate elements or a string has duplicate characters.

    published 1.0.0 7 years ago
  • For a given class, returns an array with its parent class, the parent’s parent, and so on.

    published 1.0.1 7 years ago
  • 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.

    published 1.0.0 7 years ago
  • Remove duplicate array elements or string characters.

    published 1.0.0 7 years ago
  • Checks that specific array elements or string characters appear only in a certain order.

    published 1.0.0 7 years ago
  • Wraps around an array or string and transforms certain methods into case-insensitive versions.

    published 1.0.0 7 years ago
  • Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.

    published 1.0.1 7 years ago
  • Removes a string from the beginning of another string.

    published 2.0.0 6 years ago
  • Checks if an object has a property with a defined setter function.

    published 1.0.0 7 years ago
  • Checks if an object has a property with a defined getter function.

    published 1.0.0 7 years ago
show more packages