html2vqua

1.0.35 • Public • Published

← back

Html2vqua

Transfrom html string to vqua nodes

Example

  const html2vqua = require('html2vqua')

  const div = document.createElement('<div></div>')

  const node = html2vqua(div)

  // node =>
  //
  // {
  //   dom: div,
  //   type: TAG_TYPE,
  //   tag: 'div',
  //   props: {},
  //   childs: []
  // },

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.35
    1
    • latest

Version History

Package Sidebar

Install

npm i html2vqua

Weekly Downloads

1

Version

1.0.35

License

ISC

Unpacked Size

8.09 kB

Total Files

13

Last publish

Collaborators

  • sterjakov