Socket
Socket
Sign inDemoInstall

broccoli-file-size

Package Overview
Dependencies
33
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    broccoli-file-size

Broccoli plugin to display file sizes.


Version published
Weekly downloads
10
increased by100%
Maintainers
1
Install size
3.18 MB
Created
Weekly downloads
 

Readme

Source

broccoli-file-size

Latest Stable Version License Build Status

Dependency Status NPM Downloads Test Coverage API Documentation Code Climate

Broccoli plugin to display file sizes. Example output:

> broccoli build dist

file1.txt => 446 kB (284 kB gzipped)
file2.txt => 223 kB (74 kB gzipped)
file3.txt => 543 kB (324 B gzipped)

Installation

npm install --save-dev broccoli-file-size

Usage

ES5

var FileSizePlugin = require('broccoli-file-size');
tree = new FileSizePlugin(tree);

ES2015+

import FileSizePlugin from 'broccoli-file-size';
tree = new FileSizePlugin(tree);

Options

tree = new FileSizePlugin(tree, {
  colors: true,
  gzipped: true
});

colors

Enable/disable colors (default: true).

gzipped

Show/hide gzipped size (default: true).

Keywords

FAQs

Last updated on 26 May 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc