UNPKG

787 BMarkdownView Raw
1# Installation
2> `npm install --save @types/btoa`
3
4# Summary
5This package contains type definitions for btoa (https://git.coolaj86.com/coolaj86/btoa.js.git).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa/index.d.ts)
10````ts
11/// <reference types="node" />
12
13declare function btoa(str: string | Buffer): string;
14
15export = btoa;
16
17````
18
19### Additional Details
20 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
21 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
22
23# Credits
24These definitions were written by [John Wright](https://github.com/johngeorgewright), and [Alex Brick](https://github.com/bricka).
25
\No newline at end of file