0.0.2 • Published 10 years ago

spreaker-css-inliner v0.0.2

Weekly downloads
4
License
-
Repository
github
Last release
10 years ago

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