Check out dscript for documentation on more advanced usage.
npm install --save dscript-doc
import {div, li, ul} from 'dscript-doc'
const handleClick = () => alert('hi')
const component = (
div('.list-container', {onClick: handleClick}, [
ul([
li(['task 1']),
li(['task 2']),
li(['task 3'])
])
])
)
MIT © Dustin Specker