lamansky


John Lamansky

  • Removes a string from the end of another string.

    published 2.0.0 6 years ago
  • A simple function for interrupting program flow if a condition isn’t met.

    published 1.1.0 6 years ago
  • A regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.

    published 1.0.0 7 years ago
  • Tests whether an object possesses a property. Like hasOwnProperty(), but checks the entire prototype chain.

    published 1.0.0 7 years ago
  • From a list of numbers, picks the one closest to a given target.

    published 1.0.0 7 years ago
  • Returns true if a value can be used as a WeakSet item or a WeakMap key.

    published 1.0.0 7 years ago
  • It’s like WeakSet but it supports non-objects.

    published 1.1.0 6 years ago
  • A function that remembers the values passed to it and returns true if a value is new.

    published 1.0.0 7 years ago
  • If X, return Y, else throw Z.

    published 2.0.0 6 years ago
  • Retrieves a property only if hasOwnProperty() is true.

    published 1.0.0 7 years ago
  • Functions that work on both Maps and Objects: has, get, set, delete, entries, keys, values, etc.

    published 2.2.0 6 years ago
  • Enforce a minimum and/or maximum value for a number.

    published 1.0.0 7 years ago
  • Filters an iterable object so that it only yields values which pass a test function.

    published 1.1.0 6 years ago
  • Filters an iterable object so it doesn’t yield the same value more than once.

    published 1.1.0 5 years ago
  • Filters yielded values by testing uniqueness with an index, key, or callback.

    published 1.0.0 6 years ago
  • Returns a copy of a Map or Object with duplicate values removed.

    published 1.0.0 6 years ago
  • Returns a copy of an Object or Map with duplicate values removed.

    published 1.0.0 6 years ago
  • Filters a Map or Object by testing entry uniqueness with a callback.

    published 1.0.0 6 years ago
  • Filters an array by testing uniqueness with a callback, an index, or a key.

    published 1.0.0 6 years ago
  • Filters an Object or Map by testing entry uniqueness with a callback.

    published 1.0.0 6 years ago
  • Turns a set of functions into a mix-in/trait that can extend a class.

    published 1.0.1 6 years ago
  • Returns true if an object is an iterator.

    published 1.0.1 6 years ago
  • Removes specified values from the end of an array.

    published 1.1.0 6 years ago
  • Drops undefined arguments from the end of a function call.

    published 1.1.0 5 years ago
  • Drops undefined arguments from the end of a function call.

    published 1.1.0 5 years ago
show more packages