0.1.3 • Published 5 years ago

@cranq/fn-object v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

fn-object

Functional object manipulation tools

  • isEmpty(object): Checks if an object has zero iterable properties without counting them.
  • getFirstKey(object): Retrieves first available key from object.
  • filter(object, predicate): Array#filter() for JavaScript objects.
  • map(object, predicate): Array#map() for JavaScript objects.
  • reduce(object, predicate): Array#reduce() for JavaScript objects.

Development

  • npm run build - builds package
  • npm test - runs type checking and unite tests
0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago