{"id":28442042,"url":"https://github.com/guseyn/cutie-event","last_synced_at":"2025-07-22T04:31:34.547Z","repository":{"id":57105021,"uuid":"134381757","full_name":"Guseyn/cutie-event","owner":"Guseyn","description":"Cutie extension for Events module in Node.","archived":false,"fork":false,"pushed_at":"2019-05-10T20:09:41.000Z","size":179,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-07T02:16:51.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Guseyn.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}},"created_at":"2018-05-22T08:07:07.000Z","updated_at":"2019-05-10T20:09:43.000Z","dependencies_parsed_at":"2022-08-20T17:40:19.616Z","dependency_job_id":null,"html_url":"https://github.com/Guseyn/cutie-event","commit_stats":null,"previous_names":["guseyn/cutie-events","guseyn/cutie-event-emitter"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/Guseyn/cutie-event","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guseyn%2Fcutie-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guseyn%2Fcutie-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guseyn%2Fcutie-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guseyn%2Fcutie-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guseyn","download_url":"https://codeload.github.com/Guseyn/cutie-event/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guseyn%2Fcutie-event/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266427720,"owners_count":23926853,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2025-06-06T05:39:35.247Z","updated_at":"2025-07-22T04:31:34.533Z","avatar_url":"https://github.com/Guseyn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cutie-event\n\n[![NPM Version](https://img.shields.io/npm/v/@cuties/event.svg)](https://npmjs.org/package/@cuties/event)\n[![Build Status](https://travis-ci.org/Guseyn/cutie-event.svg?branch=master)](https://travis-ci.org/Guseyn/cutie-event)\n[![codecov](https://codecov.io/gh/Guseyn/cutie-event/branch/master/graph/badge.svg)](https://codecov.io/gh/Guseyn/cutie-event)\n\n[Cutie](https://github.com/Guseyn/cutie) extension for \u003cb\u003eevent\u003c/b\u003e module in Node. It's based on the [Async Tree Pattern](https://github.com/Guseyn/async-tree-patern/blob/master/Async_Tree_Patern.pdf).\n\n## Examples\n\nYou can find examples of using this library in the [test directory](https://github.com/Guseyn/cutie-event/tree/master/test).\n\n## Install\n\n`npm install @cuties/event`\n\n## Run test\n\n`npm test`\n\n## Run build\n\n`npm run build`\n\n## Usage\n\n```js\nconst {\n  // Needed async objects here from the table below\n} = require('@cuties/event');\n```\nFor more information about parameters in the async objects visit [docs of Node](https://nodejs.org/en/docs/) for \u003cb\u003eevent\u003c/b\u003e module.\n\n| Async Object | Async/sync call | Parameters(default value/description) | Representation result |\n| ------------- | ----------------| ---------- | --------------------- |\n| `EmittedEmitter` | `emitter.emit` | `emitter, eventName, ...args` | `emitter` |\n| `EmitterWithAdditionalListener` | `emitter.addListener` | `emitter, eventName, listener` | `emitter` |\n| `EmitterWithAdditionalOneTimeListener` | `emitter.once` | `emitter, eventName, listener` | `emitter` |\n| `EmitterWithAdditionalPrependedListener` | `emitter.prependListener` | `emitter, eventName, listener` | `emitter` |\n| `EmitterWithAdditionalPrependedOneTimeListener` | `emitter.prependOnceListener` | `emitter, eventName, listener` | `emitter` |\n| `EmitterWithMaxListeners` | `emitter.setMaxListeners` | `emitter, n` | `emitter` |\n| `EmitterWithNewListenerEvent` | `emitter.once('newListener', listener)` | `emitter, listener(Event with definedBody(event, listener))` | `emitter` |\n| `EmitterWithRemoveEvent` | `emitter.once('removeListener', listener)` | `emitter, listener(Event with definedBody(event, listener))` | `emitter` |\n| `EmitterWithRemovedListener` | `emitter.removeListener` | `emitter, eventName, listener` | `emitter` |\n| `EmitterWithoutAnyListeners` | `emitter.removeAllListeners` | `emitter, eventName` | `emitter` |\n| `EventNames` | `emitter.eventNames` | `emitter` | `(string or symbol)[]` |\n| `ListenerCount` | `emitter.listenerCount` | `emitter, eventName` | `number` |\n| `Listeners` | `emitter.listeners` | `emitter, eventName` | `function[]` |\n| `MaxListeners` | `emitter.getMaxListeners` | `emitter` | `number` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguseyn%2Fcutie-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguseyn%2Fcutie-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguseyn%2Fcutie-event/lists"}