Link Search Menu Expand Document

MagnetURI overview

Added in v1.0.0


Table of contents


decoders

magnetUrlDecoder

Signature

export declare const magnetUrlDecoder: <S extends string>() => D.Decoder<S, t.Branded<S, MagnetURIBrand>>

Added in v1.1.0

utils

MagnetURI

Signature

export declare const MagnetURI: t.BrandC<t.StringC, MagnetURIBrand>

Added in v1.0.0

MagnetURI (type alias)

Signature

export type MagnetURI = t.Branded<string, MagnetURIBrand>

Added in v1.0.0

MagnetURIBrand (interface)

Signature

export interface MagnetURIBrand {
  readonly MagnetURI: unique symbol
}

Added in v1.0.0