{"library":"libts-csrfx-auth","type":"library","category":null,"description":"libts-csrfx-auth is a TypeScript-first library designed for managing web session authentication, including CSRF token handling and cookie persistence. Currently at stable version 1.0.3, it has a recent and active release cadence, evidenced by several minor releases following its 1.0.0 major launch. Inspired by Rust's `cekunit-client`, this library focuses on providing a minimal yet robust solution for client-side or web automation authentication flows. Its core utility lies in abstracting the complexities of session management, secure CSRF token exchange, and automatically maintaining authentication state via HTTP cookies, making it suitable for applications requiring resilient and secure web session handling in Node.js or Bun environments.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","libts","auth","csrf","session","cookies","typescript","web-automation","login"],"last_verified":"Wed May 27","install":[{"cmd":"npm install libts-csrfx-auth","imports":["import { AuthHandler } from 'libts-csrfx-auth';","import type { AuthHandlerConfig } from 'libts-csrfx-auth';","import { AuthError } from 'libts-csrfx-auth';"]},{"cmd":"yarn add libts-csrfx-auth","imports":[]},{"cmd":"pnpm add libts-csrfx-auth","imports":[]}],"homepage":null,"github":"https://github.com/neuxdotdev/libts-csrfx-auth","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/libts-csrfx-auth","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/libts-csrfx-auth/compatibility"}}