UNPKG

@go-avro/avro-js

Version:

JS client for Avro backend integration.

20 lines (14 loc) 670 B
# avro-js A lightweight, flexible TypeScript SDK for interacting with the Avro platform across both web and mobile apps. This SDK provides: - Configurable retry logic (fixed, exponential, or custom strategies) - Automated token management, including refresh on 401 - Manual request cancellation support - Typed API interfaces for Avro entities (users, jobs, teams, etc.) - Pluggable token storage (in-memory, localStorage, SecureStore, etc.) - XHR-based requests for compatibility with React Native WebViews and older environments - Mutation and Data Hooks for easy plug-in use in React and React Native projects. ## Installation ```bash npm i @go-avro/avro-js ```