injectorjs

0.1.0 • Public • Published

injectorjs

a javascript dependency injection library

Installtion

Download:Source | Minified

Case

	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'

Test

Using karma as test runner, jasmine for test case.

Prepare for test:

npm install

To test:

npm test

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i injectorjs

Weekly Downloads

1

Version

0.1.0

License

none

Last publish

Collaborators

  • zjuwwq