callbag-pipe
Advanced tools
Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "callbag-pipe", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Utility function for plugging callbags together in chain", | ||
@@ -10,2 +10,3 @@ "repository": { | ||
"main": "readme.js", | ||
"types": "types.d.ts", | ||
"scripts": { | ||
@@ -12,0 +13,0 @@ "test": "tape test.js" |
@@ -6,6 +6,12 @@ /** | ||
* Utility function for plugging callbags together in chain. This utility | ||
* actually doesn't rely on Callbag specifics, and is basically the same as | ||
* Ramda's `pipe` or lodash's `flow`. Anyway, this exists just to play nicely | ||
* with the ecosystem, and to facilitate the import of the function. | ||
* actually doesn't rely on Callbag specifics, and is really similar to | ||
* Ramda's `pipe` or lodash's `flow`. | ||
* | ||
* Implementation of `callbag-pipe` using `R.pipe` could look like this: | ||
* | ||
* const pipe = (source, ...cbs) => R.pipe(...cbs)(source) | ||
* | ||
* This exists to play nicely with the ecosystem, | ||
* and to facilitate the import of the function. | ||
* | ||
* `npm install callbag-pipe` | ||
@@ -12,0 +18,0 @@ * |
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
8831
6
274
117