0.0.2-next.0 ⢠Published 10 months ago
@hintergrund/auth v0.0.2-next.0
--- # Auth utilities for cloudflare workers/pages
š @hintergrund/auth
Add authentication to your site with a single command
Password authentication
Usage (in a cloudflare pages environment)
npx @hintergrund/auth add
npx @hintergrund/auth user
Create endpoints for login, logout and any other protected routes.
functions/
āāā auth/
ā āāā login.js
ā āāā logout.js
āāā protected/
āāā _middleware.js/