Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
===============================================
```