TypeScript Client
Reference
Comprehensive guide to the KeyHippo client API
Prerequisite You should have installed Node.js (version 18.10.0 or higher) and have a Supabase project set up.
Installation
Install KeyHippo in your project:
KeyHippo Class
The main class for interacting with KeyHippo functionality.
Constructor
supabaseClient
: SupabaseClient - Your initialized Supabase clientlogger
(optional): Logger - Custom logger object (defaults to console)
Methods
Types
Error Handling
KeyHippo uses a custom AppError
type for error handling:
Wrap KeyHippo method calls in try-catch blocks to handle these errors appropriately in your application.
Troubleshooting
Here’s how to solve some common problems when working with the KeyHippo client:
For more detailed troubleshooting, refer to the KeyHippo GitHub repository or consult the full documentation.