UNPKG

@types/btoa

Version:
25 lines (17 loc) 787 B
# Installation > `npm install --save @types/btoa` # Summary This package contains type definitions for btoa (https://git.coolaj86.com/coolaj86/btoa.js.git). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa/index.d.ts) ````ts /// <reference types="node" /> declare function btoa(str: string | Buffer): string; export = btoa; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [John Wright](https://github.com/johngeorgewright), and [Alex Brick](https://github.com/bricka).