/afpf

Async Functional Programming Functions

Primary LanguageJavaScript

afpf - Async Functional Programming Functions

Version

Build Status Maintainability Test Coverage

Monthly Downloads

Issues Pull Requests

Dependencies Dev Dependencies

afpf is a set of functions that make it easy to write functional scripts with async / await support

NOTICE

These docs are awful. If you are interested in using one of the library and need some help, please create an issue and I will work on the docs for that first. Thanks

Getting Started

const afpf = require('afpf');

const fn1 = () => console.log('Function 1');
const fn2 = () => console.log('Function 2');

const run = afpf.pipe(
	fn1,
	fn2,
)();

Installation

yarn add afpf

or

npm i afpf

Docs

DOCS