{"id":21388457,"url":"https://github.com/keiryojs/keiryo","last_synced_at":"2026-04-01T18:21:08.627Z","repository":{"id":42871034,"uuid":"292825812","full_name":"KeiryoJS/Keiryo","owner":"KeiryoJS","description":"🚀 a  distributed discord library","archived":false,"fork":false,"pushed_at":"2023-03-23T21:33:21.000Z","size":796,"stargazers_count":15,"open_issues_count":9,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-11T22:10:34.842Z","etag":null,"topics":["api","caching","cdn","discord","discord-api","discord-gateway","discord-libraries","flexible","nodejs","rest","typescript","voice"],"latest_commit_sha":null,"homepage":"https://discord.gg/5WD9KhF","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KeiryoJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-04T11:02:35.000Z","updated_at":"2024-03-25T07:14:36.000Z","dependencies_parsed_at":"2024-06-21T19:06:51.065Z","dependency_job_id":"89a412d3-aa4a-4a06-93e0-4405340ca984","html_url":"https://github.com/KeiryoJS/Keiryo","commit_stats":null,"previous_names":["neo-cord/neocord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeiryoJS%2FKeiryo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeiryoJS%2FKeiryo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeiryoJS%2FKeiryo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeiryoJS%2FKeiryo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KeiryoJS","download_url":"https://codeload.github.com/KeiryoJS/Keiryo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225893656,"owners_count":17540919,"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":["api","caching","cdn","discord","discord-api","discord-gateway","discord-libraries","flexible","nodejs","rest","typescript","voice"],"created_at":"2024-11-22T12:17:57.935Z","updated_at":"2026-04-01T18:21:08.611Z","avatar_url":"https://github.com/KeiryoJS.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"center\" src=\"https://repository-images.githubusercontent.com/291619880/8b583d80-eb6d-11ea-8300-3206ef4d5136\" /\u003e\n\n---\n\n\u003e NeoCord is currently in alpha, meaning it will probably be broken and might not work.\n  If you want to contribute, please join our [support server](https://discord.gg/5WD9KhF) - It would be greatly appreciated.\n\n###### Table of Contents\n\n- [about](#about)\n- [installation](#installation)\n    - [optional packages](#option-packages)\n    - [basic usage](#basic-usage) \n\n\u003ch2 align=\"center\"\u003eAbout\u003c/h2\u003e\n\nNeocord is a powerful and feature-rich discord library.\n\n- **Flexible**: Gives you the ability to extend specific structures, customize caching to your needs.\n- **Coverage**: Covers the Discord Gateway, API, CDN, and in the near future, Voice.\n- **Caching**: Boasts the most powerful and flexible caching solution across most discord libraries.\n\n## Installation\n\nAs of **09/04/2020** (month/day/year), NeoCord can only be used with node.js v12 and up.\n\n```shell script\nyarn add neocord\n```\n\n##### Optional Packages\n\nThese are some optional packages you can install.\n\n- Install **zlib-sync** or **pako** for data compression and inflation \n    \u003e - **[zlib-sync](https://npmjs.com/zlib-sync/)**    \n    \u003e - **[pako](https://npmjs.com/pako/)**\n    \u003e - or the native **zlib** module (no installation)\n\n\n- **[erlpack](https://npmjs.com/erlpack)** for significantly faster websocket (de)serialization. \n- **[bufferutil](https://npmjs.com/bufferutil)** for a much faster websocket connection.\n    \u003e And **[utf-8-validate](https://npmjs.com/utf-8-validate)** for faster websocket processing.\n\n\n##### Basic Usage\n\n`(typescript)` \n```ts\nimport { Client } from \"neocord\";\n\nconst client = new Client();\n\nclient\n  .on(\"ready\", () =\u003e console.log(\"Now ready!\"))\n  .on(\"messageCreate\", (message) =\u003e {\n    if (message.author.bot) return;\n\n    const mentionPrefix = new RegExp(`^\u003c@!${client.user.id}\u003e\\s*`);\n\n    let prefix;\n    if (message.content.startsWith(\"!\")) prefix = \"!\"\n    else {\n      const mentioned = mentionPrefix.exec(message.content);\n      if (!mentioned) return;\n      prefix = mentioned[0]; \n    }\n    \n    const [cmd] = message.content.slice(prefix.length).split(/ /g);\n    if (cmd.toLowerCase() === \"ping\") {\n      message.channel.send(\"**Pong!**\");\n    }\n\n    return;\n  });\n\n\nclient.connect(\"your token here\"); \n```\n\n## Links\n\n- **Support Server**: [discord.gg/5WD9KhF](https://discord.gg/5WD9KhF)\n- **Github**: \u003chttps://github.com/neo-cord/neocord\u003e\n- **NPM**: \u003chttps://npmjs.com/neocord/\u003e\n\n---\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/melike2d\"\u003emelike2d\u003c/a\u003e \u0026copy; 2020\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeiryojs%2Fkeiryo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeiryojs%2Fkeiryo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeiryojs%2Fkeiryo/lists"}