a javascript dependency injection library
var node = html2dom('<td><span>123</span></td>');
node.tagName; // 'td'
node.innerHTML; // '<span>123</span>'
var nodes = html2dom('<div>1</div><p>2</p>');
nodes.length; // 2
nodes[1].tagName; // 'p'
Using karma as test runner, jasmine for test case.
npm install
npm test
MIT