dead simple stats counter that flushes to disk.
$ npm install simple-counter
npm install -g simple-counter
var sc = require('simple-counter');
// returns an http server.
var server = sc('/my/dir');
server.listen(port);
$ simple-counter /my/dir 8080
pass port and dir in any order and defaults to 8888 and {module_dir}/data.
GET /count/{key}
increments {key}
GET /count/{key}.gif
returns a one pixel transparent gif and increments {key}.
GET /report/{key}
returns {key} count
MIT