spreaker-css-inliner

v0.0.2
A CLI interface for juice CSS inliner
email css inliner

css-inliner

A CLI interface for juice.

Install

npm install spreaker-css-inliner

Usage

Read an input file or stdin, inline styles and save the output to a new file or stdout.

Options:
  -i, --input          Input file
  -o, --output         Output file
  -p, --preserve-mq    Preserve media queries  [default: false]
  -r, --remove-styles  Remove styles tag       [default: false]
  -h, --help           Show this help

Example: read from a file and save to another one

inline -i input.html -o output.html

Example: read from stdin and write to stdout

cat input.html | inline > output.html
npm i spreaker-css-inliner

Metadata

  • Unknown
  • Whatever
  • Spreaker
  • released 7/31/2014

Downloads

Maintainers