@tylix/auth
v0.3.5
Published
Authentication primitives for Tylix applications — password hashing, tokens, cookies, and rate limiting.
Readme
@tylix/auth
Authentication primitives for Tylix applications — password hashing, tokens, cookies, and rate limiting.
What's included
hashPassword— password hashingsignToken— auth token signingauthCookies— cookie helpers for session/auth stateloginRateLimiter— rate limiting for login attemptsAuthGenerator— scaffolds auth routes/controllers/views viatylix make:auth
Usage
import { hashPassword, signToken } from '@tylix/auth'Or scaffold auth into a project:
