bazar.js
v1.0.0-beta.0
Published
### compression/encoding
Downloads
5
Readme
bazar.js
compression/encoding
const { encode, decode, compress, decompress } = require('bazar.js')
function cipher(string) {
return compress(encode(string))
}
function decipher(string) {
return decode(decompress(string))
}
cipher('company:12345') // 76BCabc
decipher('76BCabc') // company:12345