Skip to content

cjpatoilo/htmlcompile

Repository files navigation

HTMLCompile

Compile, optimize and compress anything to HTML.

Travis Status AppVeyor Status Codacy Status Dependencies Status Version Status Download Status Gitter Chat

Why it's awesome

No spend several hours setting configuration files. HTMLCompile will compile, optimize and compress anything to HTML. Set folder name where the source code is located and we'll take care of the rest for you. Just it!

NOTE: For now only works with Pug, Jade, EJS, Haml, Handlebars, Hogan and HTML.

Getting Started

Install with npm

$ npm install htmlcompile

Install with Yarn

$ yarn add htmlcompile

Run with npx (without installing)

$ npx install htmlcompile

Usage

$ htmlcompile src dist

NOTE: Only the folder name is required.

CLI

$ htmlcompile --help

  Usage:

    $ htmlcompile <input> [<output>] [<options>]

  Options:

    -h, --help              Display help information
    -v, --version           Output version

  Examples:

    $ htmlcompile src
    $ htmlcompile src dist

Contributing

Want to contribute? Follow these recommendations.

License

Designed with ♥ by CJ Patoilo. Licensed under the MIT License.