Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norjs/cloud-client
Client for Sendanor's cloud framework
https://github.com/norjs/cloud-client
Last synced: about 1 month ago
JSON representation
Client for Sendanor's cloud framework
- Host: GitHub
- URL: https://github.com/norjs/cloud-client
- Owner: norjs
- Created: 2017-07-07T21:07:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T00:55:40.000Z (about 6 years ago)
- Last Synced: 2024-10-22T20:54:14.335Z (3 months ago)
- Language: JavaScript
- Size: 208 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Client for NorJS's cloud framework
==================================This module creates client interfaces into services provided by
[`@norjs/cloud-backend`](https://www.npmjs.com/package/@norjs/cloud-backend).Install: `npm i --save '@norjs/cloud-client'`
```javascript
import cloudClient from '@norjs/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);
});
});
});
```