An open API service indexing awesome lists of open source software.

https://github.com/bkper/bkper-api-types

Typescript definitions for the Bkper REST API
https://github.com/bkper/bkper-api-types

Last synced: 5 months ago
JSON representation

Typescript definitions for the Bkper REST API

Awesome Lists containing this project

README

          

# Summary

This package contains Typescript definitions for the [Bkper REST API](https://bkper.com/docs/#rest-api).

[![npm (scoped)](https://img.shields.io/npm/v/@bkper/bkper-api-types?color=%235889e4)](https://www.npmjs.com/package/@bkper/bkper-api-types)

The types are generated based on the Bkper [Open API spec](https://bkper.com/openapi.json) using the [dtsgenerator](https://github.com/horiuchi/dtsgenerator) tool.

More information at the [Bkper Developer Documentation](http://bkper.com/docs/#rest-api)

# Instalation

### 1) Add the package:

```
npm i -S @bkper/bkper-api-types
```
or
```
yarn add --dev @bkper/bkper-api-types
```

### 2) Configure tsconfig.json:

```
{
"compilerOptions": {
"typeRoots" : ["node_modules/@bkper", "node_modules/@types" ]
}
}
```

[Learn more](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#types-typeroots-and-types) about **@types**, **typeRoots** and **types**