2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-08 15:54:09 +00:00
iconify/packages/api-redundancy
2024-12-07 08:22:33 +02:00
..
src chore: update deps, migrate api-redundancy to new eslint 2024-11-01 16:59:02 +02:00
tests
.editorconfig Create script for building ES and CommonJS libraries, move Utils and Core to new build process, move Redundancy package to monorepo and refactor it 2021-09-20 12:59:16 +03:00
.gitignore Create script for building ES and CommonJS libraries, move Utils and Core to new build process, move Redundancy package to monorepo and refactor it 2021-09-20 12:59:16 +03:00
.npmignore chore: update deps, migrate api-redundancy to new eslint 2024-11-01 16:59:02 +02:00
.prettierrc
eslint.config.mjs chore: update deps, migrate api-redundancy to new eslint 2024-11-01 16:59:02 +02:00
jest.config.js
license.txt
package.json chore: update dependencies 2024-12-07 08:22:33 +02:00
pnpm-lock.yaml Start moving to pnpm 2022-06-19 20:23:03 +03:00
README.md
tsconfig.json
vitest.config.mjs

Redundancy

This package provides redundancy management for scripts that use API. It detects API connection timeouts and re-sends queries to backup API host(s).

It was designed to be used with Iconify icon components and plugins. It ensures that icon data is automatically retrieved from backup API in case main API server is unreachable, improving API uptime.

Usage

Due to time constraints, documentation is not available.

See lib/api/ in core package in sibling directory of this repository for usage.

License

This package is licensed under MIT license.

SPDX-License-Identifier: MIT

Previous versions of this package were dual-licensed under Apache 2.0 and GPL 2.0 licence, which was messy and confusing. This was later changed to MIT for simplicity.

© 2021-PRESENT Vjacheslav Trushkin