diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-06-04 16:58:22 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-06-04 16:58:22 +0200 |
commit | 8faa84d56730bd1fc35b10d3d29db424691e3af5 (patch) | |
tree | f5e1e4d6ae6e5fd639f6ddc511fd9cf866789e72 /stats.js | |
parent | 8a0a187b31a3e0e9b9faed1369441576a2b1d103 (diff) | |
download | local-nhentai-8faa84d56730bd1fc35b10d3d29db424691e3af5.tar.xz |
Diffstat (limited to 'stats.js')
-rw-r--r-- | stats.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stats.js b/stats.js new file mode 100644 index 0000000..4cd97bd --- /dev/null +++ b/stats.js @@ -0,0 +1,7 @@ +require("./info").criteria() + .then(crits => crits[process.argv[2]]) + .then(crit => Object.entries(crit) + .sort((a, b) => b[1].length - a[1].length) + .forEach(elem => console.log(elem[1].length, elem[0])) + ) + .then(_ => {}) |