{"id":20247734,"url":"https://github.com/ixnoahlive/coffee","last_synced_at":"2026-06-07T08:31:45.194Z","repository":{"id":189417304,"uuid":"622492789","full_name":"ixnoahlive/Coffee","owner":"ixnoahlive","description":"Coffee Library for ChatTriggers.js","archived":false,"fork":false,"pushed_at":"2023-08-19T22:59:28.000Z","size":24,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T17:27:21.455Z","etag":null,"topics":["chattriggers","javascript","library","minecraft"],"latest_commit_sha":null,"homepage":"https://chattriggers.com/modules/v/Coffee","language":"JavaScript","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/ixnoahlive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-04-02T09:28:39.000Z","updated_at":"2023-04-03T09:02:27.000Z","dependencies_parsed_at":"2023-08-19T23:36:34.822Z","dependency_job_id":null,"html_url":"https://github.com/ixnoahlive/Coffee","commit_stats":null,"previous_names":["noahthenerd/coffee","ixnoahlive/coffee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ixnoahlive/Coffee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixnoahlive%2FCoffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixnoahlive%2FCoffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixnoahlive%2FCoffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixnoahlive%2FCoffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixnoahlive","download_url":"https://codeload.github.com/ixnoahlive/Coffee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixnoahlive%2FCoffee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34014821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chattriggers","javascript","library","minecraft"],"created_at":"2024-11-14T09:39:09.676Z","updated_at":"2026-06-07T08:31:45.173Z","avatar_url":"https://github.com/ixnoahlive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-ff8000\"\u003e\u003c/a\u003e\n  \u003ca href=\"/pulls\"\u003e\u003cimg href=\"https://github.com/NoahTheNerd/Coffee/pulls\" src=\"https://img.shields.io/badge/pulls \u0026 issues-welcome-ff8000\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://chattriggers.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/powered%20by-ChatTriggers-purple\"\u003e\u003c/a\u003e\n  \u003cbr/\u003e\u003cbr/\u003e\n  \u003ca href=\"https://www.chattriggers.com/modules/v/Coffee\"\u003e\u003cimg src=\"https://i.imgur.com/bdlqDXt.png\" height=\"128\"\u003e\u003c/a\u003e\u003cbr\u003e\n  \u003ch3\u003e☕ Coffee\u003c/h3\u003e\n  \u003cp\u003eChatTriggers Utility Library\u003c/p\u003e\n\u003c/div\u003e\n\u003chr\u003e\n\nCoffee is a ChatTriggers library with many utilities.\n\nWith Coffee, you can write your modules faster and stop wasting time porting your utility functions. Maybe some of the functions can even give you some inspiration on things you can do with your module. If you've got anything **urgent** ping @ixNoah#5701 in the [ChatTriggers Discord Server](https://discord.com/invite/ChatTriggers).\n\n## Installation\n\nIf you want to install the module's latest stable release you can simply head [here](https://chattriggers.com/modules/v/Coffee) or type `/ct import Coffee` in Minecraft with the ChatTriggers mod to import it. After this is done, you're all set to use Coffee in your projects using this magical one liner.\n\nPlease keep in mind you should also add it as a dependency in your project's `metadata.json` file. \n\n```js\nimport Coffee from 'Coffee'\n```\n\nYou can now use Coffee and it's functions using the `Coffee` object. Simply type something like `Coffee.functionName()` and it'll run perfectly fine. If you prefer to keep it short, you can instead do `import { cf } from 'Coffee'` to import a shorter version.\n\n## Examples\n\nYou can find examples on how to use Coffee in [examples.js](/example.js). But here's one anyway. Keep in mind it may be outdated.\n\nAdd this line to your `metadata.json` file to import the latest stable release from Coffee.\n```json\n\"requires\":[\"Coffee\"]\n```\n\nYou can now use Coffee's functions like in the code below. If these functions don't exist, you may have to do some debugging or [open an issue](/issues).\n\n```js\nimport Coffee from 'Coffee'\n\nconst Messages = [\n    'Hello World',\n    'Foobar',\n    'Bingus'\n]\n\nfunction runOnWorldLoad() {\n    ChatLib.chat(Coffee.pickRandom(Messages)) // Pseudorandom message from array\n}\n\nCoffee.runOnTrue(World.isLoaded, runOnWorldLoad, 1000) // Check if world is loaded every 1000ms (1s) and if it is run the function\n```\n\nIf you're experiencing a problem with these examples you should [open an issue](/issues) and we'll help you out.\nPlease make sure to tag it as \"**documentation**\" and use a good title and description to describe it.\n\n### Useful Links\n\n- [Install ChatTriggers](https://chattriggers.com)\n\n- [ChatTriggers Discord](https://discord.com/invite/ChatTriggers)\n\n- [Coffee Module Page](https://chattriggers.com/modules/v/coffee)\n\n### License\n\n- The codebase for Coffee is licensed under [MIT](https://opensource.org/license/mit/).\n\n- The Coffee Logo \u0026 other branding materials are not licensed under MIT and may not be used outside of their assigned purpose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixnoahlive%2Fcoffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixnoahlive%2Fcoffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixnoahlive%2Fcoffee/lists"}