1. npm install sjwt
  2. import {register} from 'sjwt'
  3. 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 be notified when you can sign up, add your email to our waitlist below.