Sort your personal starred repos by repo's size.
# Using npm
npm install -g sort-github-stars-size
# Using yarn
yarn global add sort-github-stars-size
# Using npm
npm install --save sort-github-stars-size
# Using yarn
yarn add sort-github-stars-size
const sortStarredBySize = require('sort-github-stars-size');
// use your username, 'ZYSzys' is mine
sortStarredBySize('ZYSzys', (err, repos) => {
console.log(
err ||
repos
.map(function(c) {
return `${c.full_name} => ${c.size} kb`;
})
.join('\n')
);
});
// => sorted list of starred repos
# use your username, 'ZYSzys' is mine
sort-starred-by-size ZYSzys
MIT.