@asgard-ret/asgard-client

A Javascript client for the Asgard REST API, based on Axios

Usage no npm install needed!

<script type="module">
  import asgardRetAsgardClient from 'https://cdn.skypack.dev/@asgard-ret/asgard-client';
</script>

README

Asgard client

A Javascript client for the Asgard REST API, based on Axios

Installing

npm install asgard-client

Usage

TODO

API

TODO

Roadmap

  • Add type definition (typescript)
  • Error handling
  • Property search parameters

Contribute

Build

Build the library to /dist:

npm run build
  • dist/asgard-client.cjs.js: a CommonJS bundle, suitable for Node.js (require)
  • dist/asgard-client.esm.js: an ES module bundle (import)

Dev

Builds the library, then keeps rebuilding it whenever the source files change:

npm run dev

Test

Build the library and test it:

npm run test