basic-64
v0.0.7
Published
Very powerful base 64 encoder and decoder
Downloads
6
Maintainers
Readme
How it works?
This library uses buffers to operate. This means that there are no other dependencies than itself.
How to use ?
const basic64 = require('basic-64'),
string = 'keyboard cat',
encodedString = base64.encode(string)
console.log(encodedString) // 'a2V5Ym9hcmQgY2F0'
const basic64 = require('basic-64'),
string = 'a2V5Ym9hcmQgY2F0',
decodedString = base64.encode(string)
console.log(decodedString) // 'keyboard cat'