1.0.2 • Published 7 years ago

rspnd v1.0.2

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
7 years ago

rspnd

mad simple html create/update library

Install

npm i rspnd --save

Usage

var html = require('rspnd')
var heading = 'rspnd'
var template = function (heading) {
  return `<h1>${heading}</h1>`
}
var element = html(template(heading))
document.body.append(element)
heading = 'updated'
html.update(element, html(template(heading)))