tweak readme
This commit is contained in:
parent
877d3caa9c
commit
ad68321e8b
@ -25,14 +25,14 @@ The connection options are documented in detail [here](https://lunasqu.ee/irclib
|
||||
|
||||
This module provides two connectors: `IRCSocketConnector` for Node.js usage (`net` and `tls`) and `IRCWebSocketConnector` for browser usage (WebSockets). You can always write your own if you need something different.
|
||||
|
||||
**These are not included in the main module!** You need to import them from `@icynet/irclib/lib/connector/[..].ts`. This is to prevent browser bundlers from including `net` and `tls`!
|
||||
**These are not included in the main module!** You need to import them from `@icynet/irclib/lib/connector/[..]`. This is to prevent browser bundlers from including `net` and `tls`!
|
||||
|
||||
### Event handlers
|
||||
|
||||
The main classes use a special custom [TypedEventEmitter](https://lunasqu.ee/irclib/classes/TypedEventEmitter.html) to send events.
|
||||
|
||||
- [Connection wrapper events](https://lunasqu.ee/irclib/classes/IRCConnectionWrapper.html)
|
||||
- [Nick list events](https://lunasqu.ee/irclib/classes/IRCNickList.html)
|
||||
- [Connection wrapper events](https://lunasqu.ee/irclib/types/IRCCommunicatorEvents.html)
|
||||
- [Nick list events](https://lunasqu.ee/irclib/types/NickListEvents.html)
|
||||
|
||||
Basically, you're mostly just going to need the `message` event for IRC.
|
||||
|
||||
|
@ -15,6 +15,7 @@ export * from './utility/typed-event-emitter';
|
||||
export * from './utility/truncate';
|
||||
export * from './utility/user-mapper';
|
||||
export * from './utility/whois-parser';
|
||||
export * from './utility/who-parser';
|
||||
|
||||
export * from './spec/command-replies';
|
||||
export * from './spec/error-replies';
|
||||
|
Loading…
Reference in New Issue
Block a user