auta

2.0.0-R3 • Public • Published

AuTA.js

AuTA.js provides a friendly JavaScript interface for the AuTA API.

Basic usage

A client can be instantiated using the AuTA client factory:

import AuTA from 'auta';
const client = AuTA.client({
  ...options
})

Options is a dictionary of the following fields:

Key Type Default Description
baseUrl string the current host the URL the AuTA core is running on
authProvider AuthProvider an instance of AuthProvider the authentication key provider to use when calling authenticated endpoints
http Http an axios wrapper the HTTP/REST backend

Only the authProvider is required, unless only public endpoints are used.

See the JSDoc for information on how to use the AuTA client.

Readme

Keywords

Package Sidebar

Install

npm i auta

Weekly Downloads

0

Version

2.0.0-R3

License

AGPL-3.0-only

Unpacked Size

91.4 kB

Total Files

34

Last publish

Collaborators

  • timvdh123
  • wukl