npm install --save curseapp.js

About

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


Current version: 1.0.5


It currently offers a wide support for general bot applications, and is still constantly been developed and recieving new features and more easy access to other parts of the CurseApp API.


Current work in progress features.

Help

Documentation is available here! If you need to know more please talk to me or check the source. Additionally, if you encounter any problems or any errors please either join our dev server or add me directly on Twitch, InsertPaulHere.


Dev server: https://invite.twitch.tv/djbMkz

Example

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