UNPKG

@twin.org/api-tenant-processor

Version:

API Tenant Processor for converting and api key to a tenant id.

22 lines (12 loc) 547 B
# TWIN API Tenant Processor Will read `x-api-key` from HTTP header or query params and convert it to a tenant id, to be used for partitioning data. ## Installation ```shell npm install @twin.org/api-tenant-processor ``` ## Examples Usage of the APIs is shown in the examples [docs/examples.md](docs/examples.md) ## Reference Detailed reference documentation for the API can be found in [docs/reference/index.md](docs/reference/index.md) ## Changelog The changes between each version can be found in [docs/changelog.md](docs/changelog.md)