Wondering what’s next for npm?Check out our public roadmap! »

    html-element-stringify

    0.2.0 • Public • Published

    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

    Install

    npm i html-element-stringify

    DownloadsWeekly Downloads

    1,145

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • avatar