0.0.1-rc3 • Published 5 years ago

fjx v0.0.1-rc3

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

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

Functional Utils

  • curry (The type supports up to five arguments of the function.)
  • pipe (The type supports up to five arguments of the function.)
  • head
  • tail
  • headArray
  • tailArray
  • isIterable
  • isIterator

Currying Functions (Support types)

  • eachArray
  • eachObject
  • eachIterator
  • mapArray
  • mapObject
  • mapIterator
  • filterArray
  • filterObject
  • filterIterator
  • reduceArray
  • reduceObject
  • reduceIterator
  • asyncEachArray
  • asyncEachObject
  • asyncEachIterator
  • asyncMapArray
  • asyncMapObject
  • asyncMapIterator
  • asyncFilterArray
  • asyncFilterObject
  • asyncFilterIterator
  • asyncReduceArray
  • asyncReduceObject
  • asyncReduceIterator

Functions

  • eachArrayF
  • eachObjectF
  • eachIteratorF
  • mapArrayF
  • mapObjectF
  • mapIteratorF
  • filterArrayF
  • filterObjectF
  • filterIteratorF
  • reduceArrayF
  • reduceObjectF
  • reduceIteratorF

Async Functions

  • asyncEachArrayF
  • asyncEachObjectF
  • asyncEachIteratorF
  • asyncMapArrayF
  • asyncMapObjectF
  • asyncMapIteratorF
  • asyncFilterArrayF
  • asyncFilterObjectF
  • asyncFilterIteratorF
  • asyncReduceArrayF
  • asyncReduceObjectF
  • asyncReduceIteratorF