{"id":21762609,"url":"https://github.com/dawee/ooo","last_synced_at":"2026-04-13T00:02:13.798Z","repository":{"id":11078913,"uuid":"13425188","full_name":"dawee/ooo","owner":"dawee","description":"Another async pattern for node, based on EventEmmitter","archived":false,"fork":false,"pushed_at":"2013-10-09T21:16:06.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T01:24:21.436Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/dawee.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}},"created_at":"2013-10-08T20:48:55.000Z","updated_at":"2013-10-09T21:16:07.000Z","dependencies_parsed_at":"2022-07-09T23:30:37.074Z","dependency_job_id":null,"html_url":"https://github.com/dawee/ooo","commit_stats":null,"previous_names":["dawicorti/ooo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fooo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fooo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fooo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fooo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dawee","download_url":"https://codeload.github.com/dawee/ooo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739938,"owners_count":20501990,"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":[],"created_at":"2024-11-26T12:12:37.226Z","updated_at":"2026-04-13T00:02:13.544Z","avatar_url":"https://github.com/dawee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ooo\n\n  Another async pattern for node, based on EventEmmitter\n\n## Installation\n\n```bash\n$ npm install ooo\n```\n\n## How to\n\n### Basics\n\n```js\n// Bind an event\nooo('echo', console.log);\n\n// Bind an event, juste once\nooo('echo!', function (msg) {\n    console.log(msg);    \n});\n\n\n// Fire an event\nooo('echo')('Hello World !');\n```\n\n### Bridges\n\n```js\nvar ooo = require('ooo');\nvar fs = require('fs');\n\nooo('file:read', function (err, data) {\n    console.log(data.toString());\n});\n\nfs.readFile('index.js', ooo('file:read'));\n```\n\n### Insert parameters\n\n```js\nvar ooo = require('ooo');\nvar fs = require('fs');\n\nooo('file:read', function (msg1, err, data, msg2) {\n    console.log(msg1, data.toString(), msg2);\n});\n\nfs.readFile('index.js', ooo('file:read').before('Here is the file').after('Good bye !'));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawee%2Fooo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdawee%2Fooo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawee%2Fooo/lists"}