JSPM

  • Created
  • Published
  • Downloads 1837
  • Score
    100M100P100Q140121F
  • License MIT

Hyperscript compatible DSL for creating virtual HAST trees

Package Exports

  • @starptech/prettyhtml-hastscript
  • @starptech/prettyhtml-hastscript/svg

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@starptech/prettyhtml-hastscript) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@starptech/prettyhtml-hastscript

Hyperscript compatible DSL for creating virtual HAST trees

The implementation is a derivated from hastscript (Version 4.0.0)


npm install --save @starptech/prettyhtml-hastscript

📖 Documentation 📖

Modifications

  • Don't coerce or optimize attribute values
  • Don't house <template> node through content property. Handle it like any other element.