0.0.20 • Published 7 months ago

@yesiree/htmlc v0.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

htmlc

A simple tool for compiling HTML files

API

Example

import { htmlc } from '@yesiree/htmlc'

htmlc({
  src: 'src/index.html', // default: 'src/index.html'
  out: 'out/index.html, // default: 'out/index.html'
  watch: true, // default: false
  minify: true // default: false
}) // returns: Promise<chokidar.FSWatcher | void>

CLI

Install Globally:

$ npm i -g @yesiree/htmlc

Compile src/index.html

Syntax: htmlc [-s|-src|-source src/index.html] [-o|-out|-output out/index.html] [-w|-watch] [-m|-minify]

Example

$ htmlc -s index.html -m
0.0.20

7 months ago

0.0.13

7 months ago

0.0.14

7 months ago

0.0.15

7 months ago

0.0.16

7 months ago

0.0.17

7 months ago

0.0.18

7 months ago

0.0.19

7 months ago

0.0.11

8 months ago

0.0.12

8 months ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.1

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.0

3 years ago