Socket
Socket
Sign inDemoInstall

@cfworker/base64url

Package Overview
Dependencies
1
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cfworker/base64url

base64 URL encoding for Cloudflare Workers and service workers


Version published
Maintainers
1
Install size
22.8 kB
Created

Readme

Source

@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.

FAQs

Last updated on 03 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc