@positioner/banyan-js-client
v1.0.8
Published
JavaScript client for banyan
Downloads
11
Readme
Banyan JS Client
JavaScript client for Banyan
This project uses openapi-typescript-codegen to generate a JavaScript client starting from the Banyan OpenAPI schema
Usage
Install dependencies:
npm i
Generate TypeScript client
The generator will look for a schema.yml
file in the root of the project. Make sure this is the Banyan schema file and that it's up to date.
npm run generate
Compile TypeScript into JavaScript
npm run compile
Or you can do both steps at once with the following:
npm run build
Once the client has been built you'll find it in the dist/
folder.