Support
Get help with using the library and connect with the community.
GitHub Issues
Report bugs, request features, or contribute to the project on GitHub.
1 git clone https://github.com/hosby-client/hosby-ts.git # Install dependencies cd hosby-ts npm install # Start development server npm run devDiscord Community
Join our Discord server to chat with other developers and get help from the community.
Our Discord server is the best place to:
- Get help with using the library
- Share your projects and get feedback
- Connect with other developers
- Stay updated on the latest releases
Frequently Asked Questions
How do I install the library?
You can install the library using npm, yarn, or pnpm:
1npm install hosby-tsHow do I customize the theme?
You can customize the theme by using the ThemeProvider component:
1import HosbyClient from "hosby-ts";
2
3let hosby: HosbyClient;
4
5//config Hosby client
6hosby = new HosbyClient({
7 baseURL: process.env.BASE_URL, // https://api.hosby.io
8 privateKey: process.env.PRIVATE_KEY,
9 apiKeyId: process.env.API_KEY_ID,
10 projectId: process.env.PROJECT_ID,
11 userId: process.env.USER_ID,
12 projectName: process.env.PROJECT_NAME
13});
14
15// Initialize Hosby client
16const initializeHosbyClient = async () => {
17 try {
18 await hosby.init();
19 console.log('Hosby client initialized successfully');
20 } catch (error) {
21 console.error('Failed to initialize Hosby client:', error);
22 throw error;
23 }
24};