From ad68321e8bc857512159baf1f49dc1574a6e5ef8 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sat, 24 Sep 2022 14:31:11 +0300 Subject: [PATCH] tweak readme --- README.md | 6 +++--- src/index.ts | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bd50d75..83e3d59 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/index.ts b/src/index.ts index 0bbd32b..98fb33e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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';