jsonml-cli
v0.1.0
Published
Convert HTML to JSONML or vice versa
Downloads
6
Maintainers
Readme
#jsonml-cli
Convert HTML to JSONML or vice versa
##Installation
$ npm install -g jsonml-cli
##Usage
$ jsonml [options]
##Options
-o, --out <file> output file
-i, --in <file> input file
-u, --url <url> input URL
-s, --space [string] adds indentation, white space and line break
-n, --noProcInst don't generate processing instructions
-l, --lowerTagNames tag names in lower case
-L, --lowerAttrNames attribute names in lower case
-a, --childrenInArray children in separate array
-r, --requireAttr HTML -> JSONML: add attributes object in any case
-e, --decodeEntities HTML -> JSONML: decode Entities
-v, --version output the version number
-h, --help output usage information
####Without -i, --in and -u, --url
input from stdin
####Without -o, --out
output to stdout
Contributors
- Maqentaer