Skip to content

yesiree/htmlc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple tool for compiling HTML files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages