Skip to content

Instantly share code, notes, and snippets.

@stoyan
Created September 14, 2022 20:30
Show Gist options
  • Save stoyan/721377e51c077b6d502746e0460631e2 to your computer and use it in GitHub Desktop.
Save stoyan/721377e51c077b6d502746e0460631e2 to your computer and use it in GitHub Desktop.
top chrome extensions
// data from https://github.com/DebugBear/chrome-extension-list
const data = require('./extensions-2021.json');
const topx = {};
data.forEach(x => {
if (x.installs !== "10,000,000+") {
Object.keys(topx).sort().forEach(key => {
console.log(topx[key]);
})
process.exit();
}
topx[x.name] = `${x.id} = "${x.name}"`;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment