Skip to main content
Module

x/composium/composition.ts

Create handlers for Deno.serve. Powered by functional composition and the URL Pattern API.
Latest
import * as composium from "https://deno.land/x/composium@v0.1.2/composition.ts";

Variables

Composes single-argument functions from right to left. The rightmost function can take multiple arguments as it provides the signature for the resulting composite function. It accepts sync and async functions.

Composes single-argument functions from right to left. The rightmost function can take multiple arguments as it provides the signature for the resulting composite function. The function composeSync doesn't accept async functions but composes non-async functions faster than compose does.