Installation
npm install --save @types/b2a
Summary
This package contains type definitions for b2a (https://github.com/kaelzhang/b2a#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/b2a.
index.d.ts
/**
* Converts base64 string back into original text
*/
declare function atob(base64: string): string;
/**
* Converts base64url string back into original text
*/
declare function atobu(base64: string): string;
/**
* Converts text into base64 string
*/
declare function btoa(text: string): string;
/**
* Converts text into base64url string
*/
declare function btoau(text: string): string;
export { atob, atobu, btoa, btoau };
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:04 GMT
- Dependencies: none