@starptech/prettyhtml-hastscript

0.10.0 • Public • Published

@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 through content property. Handle it like any other element.

Package Sidebar

Install

npm i @starptech/prettyhtml-hastscript

Weekly Downloads

3,141

Version

0.10.0

License

MIT

Unpacked Size

7.32 kB

Total Files

7

Last publish

Collaborators

  • starptech