Languages Features Creators Calendar CSV Resources Blog About Pricing Add Language
GitHub icon


Hyperscript - Template language

< >

Hyperscript is a template language created in 2012 by Dominic Tarr.

#829on PLDB 11Years Old 2.7kUsers
0Books 0Papers

Create HyperText with JavaScript.

Example from the web:
var h = require('hyperscript') h('div#page', h('div#header', h('h1.classy', 'h', { style: {'background-color': '#22f'} })), h('div#menu', { style: {'background-color': '#2f2'} }, h('ul', h('li', 'one'), h('li', 'two'), h('li', 'three'))), h('h2', 'content title', { style: {'background-color': '#f22'} }), h('p', "so it's just like a templating engine,\n", "but easy to use inline with javascript\n"), h('p', "the intention is for this to be used to create\n", "reusable, interactive html widgets. "))
mathics.html 路 hyperscript.html 路 gcc-machine-description.html

View source

- Build the next great programming language Search v2023 Day 208 Docs Acknowledgements Traffic Traffic Today Mirrors GitHub