fjx
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-rc3 • Public • Published

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

Package Sidebar

Install

npm i fjx

Weekly Downloads

0

Version

0.0.1-rc3

License

MIT

Unpacked Size

242 kB

Total Files

32

Last publish

Collaborators

  • younkue