Socket
Socket
Sign inDemoInstall

amp-inline-critical-cli

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

amp-inline-critical-cli - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

package.json

@@ -124,3 +124,3 @@ {

},
"version": "0.0.4",
"version": "0.0.5",
"xo": {

@@ -127,0 +127,0 @@ "space": 4,

@@ -20,19 +20,7 @@ # amp-inline-critical-cli

inline-critical works well with standard input.
You can either pass in the html
Recommened usage in example below.
Works well with either `.html` or `.php` files.
```bash
cat index.html | amp-inline-css-cli critical.css
amp-inline-css-cli -c /path/to/css/main.css -h /path/to/index.html > /path/to/output/index.html
```
or just flip things around
```bash
cat critical.css | amp-inline-css-cli index.html
```
or pass in the fileas as an option
```bash
amp-inline-css-cli critical.css index.html
```
without having to worry about the correct order
```bash
amp-inline-css-cli index.html critical.css
```
Run `amp-inline-css-cli --help` to see the list of options.

@@ -39,0 +27,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