@the-/client
Client for the-server
Installation
$ npm install @the-/client --save
Usage
'use strict'
const { TheClient } = require('@the-/client')
async function tryExample() {
const client = TheClient.for('app')
const fruitShop = await client.use('fruitShop')
await fruitShop.buy()
}
tryExample().catch((err) => console.error(err))
API Guide
- global
- InfoAccess~infoAccess
- module:@the-/client
- module:@the-/client.constants
- module:@the-/client.helpers
- module:@the-/client.helpers.InfoAccess
- module:@the-/client.mixins
- PingSender~pingSender
- TheClient
See API Guide for more detail
License
This software is released under the MIT License.