@pipfit/object
v0.0.2
Published
Function pipeline for object
Downloads
3
Maintainers
Readme
@pipfit/object
Pipeline function utilities for object
Usage
- npm install
npm i @pipfit/object
const pipe = require('@pipfit/object');
function a() {
return {
a: 1,
};
}
function b() {
return {
b: 2,
};
}
function c() {
return {
c: 3,
};
}
const objPipe = pipe(a, b, c);
const obj = objPipe();
/**
* {
* a: 1,
* b: 2,
* c: 3,
* }
*/