package
Cli for converting html to hyperscript and the other way around
npm install hscriptGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Cli for converting html to hyperscript and the other way around.
$ npm install -g hscript$ hscript index.html
# -> h('div', ['text'])$ hscript index.js
# -> <div>text<div/>stdin$ echo "<div>text<div/>" | hscript
# -> h('div', ['text'])$ echo "h('div', ['text'])" | hscript --html
# -> <div>text<div/>npm testEstimated unpacked size across 41 packages.
1.2 MB
Includes dependencies.
7 direct · 5 outdated
^1.3.0
2.7.0
0.0.5
1.0.1
^1.1.0
1.2.8
^2.0.1
0.0.1-security
^1.3.0
2.1.1
^1.0.2
2.0.1
^2.1.0
3.0.1