Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.11 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.11 KB

jstransformer-cli

Command line interface for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install -g jstransformer-cli

Usage

jstransformer <transformer> <file> [options]
cat <file> | jstransformer <transformer> [options]

Options:

  --version  output the version number
  --locals   JSON string for locals
  --options   JSON string for options

Example

jstransformer marked README.md > README.html
cat README.md | jstransformer marked > README.html

License

MIT