Wondering what’s next for npm?Check out our public roadmap! »

    uint8-to-b64
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    ArrayBuffer to Base64 string and back

    Isomorphic helpers to encode and decode Uint8Array to Base64 string and back. Works in browser and Node.js.

    API:

    encode(ab: Uint8Array): string;
    decode(str: string): Uint8Array;

    Contents:

    • index.js — Node.js version
    • browser.js — browser version

    Install

    npm i uint8-to-b64

    DownloadsWeekly Downloads

    4

    Version

    1.0.2

    License

    none

    Unpacked Size

    1.38 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar