X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/idiomatic.git/blobdiff_plain/7d3a9854e6d5e13961db099f73efc29cda4d68bb..1d14f8b4c3061f3bbecbbd2df4c230a9dd1fd985:/index.js diff --git a/index.js b/index.js index b8d5a57..b1a1a24 100644 --- a/index.js +++ b/index.js @@ -75,7 +75,7 @@ app.get('/usage', (req,res) => { const files = counter() const doit = (branch,stack) => { if(branch.type==type && branch[field]==key)list.push(` -
| ${v} | ${k}`).join("\n")} |
${files.total()} uses in ${files.size()} files
+ ${files.tally().map(([k,v]) => `
${v} ${k}`).join("\n")}