Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/insertish/curseapp.js
🤖🔥 Javascript Library for Twitch Desktop App (formerly known as CurseApp)
https://github.com/insertish/curseapp.js
Last synced: 6 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-25T11:05:59.000Z (over 5 years ago)
- Last Synced: 2024-10-31T11:15:59.560Z (14 days 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.
[![curseapp.js on npm](https://nodei.co/npm/curseapp.js.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/curseapp.js)
[![npm](https://img.shields.io/npm/v/npm.svg)](https://www.npmjs.com/package/curseapp.js) [![npm](https://img.shields.io/npm/dt/curseapp.js.svg)](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!');
});
```