Miss any of our Open RFC calls?Watch the recordings here! »

dom2vqua

1.0.32 • Public • Published

← back

Dom2vqua

Transfrom dom nodes to vqua nodes

Example

 
  const dom2vqua = require('dom2vqua')
 
  const div = document.createElement('div')
 
  const node = dom2vqua(div)
 
  // node =>
  //
  // {
  //   dom: div,
  //   type: TAG_TYPE,
  //   tag: 'div',
  //   props: {},
  //   childs: []
  // },
 

Install

npm i dom2vqua

DownloadsWeekly Downloads

5

Version

1.0.32

License

ISC

Unpacked Size

15.3 kB

Total Files

16

Last publish

Collaborators

  • avatar