@polyfea/browser-api
v1.0.4
Published
Polyfea API for browser clients
Downloads
14
Readme
Polyfea API for the browser client
This package contains the API specification and generated implementation of the Polyfea API intended for communication with the Polyfea server from a browser client. The api is used by @polyfea/core
package, most of the user will not use it directly.
Installation
npm install @polyfea/browser-api
Usage
The package is generated using typescript-fetch
OpenAPI generator tool.
const api = new PolyfeaApi({ basePath: './polyfea' });
const contextArea = await api.getContextArea({ name: 'test', path: '/'});
See also generated API documentation