https://github.com/insertish/curseapp.js
🤖🔥 Javascript Library for Twitch Desktop App (formerly known as CurseApp)
https://github.com/insertish/curseapp.js
Last synced: 5 months ago
JSON representation
🤖🔥 Javascript Library for Twitch Desktop App (formerly known as CurseApp)
- Host: GitHub
- URL: https://github.com/insertish/curseapp.js
- Owner: insertish
- Created: 2017-07-19T17:49:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T11:05:59.000Z (about 6 years ago)
- Last Synced: 2025-02-04T13:04:25.497Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 462 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ARCHIVED
The Curse Messenger has since shut down, hence this project will likewise be deprecated and archived.
## [curseapp.js](https://github.com/insertish/curseapp.js)
> curseapp.js is a 100% promise based, Object-oriented wrapper for the CurseApp API.
[](https://www.npmjs.com/package/curseapp.js)
[](https://www.npmjs.com/package/curseapp.js) [](https://www.npmjs.com/package/curseapp.js)
Bye bye Twitch.
## Quickly get started with curseapp.js:
`npm install curseapp.js`
> Here's a simple script to get you started:
```javascript
const Curse = require('curseapp.js');
const app = new Curse.Client();app.on('connected', () => {
console.log(`Connected as ${app.user.name}`);
});app.on('dropped', () => {
console.log('Connection dropped!');
});app.on('message', (msg) => {
if (msg.content=='ping')
msg.reply('pong!');
});
```