Skip to content

bigskysoftware/_hyperscript

Repository files navigation

//_hyperscript

the underscore is silent

introduction

_hyperscript is a small, open scripting language inspired by hypertalk

it is a companion project of https://htmx.org

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

About

a small scripting language for the web

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors