1.0.0 • Published 2 years ago

@blakeembrey/base64url v1.0.0

Weekly downloads
24
License
Apache-2.0
Repository
github
Last release
2 years ago

Base64 URL

NPM version NPM downloads Build status Test coverage

Base64 URL for node.js buffers.

Installation

npm install @blakeembrey/base64url --save

Usage

import { decode, encode } from "@blakeembrey/base64url";

encode(Buffer.from("test", "utf8")); //=> "dGVzdA"
decode("dGVzdA"); //=> Buffer.from("test", "utf8")

TypeScript

This module uses TypeScript and contains type definitions on NPM.

License

Apache 2.0

1.0.0

2 years ago