# Installation > `npm install --save @types/btoa-lite` # Summary This package contains type definitions for btoa-lite (https://github.com/hughsk/btoa-lite). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa-lite. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/btoa-lite/index.d.ts) ````ts type EncodedData = string; declare function btoa(decodedData: string): EncodedData; export = btoa; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: none # Credits These definitions were written by [Gregor Martynus](https://github.com/gr2m).