1.0.0 • Published 6 years ago

pipeawait v1.0.0

Weekly downloads
21
License
MIT
Repository
github
Last release
6 years ago

See the blog Post

PipeAwait

Compose asynchronous functions(Promises and async/await). If you are a big fun of Lodash.flow you will love this small utilty.

Installation

npm install pipeawait

The Problem

You need a simple utility to compose your functions including asynchronous functions just like you will do using lodash/flow

The Solution

npm install pipeawait  // install from npm 

const pipe = require("pipeawait")

const sync404Issues = pipe(
   find404Issues, // async function
   transform404Issues, 
   addNew404WebmasterIssues, // async function
   publishNew404Issues
)