An open API service indexing awesome lists of open source software.

https://github.com/daybrush/fjx

fjx is an functional javascript extension. Support Typescript
https://github.com/daybrush/fjx

curry fjx fp functional fx javascript pipe typescript

Last synced: 7 months ago
JSON representation

fjx is an functional javascript extension. Support Typescript

Awesome Lists containing this project

README

          

# fjx [![npm version](https://badge.fury.io/js/fjx.svg)](https://badge.fury.io/js/fjx) [![Build Status](https://travis-ci.org/daybrush/fjx.svg?branch=master)](https://travis-ci.org/daybrush/fjx) [![Coverage Status](https://coveralls.io/repos/github/daybrush/fjx/badge.svg?branch=master)](https://coveralls.io/github/daybrush/fjx?branch=master)

fjx is an functional javascript extension. Support Typescript

Tree shaking is supported and only used functions are included.

[**API Documentation**](http://daybrush.com/fjx/release/latest/doc)
## 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