{"id":19408611,"url":"https://github.com/morglod/plankee","last_synced_at":"2026-05-13T21:33:27.871Z","repository":{"id":240926866,"uuid":"803801468","full_name":"Morglod/plankee","owner":"Morglod","description":"world smallest event emitter","archived":false,"fork":false,"pushed_at":"2024-05-22T17:01:43.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T02:17:21.119Z","etag":null,"topics":["eventemitter","events","javascript","minimal","smallest","tiny"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Morglod.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-21T12:12:07.000Z","updated_at":"2024-05-22T17:01:47.000Z","dependencies_parsed_at":"2025-01-07T14:23:23.144Z","dependency_job_id":"e14a56a3-16d9-4ac3-b7e5-5cf37eaa008d","html_url":"https://github.com/Morglod/plankee","commit_stats":null,"previous_names":["morglod/plankee"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Morglod/plankee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morglod%2Fplankee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morglod%2Fplankee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morglod%2Fplankee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morglod%2Fplankee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Morglod","download_url":"https://codeload.github.com/Morglod/plankee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Morglod%2Fplankee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33000976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: 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":["eventemitter","events","javascript","minimal","smallest","tiny"],"created_at":"2024-11-10T12:06:50.630Z","updated_at":"2026-05-13T21:33:27.853Z","avatar_url":"https://github.com/Morglod.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# plank event emitter\n\nSmallest was [nanoevents](https://github.com/ai/nanoevents) but it is 219 minified size and 138 brotlied **(not 107!!!)**\n\nSo why we should waste so much memory in JS?\n\nReal original size 93 bytes  \nReal broitled size **81 bytes**  \nBroitled size inside app **77 bytes**\n\nUsage:\n\n```\nnpm i plankee\n```\n\n```ts\nimport { pee } from \"plankee\";\n\nconst [onLog, emitLog] = pee\u003c[text: string]\u003e();\n\nconst removeListener = onLog((text) =\u003e console.log(\"log: \" + text));\n\nemitLog(\"hello world!\");\n\nremoveListener();\n```\n\n## API\n\n```ts\n[subscribe, emit] = pee\u003c[ARGUMENTS]\u003e();\n\n// subscribe returns disposer\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorglod%2Fplankee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorglod%2Fplankee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorglod%2Fplankee/lists"}