Skip to content

rfunc-labo/rfunc-client

Repository files navigation

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

About

Client of rfunc server

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published