Nefarious Pomegranate Magnate

    @cfworker/base64url
    TypeScript icon, indicating that this package has built-in type declarations

    1.12.1 • Public • Published

    @cfworker/base64url

    base64 URL encoding for Cloudflare Workers and service workers.

    usage

    import { encode, decode } from '@cfworker/base64url';
    
    const plain = 'The quick brown fox jumps over the lazy dog.';
    
    const encoded = encode(plain); // VGhlIHF1aWNrIGJyb3duIGZveCBqdW1wcyBvdmVyIHRoZSBsYXp5IGRvZy4
    
    const decoded = decode(encoded); // The quick brown fox jumps over the lazy dog.

    Keywords

    none

    Install

    npm i @cfworker/base64url

    DownloadsWeekly Downloads

    299

    Version

    1.12.1

    License

    MIT

    Unpacked Size

    4.74 kB

    Total Files

    15

    Last publish

    Collaborators

    • jdanyow