npm install sjwt
import {register} from 'sjwt'
const user = await register({email, password, projectId});
No really, that's it.
This is a JWT provider I wrote for myself. With an account you can have projects that support a number of end-users as specified by your account plan. The API exposes just a few auth endpoints, including login, logout, register, and token invalidation. You can then use those JWTs on any static site and get access to a very basic json store for each end user.
SimpleJWT is currently in closed beta. If you would like to sign up, please email me at jon@simplejwt.com.