Skip to content

仓库 files navigation

hyperscript

hyperscript

the underscore is silent

A scripting language for the web, inspired by HyperTalk

quickstart

<script src="https://unpkg.com/hyperscript.org"></script>

<button _="on click toggle .clicked">
  Toggle the "clicked" class on me
</button>

<button _="on click call alert('yep!') then wait 2s then remove me">
  Click me
</button>

esm

import _hyperscript from 'hyperscript.org'

website & docs

contributing

  • please write tests in /test and docs in /www
  • run the test suite: npm test
  • build: npm run build

关于

a small scripting language for the web

Topics

Resources

Stars

3.8k stars

关注者

32 watching

复刻s

发布

Used by

贡献者

Languages