hmap
hmap is a fast, flexible interpreter for HTML which use jade/pug syntax to describe HTML
Install
npm install --save hmapornpm install hmap
Basic Usage
hmap file
test.hmap
html head title #{personal-title}
javascript file
var hmap = ;var html = '<html><head><title>hmap</title></head></html>'var result = ;console;
result
Features
- Beautiful Syntax:
hmap
file use a beautiful syntax like jade/pug. if you have been use this template engine,you can fast to use it! - Full Support: the low-level interpreter is Cheerio.A powerful npm package or core.
License
this project is basic on MIT License. Use it free for you like.