1.2.1 • Published 5 years ago
obf-property-client v1.2.1
obf-property-client
Installation
$ npm i obf-property-client
or
$ yarn add obf-property-client
Usage
const credentials = grpc.credentials.createInsecure();
const client = new Property('127.0.0.1:50051', credentials);
const housingCompany = client.housingCompany();
Example
import { Property } from '../Property';
import * as grpc from 'grpc';
const credentials = grpc.credentials.createInsecure();
const client = new Property('127.0.0.1:50051', credentials);
const housingCompany = client.housingCompany();
housingCompany.list().toPromise().then(res => {
console.log(res);
})
License
MIT Licensed