0.1.4 • Published 8 years ago

virtual-hyperscript-parser v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Virtual Hyperscript Parser

Parses raw html to a virtual hyperscript structure for DOM diffing.

Install

npm install virtual-hyperscript-parser

Usage

var hyperscriptParser = require("../index");

//Parse a string
var content = "<div>...</div>";
console.log(hyperscriptParser(content));

//Parse DOM object directly
var content = document.getElementById("content");
console.log(hyperscriptParser(content));
0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago