{"library":"supertokens-website","type":"library","category":null,"description":"SuperTokens Website Frontend SDK (npm package `supertokens-website`) is a JavaScript library designed to manage user authentication and session lifecycles for web applications. Currently at version 20.1.6, this SDK facilitates seamless integration with SuperTokens backend services, handling tasks like session creation, refresh, and invalidation automatically. It operates by intercepting network requests to maintain secure sessions through cookies and headers, without direct communication with the SuperTokens Core service from the frontend. Releases occur frequently, with patch and minor updates weekly or bi-weekly, and major versions typically every few months. Unlike `supertokens-web-js`, which is a plain JavaScript SDK for custom UIs, `supertokens-website` is intended as the foundational frontend SDK that can be used directly or integrated into higher-level framework-specific SDKs (e.g., `supertokens-auth-react`) to provide comprehensive authentication solutions, including pre-built UI components and robust session management features.","language":"javascript","status":"active","version":"20.1.6","tags":["javascript","auth","authentication","authorisation","supertokens","chrome","firefox","IE","safari"],"last_verified":"Wed May 27","install":[{"cmd":"npm install supertokens-website","imports":["import SuperTokens from 'supertokens-website';","import { doesSessionExist } from 'supertokens-website';","import { signOut } from 'supertokens-website';","import { addAxiosInterceptors } from 'supertokens-website';"]},{"cmd":"yarn add supertokens-website","imports":[]},{"cmd":"pnpm add supertokens-website","imports":[]}],"homepage":"https://supertokens.com","github":"https://github.com/supertokens/supertokens-website","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/supertokens-website","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/supertokens-website/compatibility"}}