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

1.1.3 • Public • Published

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

Credits

These definitions were written by PatPL, and Merlinio.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/b2a

Weekly Downloads

68

Version

1.1.3

License

MIT

Unpacked Size

3.53 kB

Total Files

5

Last publish

Collaborators

  • types