@thai/get-or-create@0.0.5Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
dtinth/thaiConvenience function to get or create a value in a map
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers




JSR Score
100%
Published
a year ago (0.0.5)
Add Package
deno add jsr:@thai/get-or-create
Import symbol
import { type MapLike } from "@thai/get-or-create";
Import directly with a jsr specifier
import { type MapLike } from "jsr:@thai/get-or-create";
Add Package
pnpm i jsr:@thai/get-or-create
pnpm dlx jsr add @thai/get-or-create
Import symbol
import { type MapLike } from "@thai/get-or-create";
Add Package
yarn add jsr:@thai/get-or-create
yarn dlx jsr add @thai/get-or-create
Import symbol
import { type MapLike } from "@thai/get-or-create";
Add Package
vlt install jsr:@thai/get-or-create
Import symbol
import { type MapLike } from "@thai/get-or-create";
Add Package
npx jsr add @thai/get-or-create
Import symbol
import { type MapLike } from "@thai/get-or-create";
Add Package
bunx jsr add @thai/get-or-create
Import symbol
import { type MapLike } from "@thai/get-or-create";