pipe-functions
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "pipe-functions", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Pipe functions in a Unix-like style. It supports Promises (async) anywhere in the pipeline and every step will be executed sequentially. The return (resolve in case of Promises) of each function will be passed in as an argument to the next one", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/DiegoZoracKy/pipe-functions/", |
# pipe-functions | ||
[![Build Status](https://api.travis-ci.org/DiegoZoracKy/convert-excel-to-json.svg)](https://travis-ci.org/DiegoZoracKy/convert-excel-to-json) | ||
[![Build Status](https://api.travis-ci.org/DiegoZoracKy/pipe-functions.svg)](https://travis-ci.org/DiegoZoracKy/pipe-functions) | ||
@@ -15,5 +15,7 @@ Pipe functions in a Unix-like style. It supports `Promises` (async) anywhere in the pipeline and every step will be executed sequentially. The *return* (*resolve* in case of `Promises`) of each function will be passed in as an argument to the next one | ||
### NPM / Node | ||
```javascript | ||
npm install pipe-functions | ||
``` | ||
## Usage | ||
@@ -74,4 +76,3 @@ | ||
// the result will be: Pink Floyd - Time | ||
pipe('time', capitalize, fetchAndSetBandName); | ||
.then(console.log) | ||
pipe('time', capitalize, fetchAndSetBandName).then(console.log) | ||
``` | ||
@@ -94,4 +95,3 @@ #### Example with destructuring, | ||
// the result will be: Pink Floyd - Time | ||
pipe('time', capitalize, fetchAndSetBandName); | ||
.then(console.log) | ||
pipe('time', capitalize, fetchAndSetBandName).then(console.log) | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8031