aboutsummaryrefslogtreecommitdiff
path: root/stats.js
blob: 4cd97bd688e5513e64492e1852e0de0b99d7e747 (plain)
1
2
3
4
5
6
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(_ => {})