Another IRC message parser and formatter, version 3.0.1, stable and actively maintained. Heavily inspired by irc-message, it includes built-in tag value unescaping according to IRCv3 specifications. It provides both parsing and formatting of IRC messages with support for message tags, prefixes, commands, and parameters. The API is simple and focused, making it a lightweight alternative to more comprehensive IRC libraries.
npm install tekkoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates parsing an IRC message string and formatting it back, including tags and prefix handling.
Always check if prefix.host exists or treat empty string as missing host.
Use prefix.nick, prefix.user, prefix.host instead of parsing a string.
Check for value === true to detect tag without value, e.g., if (tagValue === true) { /* no value */ }Run `npm install tekko` and ensure tsconfig.json includes 'node_modules' or use `@types/tekko` if available.
Use `import { parse } from 'tekko'` or `const { parse } = require('tekko')`.Access prefix.host with optional chaining: prefix.host?.length or check for undefined.
No dependency data recorded yet.