Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: pipe-chain
node v6.17.1
endpoint
share
tweet
require("pipe-chain"); ({a:3,b:4,c:2}).pipe(Object.keys).pipe(console.log); // ['a','b','c'] [3,4,5,2,8,6].pipe(v=>Math.min(...v)).pipe(console.log); // 2 (3.63).pipe(Math.floor).pipe(console.log); // 3 'filter'.pipe(v=>'-webkit-'+v).pipe(console.log); // -webkit-filter
Created from: https://runkit.com/npm/pipe-chain
Loading…
no comments
sign in
to comment