JSPM

@polyfea/browser-api

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 23
  • Score
    100M100P100Q60579F
  • License Apache-2.0

Polyfea API for browser clients

Package Exports

  • @polyfea/browser-api
  • @polyfea/browser-api/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polyfea/browser-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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