Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slate/slate-irc
Node.js IRC client library
https://github.com/slate/slate-irc
Last synced: 3 months ago
JSON representation
Node.js IRC client library
- Host: GitHub
- URL: https://github.com/slate/slate-irc
- Owner: slate
- Created: 2013-10-18T17:10:04.000Z (about 11 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T00:53:38.000Z (4 months ago)
- Last Synced: 2024-07-19T00:11:19.260Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.46 MB
- Stars: 203
- Watchers: 11
- Forks: 23
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-irc - slate-irc - Plugin system, simple api, arbitrary input stream, debug support. `JavaScript` (Uncategorized / Uncategorized)
README
slate-irc [![version] ![downloads]][npm]
========
General purpose IRC client for nodejs. See **[documentation]** for the details.- Plugin system
- Simple api
- Arbitrary input stream
- **[DEBUG]** support for easy debugging```bash
npm install --save slate-irc-parser
yarn add -D slate-irc-parser
```
```js
import irc from 'slate-irc'
import net from 'net'const stream = net.connect({
port: 6667,
host: 'irc.freenode.org'
})const client = irc(stream)
client.pass('pass')
client.nick('tobi')
client.user('tobi', 'Tobi Ferret')client.join('#express')
client.names('#express', (err, names) => {
console.log(names)
})
```--------
MIT License
[version]: https://badgen.net/npm/v/slate-irc
[downloads]: https://badgen.net/npm/dt/slate-irc
[npm]: https://npmjs.org/package/slate-irc[documentation]: docs.md
[DEBUG]: https://github.com/visionmedia/debug