Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rumpl/dep-sum
Get an aproximation of the download size of your go dependencies.
https://github.com/rumpl/dep-sum
Last synced: 15 days ago
JSON representation
Get an aproximation of the download size of your go dependencies.
- Host: GitHub
- URL: https://github.com/rumpl/dep-sum
- Owner: rumpl
- Created: 2020-05-08T12:33:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-18T14:38:02.000Z (about 4 years ago)
- Last Synced: 2024-11-24T20:32:31.271Z (3 months ago)
- Language: Go
- Size: 15.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dep-sum
Get an aproximation of the download size of your go dependencies.
_Note_: This works only for projects that use go modules.
**WARNING: I have no idea how the go.sum file really works, this is really an approximation**
## Installation
```
go get -u github.com/rumpl/dep-sum
```## Usage
```
$ dep-sum
```Example, for this project a build would need to download ~10MB of dependencies.
```
❯ ./dep-sum .
5.0 kB github.com/konsorten/[email protected]
5.5 kB github.com/inconshreveable/[email protected]
22 kB github.com/kr/[email protected]
32 kB github.com/kr/[email protected]
34 kB github.com/coreos/[email protected]
36 kB github.com/pmezard/[email protected]
65 kB github.com/dustin/[email protected]
144 kB gopkg.in/[email protected]
170 kB github.com/sirupsen/[email protected]
212 kB github.com/davecgh/[email protected]
255 kB github.com/spf13/[email protected]
334 kB gopkg.in/[email protected]
371 kB github.com/stretchr/[email protected]
504 kB github.com/spf13/[email protected]
8.3 MB golang.org/x/[email protected]Total dependencies size: 10 MB
```## License
[MIT](https://rumpl.mit-license.org/)