Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
lib
spec/support
.gitignore
package.json
readme.md

readme.md

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