# ixirc

> Module for consuming ixIRC xdcc search engine api in a promise way

Latest version **1.0.3** (published 2021-09-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install ixirc
pnpm add ixirc
yarn add ixirc
bun add ixirc
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-09-07 |
| First published | 2016-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Booster2ooo |
| Maintainers | booster2ooo |

## Links

- npm: https://www.npmjs.com/package/ixirc
- Repository: https://github.com/Booster2ooo/ixirc
- Issues: https://github.com/Booster2ooo/ixirc/issues
- npm.io page: https://npm.io/package/ixirc

## Recent versions

- 1.0.3 (latest) — 2021-09-07
- 1.0.2 — 2019-08-16
- 1.0.1 — 2019-08-14
- 1.0.0 — 2019-08-14
- 0.0.4 — 2018-03-11
- 0.0.3 — 2016-04-09
- 0.0.2 — 2016-04-02
- 0.0.1 — 2016-04-02

## README

# ixirc
Node.js module for ixirc api

## Disclamer
This module does not intend to facilitate illegal files transfer. The author may not be taken responsible for any copyright infringement or illegal uses.

## Usage

```javascript
#!/usr/bin/env node

var ixirc = require('./src/ixirc.js')
  , start
  , end
  ;
ixirc.on(ixirc.events.progress, function(results) {
    console.log('progress');
    console.log(results.length + ' results found');
});
ixirc.on(ixirc.events.complete, function(results) {
    console.log('complete');
    console.log(results.length + ' total results found');
});
start = process.hrtime();
ixirc.search('test')
    .then(function(results) {
        end = process.hrtime(start);
        start = process.hrtime();
        console.log(end);
        return ixirc.search('test', true);
    })
    .then(function(results) {
        end = process.hrtime(start);
        console.log(end);
        console.log('done');
        return ixirc.clearCache();
    })
    .then(function() {
        process.exit();
    })
    .catch(function(err) {
        console.error(err);
        err.stack && console.error(err.stack);
    });
```

---
_Source: https://npm.io/package/ixirc · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
