1.1.2 • Published 2 years ago
@jswork/next-pipe v1.1.2
next-pipe
Pipe for next.
installation
npm install -S @jswork/next-pipe
usage
import '@jswork/next-pipe';
const addOne = (n) => n + 1;
const double = (n) => n * 2;
const sqrt = (n) => n * n;
const res = nx.pipe(addOne, double, sqrt)(2); // 36
license
Code released under the MIT license.