htmlprocessor-prepend

0.1.3 • Public • Published

htmlprocessor Build Status NPM version

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 -v

Outputs to file-to-process.processed.html.

$ htmlprocessor file-to-process.html

Outputs to processed/file.html.

$ htmlprocessor file-to-process.html -o processed/file.html

Pass some data

$ htmlprocessor file-to-process.html -o processed/file.html -d data.json

Specify an environment

$ htmlprocessor file-to-process.html -o processed/file.html -e dev

Allow recursive processing

$ htmlprocessor file-to-process.html -o processed/file.html -r

Change the comment marker to <!-- process --><!-- /process -->

$ htmlprocessor file-to-process.html -o processed/file.html --comment-marker process

License

See LICENSE.txt

Package Sidebar

Install

npm i htmlprocessor-prepend

Weekly Downloads

6

Version

0.1.3

License

none

Last publish

Collaborators

  • robertjlooby