@sendanor/cloud-client

1.0.10 • Public • Published

Client for Sendanor's cloud framework

This module creates client interfaces into services provided by @sendanor/cloud-backend.

Install: npm i --save '@sendanor/cloud-client'

import cloudClient from '@sendanor/cloud-client';

cloudClient('http://localhost:3000').then(instance => {
	return instance.getDate().then(date => {
		return instance.echo('foobar').then(str => {
			console.log('.echo("foobar") returned "' + str + '" of type '+ typeof str+ " and of class "+ str.constructor.name);
		});
	});
});

Readme

Keywords

none

Package Sidebar

Install

npm i @sendanor/cloud-client

Weekly Downloads

0

Version

1.0.10

License

MIT

Unpacked Size

27.1 kB

Total Files

11

Last publish

Collaborators

  • jhh