0.0.20 • Published 10 months ago

@yesiree/htmlc v0.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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

10 months ago

0.0.13

10 months ago

0.0.14

10 months ago

0.0.15

10 months ago

0.0.16

10 months ago

0.0.17

10 months ago

0.0.18

10 months ago

0.0.19

10 months ago

0.0.11

11 months ago

0.0.12

11 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

4 years ago