Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zaunchat/zaun.js

JS/TS library to interact with Zaun API
https://github.com/zaunchat/zaun.js

deno typescript

Last synced: 5 days ago
JSON representation

JS/TS library to interact with Zaun API

Awesome Lists containing this project

README

        

# zaun.js

### Installation (NodeJS only)
```
$ npm i @zaunapp/client
```

### Example Usage
```ts
import { Client } from '@zaunapp/client'

const client = new Client()

client.on('messageCreate', (msg) => {
if (msg.content === '!ping') {
msg.reply('Pong!')
}
})

client.login('your-token-here')
```

### Resources
- [Docs](https://docs.zaun.chat/zaun.js)