aboutsummaryrefslogtreecommitdiff
path: root/stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'stats.js')
-rw-r--r--stats.js7
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(_ => {})