atomic-css-stats
Advanced tools
Comparing version 0.1.0-beta.3 to 0.1.0-beta.4
14
cli.js
@@ -40,5 +40,7 @@ #!/usr/bin/env node | ||
============== | ||
|| ${resource} | ||
| ${resource} | ||
============== | ||
Original file: | ||
Size: ${stats.original.size} | ||
@@ -48,7 +50,11 @@ Gzipped size: ${stats.original.gzipSize} | ||
Atomized size: ${stats.atomic.size} | ||
Gzipped atomized size: ${stats.atomic.gzipSize} | ||
Brotli atomized size: ${stats.atomic.brotliSize} | ||
--- | ||
Compiled to atomic CSS classes: | ||
Size: ${stats.atomic.size} | ||
Gzipped size: ${stats.atomic.gzipSize} | ||
Brotli size: ${stats.atomic.brotliSize} | ||
`) | ||
}) | ||
}()); |
@@ -20,3 +20,3 @@ const filesize = require('filesize') | ||
atomic: { | ||
size: atomizedContent.length, | ||
size: filesize(atomizedContent.length), | ||
gzipSize: filesize(gzipSize.sync(atomizedContent)), | ||
@@ -23,0 +23,0 @@ brotliSize: filesize(brotliSize.sync(atomizedContent)), |
{ | ||
"name": "atomic-css-stats", | ||
"version": "0.1.0-beta.3", | ||
"version": "0.1.0-beta.4", | ||
"description": "Provides information about regular and compiled to atomic CSS classes files size (gzipped)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,6 +20,8 @@ # atomic-css-stats | ||
============== | ||
| https://abs.twimg.com/a/1532484778/css/t1/twitter_core.bundle.css | ||
============== | ||
|| https://abs.twimg.com/a/1532484778/css/t1/twitter_core.bundle.css | ||
============== | ||
Original file: | ||
Size: 182.72 KB | ||
@@ -29,5 +31,9 @@ Gzipped size: 34.08 KB | ||
Atomized size: 61494 | ||
Gzipped atomized size: 15.48 KB | ||
Brotli atomized size: 12.83 KB | ||
--- | ||
Compiled to atomic CSS classes: | ||
Size: 60.05 KB | ||
Gzipped size: 15.48 KB | ||
Brotli size: 12.83 KB | ||
``` | ||
@@ -34,0 +40,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22387
85
47