Client of rfunc server
npm install rfunc-clientrfunc-client
==========
[![Build Status][bd_travis_shield_url]][bd_travis_url]
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[![JS Standard][bd_standard_shield_url]][bd_standard_url]
[bd_repo_url]: https://github.com/rfunc-labo/rfunc-client
[bd_travis_url]: http://travis-ci.org/rfunc-labo/rfunc-client
[bd_travis_shield_url]: http://img.shields.io/travis/rfunc-labo/rfunc-client.svg?style=flat
[bd_travis_com_url]: http://travis-ci.com/rfunc-labo/rfunc-client
[bd_travis_com_shield_url]: https://api.travis-ci.com/rfunc-labo/rfunc-client.svg?token=
[bd_license_url]: https://github.com/rfunc-labo/rfunc-client/blob/master/LICENSE
[bd_codeclimate_url]: http://codeclimate.com/github/rfunc-labo/rfunc-client
[bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/rfunc-labo/rfunc-client.svg?style=flat
[bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/rfunc-labo/rfunc-client.svg?style=flat
[bd_gemnasium_url]: https://gemnasium.com/rfunc-labo/rfunc-client
[bd_gemnasium_shield_url]: https://gemnasium.com/rfunc-labo/rfunc-client.svg
[bd_npm_url]: http://www.npmjs.org/package/rfunc-client
[bd_npm_shield_url]: http://img.shields.io/npm/v/rfunc-client.svg?style=flat
[bd_standard_url]: http://standardjs.com/
[bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
Client of rfunc server
Installation
-----
``bash`
$ npm install rfunc-client --save
Usage
---------
`javascript
#!/usr/bin/env node
/**
* This is an example of rfunc client
*/
'use strict'
const rclient = require('rfunc-clinet')
void async function () {
const sign = await rclient().connect('sign') // Define a client
// Call remote api and receive the result
const {success} = await sign.signin('foo', 'bar1234')
console.log('success:', success)
}().catch((err) => console.error(err))
``
License
-------
This software is released under the MIT License.
Links
------
+ [rfunc][rfunc_url]
[rfunc_url]: https://github.com/rfunc-labo/rfunc