# slskr API Client (TypeScript/JavaScript) TypeScript/JavaScript client library for the slskr HTTP API. This package is part of the independent `slskr` project and is not affiliated with or endorsed by Soulseek or its operators. ## Features - ✅ Full type safety with TypeScript - ✅ Async/await support - ✅ Batch operations for efficient bulk requests - ✅ WebSocket support for real-time events - ✅ Automatic retries with exponential backoff - ✅ Comprehensive error handling - ✅ No runtime dependency for REST calls - ✅ Works in browsers through a bundler when `fetch` and `WebSocket` are available - ✅ Node.js 18+ support for REST calls - ✅ Contract and lifecycle test coverage ## Installation ```bash npm install @slskr/api-client ``` ### Browser The package is CommonJS with TypeScript declarations. Use it through your bundler; it does not publish a standalone browser `