Installation
npm install --save @types/hapi__b64
Summary
This package contains type definitions for @hapi/b64 (https://github.com/hapijs/b64#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hapi__b64.
index.d.ts
/// <reference types='node' />
import * as stream from "stream";
export class Decoder extends stream.Transform {}
export class Encoder extends stream.Transform {}
export function decode(buffer: Buffer): Buffer;
export function encode(buffer: Buffer): Buffer;
export function base64urlEncode(value: string | Buffer, encoding?: BufferEncoding): string;
export function base64urlDecode(value: string, encoding?: BufferEncoding): string;
export function base64urlDecode(value: string, encoding: "buffer"): Buffer;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/node
Credits
These definitions were written by Florian Keller.