0.1.3 • Published 11 years ago
htmlprocessor-prepend v0.1.3
htmlprocessor

npm install -g htmlprocessor
Grunt task
This module was originally merged into the grunt-processhtml task.
Now its a standalone module without grunt dependency.
For plenty of documentation please visit grunt-processhtml
CLI
$ htmlprocessor -vOutputs to file-to-process.processed.html.
$ htmlprocessor file-to-process.htmlOutputs to processed/file.html.
$ htmlprocessor file-to-process.html -o processed/file.htmlPass some data
$ htmlprocessor file-to-process.html -o processed/file.html -d data.jsonSpecify an environment
$ htmlprocessor file-to-process.html -o processed/file.html -e devAllow recursive processing
$ htmlprocessor file-to-process.html -o processed/file.html -rChange the comment marker to <!-- process --><!-- /process -->
$ htmlprocessor file-to-process.html -o processed/file.html --comment-marker processLicense
See LICENSE.txt