Build interactive web pages with dynamic state without heavy framework overhead.
Add real-time interactivity to a website using just JavaScript and no build tools.
Create small-to-medium web apps that respond to user clicks, form input, and keyboard events.
Hyperapp is an extremely small JavaScript framework, just about 1 kilobyte in size, for building interactive web applications. The problem it solves is that popular frameworks like React can feel heavy and complex for smaller projects. Hyperapp strips everything down to the bare essentials: you describe what the page should look like based on the current state (data), define actions that change that state when users do things like click a button, and Hyperapp efficiently updates only the parts of the page that actually changed. This approach is called a Virtual DOM, a lightweight copy of the page structure that Hyperapp uses to calculate the minimum number of real changes needed. The framework uses four core ideas: views (what the page looks like), actions (what can change), effects (things like network requests), and subscriptions (reacting to ongoing events like keyboard input). No build step is required to get started, you can import it directly in a browser. You would use Hyperapp when you want to add dynamic, stateful behavior to a web page without pulling in a large framework. It is written in JavaScript, requires no special tooling, and installs via npm.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.