diff --git a/README.md b/README.md index b56e5387..b3daef59 100644 --- a/README.md +++ b/README.md @@ -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!'); + } + }); +} + +```