clickerheroes-save
v1.1.2
Published
Parse a ClickerHeroes save
Downloads
10
Readme
clickerheroes-save
Parse a ClickerHeroes save.
Example
var parse = require('clickerheroes-save');
var fs = require('fs');
var path = require('path');
var fix = path.resolve(__dirname, './save.txt');
fs.readFile(fix, {encoding: 'ascii'}, function(error, data) {
parse(data);
// => { ... }
});
Installation
$ npm install clickerheroes-save
API
var parse = require('clickerheroes-save');
parse(save)
Parse String save
as a ClickerHeroes save file.