📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

html-vtree

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-vtree

parse html to vtree

0.0.2
latest
npm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

HTML To VTree

Build Status

browser support

Conver your html code to vtree, base on 2 things:

  • vtree
  • htmlparser2

Install

npm i --save html-vtree

Usage

var htmlToVtree = require('html-vtree')

htmlToVtree('<div>hello world</div>', function(err, vtree) {
  // vtree will be a VirtualDom Object in vtree
  console.log(vtree);
});

MIT

FAQs

Package last updated on 29 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts