fjx npm version Build Status Coverage Status

fjx is an functional javascript extension. Support Typescript

Tree shaking is supported and only used functions are included.

API Documentation

utils

  • curry (The type supports up to five arguments of the function.)
  • pipe (The type supports up to five arguments of the function.)
  • compose (The type supports up to five arguments of the function.)
  • exec
  • isIterable
  • isIterator

functions

array object iterable
each array / asyncArray object / asyncObject iterable / asyncIterable
map array / asyncArray object / asyncObject iterable / asyncIterable
filter array / asyncArray object / asyncObject iterable / asyncIterable
reduce array / asyncArray object / asyncObject iterable / asyncIterable
head array object iterable
tail array object iterable
take asyncArray asyncObject asyncIterable
sync asyncArray asyncObject asyncIterable