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

readme.md

← back

Vqua2string

Tranform vqua nodes to string

Example

  const vqua2string = require('vqua2string')

  const nodes = [
    {
      type: TAG_TYPE,
      tag: 'div',
      props: {},
      childs: []
    }
  ]

  const string = vqua2string(nodes)

  // string =>
  //
  // '<div></div>'