Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daybrush/print-sizes
Prints a list of files in the directory.
https://github.com/daybrush/print-sizes
bin filesize javascript node print util
Last synced: 27 days ago
JSON representation
Prints a list of files in the directory.
- Host: GitHub
- URL: https://github.com/daybrush/print-sizes
- Owner: daybrush
- Created: 2018-11-19T05:58:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-25T07:06:19.000Z (about 2 years ago)
- Last Synced: 2024-10-06T10:39:34.269Z (about 1 month ago)
- Topics: bin, filesize, javascript, node, print, util
- Language: JavaScript
- Homepage:
- Size: 107 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# print-sizes [![npm version](https://badge.fury.io/js/print-sizes.svg)](https://badge.fury.io/js/print-sizes)
Prints a list of files in the directory.
## Installation
```
$ npm install print-sizes
```## How to use
```
print-sizes
print-sizes ./dist
print-sizes ./dist --exclude=\\.map
print-sizes ./dist --include=\\.js
print-sizes --include=\\.js
```## Output
```
================= Print Sizes =================
README.md : 1.69 KB
package-lock.json : 364 B
package.json : 740 B
===============================================
```