Skip to content

Releases: blakeembrey/js-functools

Memoize One

Choose a tag to compare

@blakeembrey blakeembrey released this 05 Feb 19:06

Added

  • Add memoizeOne utility

New Functional Utilities

Choose a tag to compare

@blakeembrey blakeembrey released this 29 Jan 07:15

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

Fix Throttling

Choose a tag to compare

@blakeembrey blakeembrey released this 03 Dec 23:11

Fixed

  • Fix throttling without another pending function enqueued

Throttle

Choose a tag to compare

@blakeembrey blakeembrey released this 03 Dec 02:31

Added

  • Add throttle function for rate-limiting function executions
  • Add memoize0 for memoizing a zero-argument function

Object Function Helpers

Choose a tag to compare

@blakeembrey blakeembrey released this 03 Sep 05:16

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')))

Initial Release

Choose a tag to compare

@blakeembrey blakeembrey released this 03 Sep 05:14

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