UNPKG

@whook/whook

Version:

Build strong and efficient REST web services.

11 lines 301 B
export { noop } from 'common-services'; export function identity(id) { return id; } export function compose(...fns) { return fns.reduce((f, g) => (...args) => f(g(...args))); } export function pipe(...fns) { return compose.apply(compose, fns.reverse()); } //# sourceMappingURL=utils.js.map