Skip to content

jstransformers/jstransformer-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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