{"id":30180930,"url":"https://github.com/streamich/libaio","last_synced_at":"2025-09-21T21:53:12.076Z","repository":{"id":57290096,"uuid":"64034688","full_name":"streamich/libaio","owner":"streamich","description":"asynchronous system call wrapper","archived":false,"fork":false,"pushed_at":"2018-01-05T09:31:49.000Z","size":10,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T09:52:07.670Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamich.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":"2016-07-23T20:23:12.000Z","updated_at":"2020-12-02T05:26:40.000Z","dependencies_parsed_at":"2022-08-25T07:34:20.747Z","dependency_job_id":null,"html_url":"https://github.com/streamich/libaio","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/streamich/libaio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Flibaio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Flibaio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Flibaio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Flibaio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamich","download_url":"https://codeload.github.com/streamich/libaio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Flibaio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269737068,"owners_count":24467153,"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-08-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-08-12T08:06:08.078Z","updated_at":"2025-09-21T21:53:07.028Z","avatar_url":"https://github.com/streamich.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `libaio`\r\n\r\nAsynchronous operations implemented using [`libjs`](http://www.npmjs.com/package/libjs).\r\n\r\nThis package is in a prototype stage as a proof of concept, it implements\r\na basic asynchronous `SocketTcp` class using `epoll` and `fcntl` system\r\ncalls from `libjs`. See below and async `GET` request example:\r\n\r\n```js\r\nimport * as socket from 'libaio';\r\n\r\nvar sock = new libaio.SocketTcp();\r\n\r\nsock.onconnect = () =\u003e {\r\n    console.log('Connected');\r\n    sock.write('GET /\\n\\n');\r\n};\r\n\r\nsock.ondata = (data) =\u003e {\r\n    console.log('Received:');\r\n    console.log(data);\r\n};\r\n\r\nsock.connect({host: '192.168.1.150', port: 80});\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Flibaio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamich%2Flibaio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Flibaio/lists"}