Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 652 Bytes

README.md

File metadata and controls

66 lines (42 loc) · 652 Bytes

EasyBill
Wrapper

An unofficial API wrapper
of the EasyBill service.



npm install easybill


Example

import { EasyBill } from 'easybill'

const Secret = process.env.Secret;

const config = {
    secret : Secret
}

const client = EasyBill
    .use(config);

const documents = await 
    client.findDocuments();


Development

Install the development dependencies.

npm install

Start the  ts-node-dev  instance.

npm run dev

To regenerate / update the API types.

npm run generate:types