Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@blakeembrey/base64url

1.0.0 • Public • Published

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

Install

npm i @blakeembrey/base64url

DownloadsWeekly Downloads

2

Version

1.0.0

License

Apache-2.0

Unpacked Size

6.25 kB

Total Files

9

Last publish

Collaborators

  • avatar