Skip to content
r.

crank

bikeshaving/crank · Public GitHub repository

The Just JavaScript UI Framework

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

crank live demo screenshot
Captured from the live demo · 2026-11-12

About this project

Author-written excerpt from the project README.

Or try it instantly in the online playground.

Crank leans on the language instead of reinventing it. State is a local variable, held in a generator’s scope. Updates are re-execution: calling refresh() runs the loop again. A loading state is an async function, awaited. Setup is the code before the loop; cleanup is the code after it. There are no hooks, no dependency arrays, no compiler, and no rules about what you can call where — control flow is the lifecycle.

Because components are plain functions and generators, everything you already know about JavaScript applies. Closures hold state, modules share logic, and try/finally handles teardown. If you can read JavaScript, you can read a Crank component.

Requirements and intended audience

Or try it instantly in the online playground.

Not recorded: account, external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-10-22. Source: https://github.com/bikeshaving/crank/blob/main/README.md

Recorded maintenance information

Last recorded source update: 2026-11-03. Saved release: v0.7.12 · 2026-09-04. These dates do not guarantee ongoing maintenance.

Technologies
TypeScript
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-12. This does not test every feature.

Browse related categories