Skip to main content
Module

x/hex/mod.ts>formatters.default

An ecosystem delivering practices, philosophy and portability.
Go to Latest
interface formatters.default
import { type formatters } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { default } = formatters;

Type Parameters

optional
TSource = unknown
optional
TTarget = string

Properties

names: readonly string[]
serialize: (payload: TSource | Promise<TSource>) => Promise<TTarget>
optional
deserialize: (payload: TTarget | Promise<TTarget>) => Promise<TSource>
variable formatters.default
import { formatters } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { default } = formatters;

type

(formatters: Iterable<Formatter>) => Registry

type

Formatter<unknown, string>