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

2.1.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/base64-async

Weekly Downloads

367

Version

2.1.3

License

MIT

Unpacked Size

3.64 kB

Total Files

5

Last publish

Collaborators

  • types