curseapp.js

1.0.7 • Public • Published

ARCHIVED

The Curse Messenger has since shut down, hence this project will likewise be deprecated and archived.

curseapp.js is a 100% promise based, Object-oriented wrapper for the CurseApp API.

curseapp.js on npm

npm npm

Bye bye Twitch.

Quickly get started with curseapp.js:

npm install curseapp.js

Here's a simple script to get you started:

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!');
});

Readme

Keywords

none

Package Sidebar

Install

npm i curseapp.js

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

1.22 MB

Total Files

81

Last publish

Collaborators

  • mcrocks999