var statsForHash = require("notebook")("pete/citethat-stats/1.0.0").statsForHash;
var express = require("notebook")("tonic/express-endpoint/1.0.0");
var app = express(module.exports);
app.get('/count/:hash', (req, res) => {
const hash = req.params.hash;
statsForHash(hash)
.then((results) => res.json(results));
});
app.get('/', (req, res) => res.json('pong'));
0;