# easemob

> easemob nodejs api

Latest version **0.0.2** (published 2015-04-20) · 0 weekly downloads

## Install

```sh
npm install easemob
pnpm add easemob
yarn add easemob
bun add easemob
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-04-20 |
| First published | 2015-04-20 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | hors |

## Links

- npm: https://www.npmjs.com/package/easemob
- Repository: https://github.com/horx/easemob
- Issues: https://github.com/horx/easemob/issues
- npm.io page: https://npm.io/package/easemob

## Dependencies (4)

- [async](https://npm.io/package/async.md) ^0.2.5
- [redis](https://npm.io/package/redis.md) ^0.12.1
- [request](https://npm.io/package/request.md) ^2.51.0
- [underscore](https://npm.io/package/underscore.md) ^1.7.0

## Recent versions

- 0.0.2 (latest) — 2015-04-20
- 0.0.1 — 2015-04-20

## README

Nodejs Client for [环信/Easemob](http://www.easemob.com)

## How To Use
 * npm install easemob
 * in your code
  ```js
    var easemob = require('easemob');


    Em = new easemob({
      appKey: "appKey"
      clientSecret: "clientSecret",
      clientId: "clientId",
      orgName: "orgName",
      appName: "appName",
      redis: { //use redis to save the  token, http://www.easemob.com/docs/rest/userapi/#getadmintoken
        host: "localhost",
        port: 6379
      }
    });

    Em.createUser({
      username: "somename",
      password: "password",
      nickname: "nickName"
    }, function(err, result) {
      console.log('err <<<', err);
      console.log('result <<<', result);
    })
  ```

##TODO

##License

MIT

---
_Source: https://npm.io/package/easemob · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
