assets-analyser

0.2.1 • Public • Published

assets-analyser

This is currently under development

npm version Build Status Dependencies devDependency Status

Analyses given files and reports back with compressed/uncompressed file sizes and custom reports.

This module was inspired and based up grunt-asset-monitor from the Guardian team and Patrick Hamman

Options

analysers

Type: Array Default: ['css', 'js']

By default, asset-analyser will return the size of each file. This is a list of additional analysis tools for various file types.

files

Type: String|Array Default: Required

Location of files to be analysed - works with glob matching so /**/*.js will work.

gzipLevel

Type: Number Default: 6

Level of GZip compression to use to generate compressed file size output.

quiet

Type: Boolean Default: false

Disables logging of information - only shows errors.

Release History

Readme

Keywords

none

Package Sidebar

Install

npm i assets-analyser

Weekly Downloads

1

Version

0.2.1

License

none

Last publish

Collaborators

  • hollandben