{"library":"better-auth-lead","type":"library","category":null,"description":"The `better-auth-lead` package is a plugin for the `better-auth` ecosystem, designed to extend its core functionality with lead management capabilities. It facilitates features like newsletter sign-ups, waitlists, and general lead capture by providing a dedicated database table (`leads`) and a robust API. Currently at version 0.4.0, the package is in active development, implying potential API changes in minor versions before reaching a stable 1.0 release. Key differentiators include its seamless integration with `better-auth`'s server and client infrastructure, built-in support for email verification with customizable sending logic, and the ability to define and validate lead metadata using standard schema libraries like Zod or Valibot. This allows developers to quickly add lead generation features with strong type safety and validation.","language":"javascript","status":"active","version":"0.4.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-lead","imports":["import { lead } from 'better-auth-lead';","import { leadClient } from 'better-auth-lead/client';","import type { LeadMetadata } from 'shared/lead-metadata-schema';"]},{"cmd":"yarn add better-auth-lead","imports":[]},{"cmd":"pnpm add better-auth-lead","imports":[]}],"homepage":null,"github":"https://github.com/marcjulian/better-auth-plugins","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-lead","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/better-auth-lead/compatibility"}}