easemob-sdk

    0.1.1 • Public • Published

    easemob-sdk(环信即时通讯云)

    build status Coverage Status gitter Dependency Status

    easemob(环信) nodejs sdk

    npm status

    Installation

    node:

    $ npm install easemob-sdk
    

    Running node tests

    Install dependencies:

    $ npm install

    Run em!

    $ npm test

    Usage

    var easemob_sdk = require('easemob-sdk');
    easemob_sdk.init(org_name,app_name,client_id,client_secret);
    easemob_sdk.user.create( 'leo', 'leo_password', function(err, res, body) {
      if(err || (res.statusCode != 200)) {
        // Handle the error
      }
      else {
        //Handle the result
        var result = body;
      }
    });
     

    Install

    npm i easemob-sdk

    DownloadsWeekly Downloads

    4

    Version

    0.1.1

    License

    ISC

    Last publish

    Collaborators

    • leoliew