{"id":20572703,"url":"https://github.com/molnarmark/envy","last_synced_at":"2026-04-16T16:32:08.937Z","repository":{"id":92790688,"uuid":"123687100","full_name":"molnarmark/envy","owner":"molnarmark","description":"😑 The Javascript style Event Emitter in MTA:SA","archived":false,"fork":false,"pushed_at":"2018-03-14T18:52:00.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T19:56:01.994Z","etag":null,"topics":["emit","emit-events","emitter","event-emitter","events","mta","mtasa","multi-theft-auto"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/molnarmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-03-03T11:48:09.000Z","updated_at":"2018-03-14T18:52:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb97adeb-7d70-4b45-ba6e-0876605053e3","html_url":"https://github.com/molnarmark/envy","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"28e7cdd5581045380e924184130d99a4bffc8c9c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/molnarmark/envy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fenvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fenvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fenvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fenvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molnarmark","download_url":"https://codeload.github.com/molnarmark/envy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fenvy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31894897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["emit","emit-events","emitter","event-emitter","events","mta","mtasa","multi-theft-auto"],"created_at":"2024-11-16T05:23:12.786Z","updated_at":"2026-04-16T16:32:08.901Z","avatar_url":"https://github.com/molnarmark.png","language":"Lua","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=YM7E34E2LT4D8"],"categories":[],"sub_categories":[],"readme":"## 😑 Envy\r\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\r\n[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)\r\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\r\n\r\n### What is Envy?\r\nEnvy is a tiny *(0.4Kb)* Javascript-style Event Emitter that helps you differentiate between MTA events and resource events.\\\r\nIt's so small that it can be dropped into any resource.\r\n\r\n### Getting Started\r\nDrop `Envy` into your resource, and initialize it as follows:\r\n```lua\r\nlocal EnvyEmitter = loadstring(Envy:new())()\r\n```\r\n### The API\r\n`Envy` exposes 3 methods to work with:\r\n- .on(eventName, callback)\r\n- .emit(eventName, payload)\r\n- .once(eventName, payload)\r\n\r\n### License\r\nMIT\r\n\r\n### Fancy buying me a beer?\r\nIf this project was helpful to you, you can buy me a beer if you feel like doing so. 🙂\r\n\r\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=YM7E34E2LT4D8)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolnarmark%2Fenvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolnarmark%2Fenvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolnarmark%2Fenvy/lists"}