Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pipe-functions

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pipe-functions - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"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)
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc