Detalhes do pacote

@starptech/prettyhtml-hastscript

StarpTech10.8kMIT0.10.0

Hyperscript compatible DSL for creating virtual HAST trees

hast, prettyhtml, vdom, virtual

readme (leia-me)

@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.