Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danielcardeenas authored Jun 10, 2019
1 parent b8b4435 commit cad75f6
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# 🤖sulla
# 🤖 sulla
Javascript whatsapp framework (web whatsapp driver)

## Instalation

```bash
> npm i sulla
```
## Usage

```javascript
import { init } from 'sulla';

init().then(client => start(client));

function start(client) {
client.onMessage().subscribe(message => {
if (message.body === 'Hi') {
client.sendText(message.from, '👋 Hello from sulla!');
}
});
}

```

0 comments on commit cad75f6

Please sign in to comment.