1.0.8 • Published 2 years ago
@positioner/banyan-js-client v1.0.8
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 iGenerate 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 generateCompile TypeScript into JavaScript
npm run compileOr you can do both steps at once with the following:
npm run buildOnce the client has been built you'll find it in the dist/ folder.