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 22:41:04 GMT
- Dependencies: @types/node
Credits
These definitions were written by BendingBender.