4.13K
total weekly downloads
144 packages
@priemskiyyy/anchor
Provider-independent session state for TypeScript: one typed, reactive, race-safe view of the current session, with tokens and sign-out bound to the session they belong to.
@priemskiyyy/anchor-amplify
Amazon Cognito sessions for Anchor: Hub events observed, tokens from fetchAuthSession and a sign-out of this device only, over the Amplify Auth you inject.
@priemskiyyy/anchor-auth0
Auth0 sessions for Anchor: the cached ID token, access tokens per audience and Auth0's logout page on ending, over the auth0-spa-js client you inject.
@priemskiyyy/anchor-auth0-react-native
Auth0 sessions for Anchor on React Native: the credentials manager's session and its access tokens, over the react-native-auth0 client you inject.
@priemskiyyy/anchor-authjs
Auth.js sessions for Anchor: the cookie session, read and ended without a redirect, over the next-auth/react client you inject.
@priemskiyyy/anchor-better-auth
Better Auth sessions for Anchor: the cookie session observed and read through the session atom behind useSession, and its token minted on request, in the browser and on React Native with the Expo plugin, over the Better Auth client you inject.
@priemskiyyy/anchor-better-auth-node
Better Auth sessions for Anchor's server reads: each request's session and the headers Better Auth wants set, over the server's auth instance you inject.
@priemskiyyy/anchor-browser
Browser lifecycle hints for Anchor: read the session again when the page becomes visible, the browser comes back online, or another tab's session changes.
@priemskiyyy/anchor-clerk
Clerk sessions for Anchor: the session with its organization, actor and pending task observed through the listener, and session tokens per JWT template, over the Clerk instance you inject.
@priemskiyyy/anchor-clerk-node
Clerk sessions for Anchor's server reads: each request authenticated with its organization and actor, and the headers Clerk wants set, over the @clerk/backend client you inject.
@priemskiyyy/anchor-devtools
Devtools for Anchor: a framework-independent inspector for the lifecycle, the session, the operations in flight and a timeline of diagnostics, with the principal hidden until asked and React, Vue, Solid and Svelte wrappers.
@priemskiyyy/anchor-firebase
Firebase Auth sessions for Anchor: the signed-in user observed through onIdTokenChanged and its ID tokens, over the modular Auth instance you inject.
@priemskiyyy/anchor-firebase-node
Firebase Auth sessions for Anchor's server reads: each request's session cookie or ID token verified, over the firebase-admin Auth you inject.
@priemskiyyy/anchor-firebase-react-native
Firebase Authentication sessions for Anchor on React Native: the signed-in user observed through onIdTokenChanged and its ID tokens, over the @react-native-firebase/auth Auth instance you inject.
@priemskiyyy/anchor-http
Your own backend's sessions for Anchor: the session your client reads, tokens bound to the session that asked, and its ending, over the functions you inject.
@priemskiyyy/anchor-keycloak
Keycloak sessions for Anchor: logins, refreshes and logouts through the callbacks you assigned, access tokens refreshed on demand and the logout page on ending, over the keycloak-js instance you inject.
@priemskiyyy/anchor-msal
Microsoft Entra ID sessions for Anchor: the explicit active account through MSAL's events, access tokens per set of scopes and a sign-out of that account alone, over the MSAL.js client you inject.
@priemskiyyy/anchor-oidc
OpenID Connect sessions for Anchor: the user of Okta, Keycloak, Zitadel, Authentik, Cognito, Entra or any OIDC provider, its access token and the end-session page, over the oidc-client-ts UserManager you inject.
@priemskiyyy/anchor-okta
Okta sessions for Anchor: the auth state manager's session, tokens from the token manager and a revoking sign-out that hands back the logout page, over the okta-auth-js instance you inject.
@priemskiyyy/anchor-react
React bindings for Anchor: a provider, and hooks that read the Anchor and its session state, with selectors, and never start, read or mint anything.
@priemskiyyy/anchor-react-native
React Native lifecycle hint for Anchor: read the session again when the app returns to the foreground, through the AppState you pass.
@priemskiyyy/anchor-server
Request-scoped session reads for Anchor: one request in, its session state and the headers the provider wants set out, with an explicit allowlist for hydration.
@priemskiyyy/anchor-solid
Solid bindings for Anchor: a provider, and primitives that read the Anchor and its session state, with selectors, and never start, read or mint anything.
@priemskiyyy/anchor-supabase
Supabase Auth sessions for Anchor: the session observed through onAuthStateChange, its access tokens and a local-scope sign-out, over the supabase-js client you inject.
@priemskiyyy/anchor-supabase-node
Supabase Auth sessions for Anchor's server reads: each request's session verified with Supabase Auth, and the cookies Supabase refreshes, over the @supabase/ssr server client factory you inject.