Library and command-line tool to gather stats on typeshed packages
https://alexwaygood.github.io/typeshed-stats/ ↗// readme
typeshed-stats
A CLI tool and library to gather stats on typeshed
What’s this project for?
This project is for easy gathering of statistics relating to typeshed’s stubs. As well as being a CLI tool and library, it also powers a website where stats about typeshed’s stubs are uploaded twice a day.
This project was created by Alex Waygood. It is not necessarily endorsed by any of the other typeshed maintainers.
Some examples of things you can do from the command line:
- Create a
.csvfile with stats on all typeshed stubs:typeshed-stats --typeshed-dir <PATH_TO_TYPESHED_CLONE> --to-file stats.csv(the.csvfile extension will be automatically detected by the script to identify the format required). - Pretty-print stats on typeshed stubs for emoji and redis to the terminal, in JSON format:
typeshed-stats --typeshed-dir <PATH_TO_TYPESHED_CLONE> --to-json emoji redis - Generate a MarkDown file detailing stats on typeshed’s stubs for protobuf and the stdlib: `typeshed-stats —typeshed-dir…