Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Latest commit

 

History

History
32 lines (21 loc) · 698 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 698 Bytes

ixIRC

This is a node module for ixIRC that is using their API. It can be used in two ways. Both as a standalone cli or through module inclusion in your own module.

Installation

If you are using the module as cli you probably want to install it globally, otherwise locally.

[sudo] npm install [-g] domolicious/ixirc

Usage

CLI

ixirq -q <linux+ubuntu> -c <channel id>

Module

var ixIRC = require("ixirc");

var client = new ixIRC();
var search = client.search({ q: "linux+ubuntu", cid: 92 });

search.then(function(data)
{
	data.results.forEach(function(result)
 	{
 		console.log(result.name);
 	});
});