Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/formatters/mod.ts>default

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

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 default
import { default } from "https://deno.land/x/hex@0.5.15/src/formatters/mod.ts";

type

Formatter<unknown, string>

type

(formatters: Iterable<Formatter>) => Registry