Skip to content
/ amee Public

🔐 Simple and stateless library for managing sessions with JWT.

License

Notifications You must be signed in to change notification settings

kayuxx/amee

Repository files navigation

Amee

Amee is a TypeScript library designed for managing sessions with JWTs. It simplifies user authentication with a secure and easy-to-use approach.

Features

  • Easy to implement
  • Fully typed
  • Works in any runtime (Node.js, Deno, Bun, Couldflare Workers)

Installation

npm bun yarn pnpm
npm i amee
bun add amee
yarn add amee
pnpm add amee

Usage

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);

Resources

About

🔐 Simple and stateless library for managing sessions with JWT.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published