{"id":22489807,"url":"https://github.com/matrix-org/node-irc","last_synced_at":"2025-08-02T22:31:13.354Z","repository":{"id":35720584,"uuid":"39998790","full_name":"matrix-org/node-irc","owner":"matrix-org","description":"NodeJS IRC client library","archived":false,"fork":true,"pushed_at":"2024-09-13T12:41:20.000Z","size":1912,"stargazers_count":32,"open_issues_count":15,"forks_count":30,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-12-03T16:12:45.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"martynsmith/node-irc","license":"gpl-3.0","status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrix-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2015-07-31T09:50:51.000Z","updated_at":"2024-09-13T12:41:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/matrix-org/node-irc","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fnode-irc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fnode-irc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fnode-irc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fnode-irc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-org","download_url":"https://codeload.github.com/matrix-org/node-irc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228500494,"owners_count":17930077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T17:20:49.579Z","updated_at":"2024-12-06T17:23:12.496Z","avatar_url":"https://github.com/matrix-org.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/license-GPLv3-blue.svg?style=flat)](http://opensource.org/licenses/GPL-3.0)\n\nThis is a fork of [node-irc](http://node-irc.readthedocs.org/), which is an IRC client library written in TypeScript for [Node](http://nodejs.org/). This fork is used by the [Matrix-IRC application service](http://github.com/matrix-org/matrix-appservice-irc).\n\nTo use this package:\n```\n  yarn add matrix-org-irc\n```\n\n# Differences from `node-irc`\nThe `node-irc` library isn't well maintained and there are a number of issues which are impacting development of the [Matrix-IRC application service](http://github.com/matrix-org/matrix-appservice-irc). We made the decision to fork the project in order to improve reliability of the application service. A summary of modifications from `node-irc@0.3.12` are below:\n - TypeScript support\n - https://github.com/matrix-org/node-irc/pull/1 - Manifested as [BOTS-80](https://matrix.org/jira/browse/BOTS-80)\n - https://github.com/matrix-org/node-irc/pull/4 - Manifested as [BOTS-73] (https://matrix.org/jira/browse/BOTS-73)\n - Handle +R - https://github.com/matrix-org/node-irc/commit/7c16b994b12145b6da8961790bcfa808fb7fcba9\n - Handle more error codes (430,435,438)\n - Fix bug which would fail to connect conflicting nicks which `== NICKLEN`.\n - Fix `err_unavailresource` on connection with reserved nicks.\n - Workaround for the Scunthorpe problem: https://github.com/matrix-org/matrix-appservice-irc/issues/103\n - Add methods for working out if a given text will be split and into how many lines.\n - Add `names` support (incl. multi-prefix).\n - Add functions to determine if a user prefix is more powerful than another (e.g. `@ \u003e \u0026`)\n - Case-map all incoming channels correctly (e.g on PRIVMSG and NOTICE)\n - Allow IP family to be chosen to allow IPv6 connections.\n - Add function for getting channel modes.\n - Workaround terrible RFC3484 rules which means that IPv6 DNS rotations would not be honoured.\n - Add `setUserMode` to set a user's mode.\n - Addition of `encodingFallback` option which allows setting encoding to use for non-UTF-8 encoded messages.\n - Addition of `onNickConflict()` option which is called on `err_nicknameinuse`. This function should return the next nick to try. The function defaults to suffixing monotonically increasing integers. Usage:\n   ```javascript\n   new Client(\"server.com\", \"MyNick\", {\n      onNickConflict: function() {\n        return \"_MyNick_\";\n      }\n   });\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fnode-irc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-org%2Fnode-irc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fnode-irc/lists"}