Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zaunchat/zaun.js
- Owner: zaunchat
- License: apache-2.0
- Created: 2021-08-20T23:41:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T19:03:12.000Z (almost 2 years ago)
- Last Synced: 2025-02-09T03:17:37.076Z (7 days ago)
- Topics: deno, typescript
- Language: TypeScript
- Homepage:
- Size: 74.2 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)