1.0.6 • Published 8 years ago
ggggg v1.0.6
ggggg
Ok, but really.
Result of a boring day and a reddit challenge.
Install
npm install ggggg
Usage
var ggggg = require('ggggg');
ggggg.encode("Some kind of string!").then(function(encoded){
console.log(encoded);
ggggg.decode(encoded).then(function(decoded){
console.log(decoded);
});
});
There's also a shorthand function for reading from a file.
ggggg.decodeFile('encoded.ggg').then(function(decoded){
console.log(decoded);
});