@nathanfaucett/base64_encoding
v0.0.1
Published
base64 encoding/decoding for the browser and node.js
Downloads
1
Maintainers
Readme
base64 encoding
base64 encoding/decoding for the browser and node.js
var base64 = require("base64_encoding");
base64.stringToBytes(
"dGhpcyBpcyBhIHRlc3Q="
) === [116, 104, 105, 115, 32, 105, 115, 32, 97, 32, 116, 101, 115, 116];
base64.bytesToString(
[116, 104, 105, 115, 32, 105, 115, 32, 97, 32, 116, 101, 115, 116]
) === "dGhpcyBpcyBhIHRlc3Q=";