# rocket-composer-client

> rocket client for composer

Latest version **0.1.0** (published 2018-08-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install rocket-composer-client
pnpm add rocket-composer-client
yarn add rocket-composer-client
bun add rocket-composer-client
```

## 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.1.0 |
| Published | 2018-08-08 |
| First published | 2018-07-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ozt88 |
| Maintainers | yunu_kim |
| Keywords | rocket |

## Links

- npm: https://www.npmjs.com/package/rocket-composer-client
- Repository: https://github.com/realityreflection/rocket-composer-client
- Homepage: https://github.com/realityreflection/rocket-composer-client#readme
- Issues: https://github.com/realityreflection/rocket-composer-client/issues
- npm.io page: https://npm.io/package/rocket-composer-client

## Dependencies (2)

- [request-promise](https://npm.io/package/request-promise.md) ^4.2.2
- [composer-client-fork](https://npm.io/package/composer-client-fork.md) ^0.1.3

## Recent versions

- 0.1.0 (latest) — 2018-08-08
- 0.0.9 — 2018-08-02
- 0.0.8 — 2018-07-31
- 0.0.7 — 2018-07-31
- 0.0.6 — 2018-07-30
- 0.0.5 — 2018-07-25
- 0.0.4 — 2018-07-25
- 0.0.3 — 2018-07-24
- 0.0.2 — 2018-07-24
- 0.0.1 — 2018-07-20

## README

# rocket-composer-client
rocket-composer-client

**example**

```javascript
const config = require('./config.json');
const rocketComposerClient = require('rocket-composer-client');
const NetworkUser = rocketComposerClient.NetworkUser;
const RocketRunUser = rocketComposerClient.RocketUser;

let networkUser = new NetworkUser(config.baseUrl, userId);
let rocketrunUser = new RocketRunUser(config.baseUrl, userId);

async init() {
    /// only network clients can signup
    await networkUser.signup();
    console.log('signup done');

    await new Promise(resolve => {
        setTimeout(resolve(true), 1000);
    });

    // sub network clients should bind to network client
    await rocketrunUser.bind(networkUser);
    console.log('rocketUser Bind Done');
}
```

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