@key0ai/key0 is a single package that exposes everything you need to add payment-gated endpoints to your API. Import from the main entry point for core functionality, or use framework-specific subpath imports.
Install
Main Import
Everything below is available from the top-level import:Core Classes
Storage
Factory
Executor
Middleware
Auth Helpers
Remote Helpers
Pay-Per-Request Helpers
Error Types
Constants
Subpath Imports
Framework-specific adapters are available as subpath imports. Each exposes a router/plugin and avalidateAccessToken middleware for protecting routes.

