Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Keywords

Install

npm i html2vqua

DownloadsWeekly Downloads

2

Version

1.0.35

License

ISC

Unpacked Size

8.09 kB

Total Files

13

Last publish

Collaborators

  • avatar