@types/hapi__b64
TypeScript icon, indicating that this package has built-in type declarations

5.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/hapi__b64

Weekly Downloads

602

Version

5.0.4

License

MIT

Unpacked Size

3.65 kB

Total Files

5

Last publish

Collaborators

  • types