Skip to content

npm-dom/new-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2e2764f · Apr 9, 2016

History

7 Commits
Sep 15, 2013
Sep 15, 2013
May 11, 2014
May 11, 2014
Apr 9, 2016
Apr 9, 2016

Repository files navigation

new-element

Create DOM elements from HTML with simple templating based on format-text

var newElement = require('new-element')

newElement('<input />')
newElement('<a href="{link}">{text}</a>', { link: 'foo.com', text: 'click' })

Install

$ npm install new-element

About

Create DOM elements from HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published