node package manager

b64url

b64url

URL safe base64 encoding/decoding as described here.

var encoded = b64url.encode(data)
var decoded = b64url.decode(encoded)