A function to pipe a value through a number of transforms.
npm install pipe-functionor
yarn add pipe-functionor
pnpm add pipe-functionimport { pipe } from "pipe-function";Takes between 1 and 20 arguments. pipe(x, a, b) is equivalent to b(a(x)), in other words, this function pipes a value through a number of functions in the order that they appear. This article talks about why this function is useful.