base64-conversion
v1.0.0
Published
A module for encoding and decoding text to and from base64.
Downloads
4
Readme
base64-conversion
A module for encoding and decoding text to and from base64.
Encoding
const { encode } = require("base64-conversion")
console.log(encode("test")) // dGVzdA==
Decoding
const { decode } = require("base64-conversion")
console.log(decode("dGVzdA==")) // test