2.2.4 • Published 11 months ago

amee v2.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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

npmbunyarnpnpm
npm i ameebun add ameeyarn add ameepnpm add amee

Usage

const options: AmeeOptions = {
  secret: process.env.AUTH_SECRET,
  cookieName: "sessionId"
};

type SessionData = {
  name: string;
  email: string;
};

export const amee = Amee<SessionData>(options);

Resources

2.2.1

12 months ago

2.2.3

11 months ago

2.2.2

12 months ago

2.2.4

11 months ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago