# rexjs-javascript

> RexJS is library for reactivity between elixir data and front-end through javascript websockets.

Latest version **0.1.0** (published 2017-11-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install rexjs-javascript
pnpm add rexjs-javascript
yarn add rexjs-javascript
bun add rexjs-javascript
```

## 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 | 2017-11-14 |
| First published | 2017-11-14 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Orisons |
| Maintainers | orisons |

## Links

- npm: https://www.npmjs.com/package/rexjs-javascript
- npm.io page: https://npm.io/package/rexjs-javascript

## Recent versions

- 0.1.0 (latest) — 2017-11-14

## README

# RexJS - javascript

**RexJS is library for reactivity between elixir data with front-end through javascript websockets.**

<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/4eSXzM9Zem3cwXCYU3QciGaZ/orisons/rexjs-javascript'>
  <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/4eSXzM9Zem3cwXCYU3QciGaZ/orisons/rexjs-javascript.svg' />
</a>

## Modules
* [VueJS](https://github.com/orisons/rexjs-vue)

## Installation

**Javascript library require elixir core library [RexJS](https://github.com/orisons/rexjs-elixir)**

Add `rexjs` to your list of dependencies:

**Command line**
```
# with yarn
yarn add rexjs --dev
# with npm
npm install rexjs --dev
```

**File `package.json`**
```json
"rexjs": "^0.0.1"
```

## Usage

**Create RexJS instance**
```javascript
let rexjs = new RexJS({
    websocketUrl: 'ws://localhost/rexjs'
})
```

**Bind module with worker to RexJS instance**
```javascript
rexjs.bindModule("worker_name", 'module_name', function(data) {
    // Work with data
})
```

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