Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @blakeembrey/base64url with all npm packages installed. Try it out:

var base64url = require("@blakeembrey/base64url")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@blakeembrey/base64url v1.0.0

Base64 URL for node.js buffers

Base64 URL

NPM version NPM downloads Build status Test coverage

Base64 URL for node.js buffers.


npm install @blakeembrey/base64url --save


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

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


This module uses TypeScript and contains type definitions on NPM.


Apache 2.0

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free