aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index be885bd..c673c29 100644
--- a/README.md
+++ b/README.md
@@ -12,10 +12,18 @@ Simple API for communicating with the bot of the \"iii.ru\" service.
- Installation and processing of sessions.
## Installation
+NodeJS:
```bash
npm install --save iii-client
```
+Browser:
+```html
+<script src="https://unpkg.com/iii-client@latest/dist/bundle.js">
+ /* client - This is the global name for accessing the package */
+</script>
+```
+
## Using
An example of a connection, receiving session identification and sending a bot message:
```javascript