{"id":18013406,"url":"https://github.com/milly/deno-namedpipe","last_synced_at":"2026-04-16T14:03:50.371Z","repository":{"id":241742534,"uuid":"800747402","full_name":"Milly/deno-namedpipe","owner":"Milly","description":"Windows Named Pipes server and client module for Deno.","archived":false,"fork":false,"pushed_at":"2024-09-13T15:47:32.000Z","size":41,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T09:27:57.437Z","etag":null,"topics":["deno","named-pipes","typescript","windows"],"latest_commit_sha":null,"homepage":"https://jsr.io/@milly/namedpipe","language":"TypeScript","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/Milly.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-14T23:20:56.000Z","updated_at":"2024-09-13T15:45:35.000Z","dependencies_parsed_at":"2024-06-07T00:25:15.425Z","dependency_job_id":"cb3374af-d08f-4f55-bfd0-43d2039bafdd","html_url":"https://github.com/Milly/deno-namedpipe","commit_stats":null,"previous_names":["milly/deno-namedpipe"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Milly/deno-namedpipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fdeno-namedpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fdeno-namedpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fdeno-namedpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fdeno-namedpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Milly","download_url":"https://codeload.github.com/Milly/deno-namedpipe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Milly%2Fdeno-namedpipe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267617643,"owners_count":24116208,"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-29T02:00:12.549Z","response_time":2574,"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":["deno","named-pipes","typescript","windows"],"created_at":"2024-10-30T03:21:23.001Z","updated_at":"2026-04-16T14:03:50.343Z","avatar_url":"https://github.com/Milly.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @milly/namedpipe\n\n[![license:MIT](https://img.shields.io/github/license/Milly/deno-namedpipe)](LICENSE)\n[![JSR](https://jsr.io/badges/@milly/namedpipe)](https://jsr.io/@milly/namedpipe)\n[![Test](https://github.com/Milly/deno-namedpipe/actions/workflows/test.yml/badge.svg)](https://github.com/Milly/deno-namedpipe/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/Milly/deno-namedpipe/branch/master/graph/badge.svg)](https://codecov.io/gh/Milly/deno-namedpipe)\n\nWindows Named Pipes server and client module for Deno.\n\nRequires `allow-ffi`, `unstable-ffi`\n[permission](https://docs.deno.com/runtime/manual/basics/permissions).\n\n# Requirements\n\n[Deno](https://deno.com) v1.42 or later.\n\n# Example\n\n## Server\n\nCan be used in the same way as [`Deno.listen`](https://deno.land/api?s=Deno.listen).\n\n```typescript\nimport { listen } from \"@milly/namedpipe\";\nimport { TextLineStream } from \"@std/streams/text-line-stream\";\n\nconst listener = listen({ path: \"\\\\\\\\.\\\\pipe\\\\your-own-name\" });\n\nfor await (const conn of listener) {\n  console.log(\"--- new conn ---\");\n  conn.readable\n    .pipeThrough(new TextDecoderStream())\n    .pipeThrough(new TextLineStream())\n    .pipeTo(\n      new WritableStream({\n        write: (line) =\u003e console.log(line),\n      }),\n    );\n}\n```\n\n## Client\n\nCan be used in the same way as [`Deno.connect`](https://deno.land/api?s=Deno.connect).\n\n```typescript\nimport { connect } from \"@milly/namedpipe\";\n\nconst conn = await connect({ path: \"\\\\\\\\.\\\\pipe\\\\your-own-name\" });\n\nawait ReadableStream\n  .from([\"Hello\\n\", \"World\\n\"])\n  .pipeThrough(new TextEncoderStream())\n  .pipeTo(conn.writable);\n```\n\n# License\n\nThis library is licensed under the MIT License. See the [LICENSE](./LICENSE)\nfile for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilly%2Fdeno-namedpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilly%2Fdeno-namedpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilly%2Fdeno-namedpipe/lists"}