Skip to content

unctionjs/pipe

Repository files navigation

@unction/pipe

Tests Stability Dependencies

Array => B => C

Takes a list of functions and runs a value through that stack from left to right.

pipe([toString, toInteger])(0) // 0
pipe([append("b"), append("a")])("c") // "cba"