@starptech/prettyhtml-hastscript
v0.10.0
Published
Hyperscript compatible DSL for creating virtual HAST trees
Downloads
11,934
Maintainers
Readme
@starptech/prettyhtml-hastscript
Hyperscript compatible DSL for creating virtual HAST trees
Installation
npm install --save @starptech/prettyhtml-hastscript
Caveats
The implementation is a modified version of Hastscript Version 4.0.0
- Known html attributes aren't handled case-sensitively
- Don't coerce or optimize attribute values
- Don't house
<template>
node throughcontent
property. Handle it like any other element.