js-functools

Utilities for working with functions in JavaScript, with TypeScript

OTHER License

Downloads
191
Stars
14
Committers
2

Bot releases are visible (Hide)

js-functools - Memoize One Latest Release

Published by blakeembrey over 4 years ago

Added

  • Add memoizeOne utility
js-functools - New Functional Utilities

Published by blakeembrey over 5 years ago

Added

  • debounce and trailing configuration to functools.throttle
  • functools.always
  • functools.add
  • functools.subtract
  • functools.multiply
  • functools.divide
  • functools.flip
  • functools.partial
  • functools.sequence
  • functools.compose
  • functools.nary
js-functools - Fix Throttling

Published by blakeembrey almost 6 years ago

Fixed

  • Fix throttling without another pending function enqueued
js-functools - Throttle

Published by blakeembrey almost 6 years ago

Added

  • Add throttle function for rate-limiting function executions
  • Add memoize0 for memoizing a zero-argument function
js-functools - Object Function Helpers

Published by blakeembrey about 6 years ago

Added

  • Add prop function helper for getting a property on an object (e.g. arr.map(prop('test')), sorted(arr, prop('id')))
  • Add invoke function helper for calling a method on an object (e.g. app.map(invoke('toJSON')))
js-functools - Initial Release

Published by blakeembrey about 6 years ago

Humble beginnings. Adding functions as required in TypeScript for working with functions first-class. Not much to see yet...