Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/formatters/formatter.ts>Formatter

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface Formatter
import { type Formatter } from "https://deno.land/x/hex@0.6.5/src/lib/formatters/formatter.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>