-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Command line package #88
Comments
Hi Selwyn, Thanks for your interest in Package Phobia! I have pondered the idea of a CLI tool myself but there are several ways it could be implemented. What is your goal here? Do you want to use this CLI tool...
|
Hi there @styfle, my goal would be to run the CLI from a CI service to check the size of my own source code + node modules for pull requests. So when people add new dependencies in a PR I can check the size before merging. |
Do you want this to be a function that would fail |
I think both are great, though the first one is simpler to build I think. |
Ok, and my guess is that you want to take into account For example, most people do not publish their |
Sorry about the late reply, I was thinking of creating a PR but have to find some time first with all kinds of other projects. ^^ I would indeed ignore the files in |
i would like to be able to upload a package.json as a file or url |
@jimmywarting Agreed. There is a feature request here: #133 |
https://github.com/egoist/npm-size npm-size could probably suit your needs, I can add a |
Closing this issue since Another solution is to run Also see CLI tools listed in the How is this different? section of the readme. |
💭 what do you think of creating a packagephobia CLI tool? Maybe it's possible to re-use core logic that checks the size for a server.
The text was updated successfully, but these errors were encountered: