hhc

1.0.1 • Public • Published

hhc

a helpful html compiler

install - npm i hhc -g usage - hhc input.html output.html

why hhc?

  • write your familiar html just with additional features
  • import html components
<import path="./file" foo="bar" />
  • use vars passed to the components
<p>hello $foo</p>
  • no need to make up class names.
<style>         |  <style>
p {             | p.hhc1 {
}               | }
</style>        | </style>
<p> hello </p>  | <p class="hhc1"> hello </p>
  • multi line comments we enjoy!
/* comment */

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hhc

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    8.86 kB

    Total Files

    6

    Last publish

    Collaborators

    • ayushmantripathy