Moddable
Documentation
Documentation for Moddable: one runtime for your server, site and service worker, composed from typed modules and deployed as a single Cloudflare Worker.
Get started
What Moddable is, and how to get a deployment of it running.
API reference
Every route core serves, by module.
Auth · Sessions
Who a request is, how it became that, and how it stops — sessions, registration, sign-in and one-time codes.
Auth · Methods
Which authentication methods a deployment offers, for signing in and for registering.
Auth · Identities
The account itself — its name, photo, passphrase, passkey, email, claims, connections and sessions.
Auth · Email
Email registration, sign-in, recovery and verification, plus every account mail the module sends.
Auth · Usernames and phones
Looking up an identity by username or phone number, checking availability, and username recovery.
Auth · Credentials
Passkeys and security keys — challenges, registration options and sign-in options.
Auth · OAuth
Signing in with a provider, and configuring the providers a deployment offers.