Skip to content

kossnocorp/html-element-stringify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-element-stringify

HTMLElement stringifier.

Installation

npm install html-element-stringify --save

Example

var htmlElementStringify = require('html-element-stringify')

var div = document.createElement('div')
div.id = 'test'
div.innerHTML = 'TEST'

htmlElementStringify(div)
//=> '<div id="test">TEST</div>'

License

MIT

About

HTMLElement stringifier

Resources

Stars

Watchers

Forks

Packages

No packages published