html2hscript

parse html into hyperscript

Usage no npm install needed!

<script type="module">
  import html2hscript from 'https://cdn.skypack.dev/html2hscript';
</script>

README

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.