twilson63 / html2hscript

parses html into hyperscript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html2hscript

Parse html to hyperscript library.

Build Status

Usage

var parser = require('html2hscript');
parser('<h1>Hello World</h1>', function(err, hscript) {
  console.log(hscript);
});

Install

npm install html2hscript

Test

npm test

Support

Submit Issue in Github

Contributions

Pull Requests are welcome

License

MIT

Thanks

https://www.npmjs.com/~unframework who wrote the parsing code.

https://www.npmjs.com/~dominictarr who wrote hyperscript.

About

parses html into hyperscript


Languages

Language:JavaScript 100.0%