Amee is a TypeScript library designed for managing sessions with JWTs. It simplifies user authentication with a secure and easy-to-use approach.
- Easy to implement
- Fully typed
- Works in any runtime (Node.js, Deno, Bun, Couldflare Workers)
npm | bun | yarn | pnpm |
---|---|---|---|
|
|
|
|
Check out our example website here
const options: AmeeOptions = {
secret: process.env.AUTH_SECRET,
cookieName: "sessionId"
};
type SessionData = {
name: string;
email: string;
};
export const amee = Amee<SessionData>(options);