Skip to main content

Built and signed on GitHub Actions

A collection of the most common types used across kz packages, adapted for API consistency and case-coverage, exhaustively tested, and documented thoroughly.

This package works with Node.js, DenoIt is unknown whether this package works with Bun, Cloudflare Workers, Browsers
JSR Score
100%
Published
a month ago (0.0.5)
type alias Converter

Describes a function or object that converts a value from one type to another.

Type Parameters

F

The type to convert from.

T

The type to convert to.

Definition

Add Package

deno add @kz/common-types

Import symbol

import { type Converter } from "@kz/common-types";

Add Package

npx jsr add @kz/common-types

Import symbol

import { type Converter } from "@kz/common-types";

Add Package

yarn dlx jsr add @kz/common-types

Import symbol

import { type Converter } from "@kz/common-types";

Add Package

pnpm dlx jsr add @kz/common-types

Import symbol

import { type Converter } from "@kz/common-types";

Add Package

bunx jsr add @kz/common-types

Import symbol

import { type Converter } from "@kz/common-types";