This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

tabular-filesize-gzip
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

NPM version Downloads star this repo fork this repo CI

tabular-filesize-gzip

Show file sizes tabular including Gzip sizes.

Screenshot

Install

$ yarn add tabular-filesize-gzip --dev

Usage

This generates a file size table with multiple sections and groups.

const tabularFilesizeGzip = require('tabular-filesize-gzip')

console.log(tabularFilesizeGzip([
  {
    title: 'Section 1',
    groups: [
      {
        title: 'JS files',
        files: 'test/js/**/*.js',
        ignore: [
          'test/js/legacy/**',
        ],
      },
      {
        title: 'CSS files',
        files: 'test/css/**/*.css',
      },
    ],
  },
  {
    title: 'Section 2',
    groups: [
      // ...
    ]
  }
]))

License

MIT © 2023 Jens Simon

Package Sidebar

Install

npm i tabular-filesize-gzip

Weekly Downloads

16

Version

2.1.1

License

MIT

Unpacked Size

10.9 kB

Total Files

6

Last publish

Collaborators

  • jenssimon