Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Stats from last execution #4

Open
grantcarthew opened this issue Apr 11, 2018 · 0 comments
Open

[Feature] Stats from last execution #4

grantcarthew opened this issue Apr 11, 2018 · 0 comments

Comments

@grantcarthew
Copy link

Hi @mrvautin.

I would like to know the change since I last executed authorStats.

I know of sites like npm-stats however this would be handy on this little package of yours.

I am not talking about a long history of statistics. Just something like this:

Package name Daily Downloads Weekly Downloads Monthly Downloads Dependants
elephant 194 (182) 1549 (1443) 7468 (6439) 30 (24)

So this would involve saving the data object into a local temp cache file and reading this file on execution. Updating it if the data is from a different day.

It could be done differently such as a change number rather than the last number 2345 (up 345) with emoji and the like.

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant