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: []
  // },

Readme

Keywords

Package Sidebar

Install

npm i html2vqua

Weekly Downloads

2

Version

1.0.35

License

ISC

Unpacked Size

8.09 kB

Total Files

13

Last publish

Collaborators

  • sterjakov