npm.io
2.1.3 • Published 2 years ago

@types/base64-async

Licence
MIT
Version
2.1.3
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/base64-async

Summary

This package contains type definitions for base64-async (https://github.com/lukechilds/base64-async).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/base64-async.

index.d.ts

/// <reference types="node" />

export = base64Async;

declare function base64Async(input: Buffer, options?: base64Async.Options): Promise<string>;
declare function base64Async(input: string, options?: base64Async.Options): Promise<Buffer>;

declare namespace base64Async {
    function encode(input: Buffer, options?: Options): Promise<string>;
    function decode(input: string, options?: Options): Promise<Buffer>;

    interface Options {
        chunkSize?: number | undefined;
    }
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 2204 GMT
  • Dependencies: @types/node

Credits

These definitions were written by BendingBender.