rfunc-client

5.1.0 • Public • Published

rfunc-client

Build Status npm Version JS Standard

Client of rfunc server

Installation

$ npm install rfunc-client --save

Usage

#!/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-client/

    Package Sidebar

    Install

    npm i rfunc-client

    Weekly Downloads

    2

    Version

    5.1.0

    License

    MIT

    Unpacked Size

    62.7 kB

    Total Files

    34

    Last publish

    Collaborators

    • okunishinishi