TypeScript SDK
The official Gumnut TypeScript SDK provides full type safety and works seamlessly in both Node.js and browser environments.Installation
Quick Start
Key Features
- Full TypeScript Support: Complete type definitions for all API endpoints
- Universal Compatibility: Works in Node.js 16+ and modern browsers
- Automatic Retries: Built-in exponential backoff for failed requests
- File Upload Helpers: Support for various file formats (File, Buffer, Stream)
- Streaming Support: Handle large responses efficiently
- Tree-shakeable: Optimized bundle size for frontend applications
File Upload Options
Multiple ways to upload files:Configuration
Error Handling
Repository & Documentation
GitHub Repository: github.com/gumnut-ai/photos-sdk-typescript For complete API documentation, examples, and advanced usage:Browser Usage
The SDK works in browsers with proper bundling:Next Steps
- Check the GitHub repository for detailed documentation
- Review the API Reference for all available methods
- See Authentication for setup options
- Explore other SDK options for different languages