Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

atomic-css-stats

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atomic-css-stats - npm Package Compare versions

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 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc