@anafi-cc/sdk is the TypeScript client of Anafi. It is open source under the MIT licence, and it runs in the browser and in Node.
The client
createAnafiClient(config) returns a client for one network.
Rule builders
Errors
Every failed HTTP call throwsBackendRequestError with the route, the status and the body. A refused rule throws DslStageRefusedError with the reason.
Versioning
The API is0.x. A minor release can change it. See the changelog on GitHub.