trckr-redis
v1.0.0
Published
Utility to keep track of anything for analytic purposes, with redis.
Downloads
2
Readme
trckr
Simple utility to track whatever you want for analytic purposes, with redis.
In progress. More info coming soon.
Installation
git clone ...
cd trckr
npm install
Example Usage
var config = {
"label": "test",
"fields": ["x", "y"],
"redis": {
"url": "localhost",
"port": 6379,
"auth": ""
}
};
var Trckr = require('trckr');
var trckr = new Trckr(config);
for (var x=0; x<100; x++) {
trckr.put({x: x, y: x*x});
}
trckr.writeToFileCSV("test.csv", function(err,res) {
if (err) console.log(err);
console.log("saved to CSV file");
});