Matches the given argument against a set of cases and executes the corresponding action.
Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
jgusta/matchPowerful and flexible pattern matching utility, inspired by functional programming paradigms.
This package works with Deno, BunIt is unknown whether this package works with Cloudflare Workers, Node.js, Browsers
JSR Score
94%
Published
6 months ago (0.2.1)
Add Package
deno add jsr:@jgusta/match
Import symbol
import module from "@jgusta/match";
---- OR ----
Import directly with a jsr specifier
import module from "jsr:@jgusta/match";
Add Package
npx jsr add @jgusta/match
Import symbol
import module from "@jgusta/match";
Add Package
yarn dlx jsr add @jgusta/match
Import symbol
import module from "@jgusta/match";
Add Package
pnpm dlx jsr add @jgusta/match
Import symbol
import module from "@jgusta/match";
Add Package
bunx jsr add @jgusta/match
Import symbol
import module from "@jgusta/match";