JavaScript/TypeScript SDK

  1. 1.Install Node.js 16 or higher
  2. 2.Install the SDK: npm install @wubble/sdk or yarn add @wubble/sdk
  3. 3.Import and configure the client with your API key
  4. 4.Use async/await for all API calls
  5. 5.Implement proper error handling
  6. 6.Use TypeScript for full type safety (optional)
  7. 7.Deploy to Vercel, Netlify, or your preferred platform

Integrate Wubble into Node.js and browser applications with our official JavaScript/TypeScript SDK. Built with modern JavaScript, full TypeScript support, and designed for both frontend and backend use.

Notes

  • Full TypeScript support, Promise-based API, automatic retries, streaming support, React hooks, Next.js integration, and browser compatibility.
  • Never expose API keys in client-side code. Use server-side rendering, API routes, or serverless functions to keep keys secure.
  • We provide React hooks for easy integration: useWubbleGeneration, useWubblePlayer, and useWubbleUpload. Install @wubble/react for React-specific features.

How would you rate the help you received from this article?

Still need help?

Can't find what you're looking for? Our team is here to help you get the most out of Wubble.

?