{"id":16182656,"url":"https://github.com/csvenke/pipe","last_synced_at":"2025-10-24T12:30:42.112Z","repository":{"id":37958025,"uuid":"256479482","full_name":"csvenke/pipe","owner":"csvenke","description":"Pipe implementation with (almost) variadic kinds","archived":true,"fork":false,"pushed_at":"2024-06-01T18:10:20.000Z","size":566,"stargazers_count":1,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-27T21:10:58.072Z","etag":null,"topics":["composition","javascript","library","npm-package","pipe","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@csvenke/pipe","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/csvenke.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":"2020-04-17T11:03:31.000Z","updated_at":"2024-06-02T13:34:02.000Z","dependencies_parsed_at":"2023-09-26T17:28:14.195Z","dependency_job_id":"44daa460-b8d8-4690-9ba5-0d3ac1482e14","html_url":"https://github.com/csvenke/pipe","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvenke%2Fpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvenke%2Fpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvenke%2Fpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csvenke%2Fpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csvenke","download_url":"https://codeload.github.com/csvenke/pipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237964472,"owners_count":19394406,"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":["composition","javascript","library","npm-package","pipe","typescript"],"created_at":"2024-10-10T06:43:32.321Z","updated_at":"2025-10-24T12:30:41.744Z","avatar_url":"https://github.com/csvenke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"border-bottom: none;\"\u003e@csvenke/pipe\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003ePipe implementation with (almost) variadic kinds\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@csvenke/pipe\"\u003e\n    \u003cimg src=\"https://badgen.net/npm/v/@csvenke/pipe\" alt=\"npm package\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://bundlephobia.com/result?p=@csvenke/pipe\"\u003e\n    \u003cimg src=\"https://badgen.net/bundlephobia/min/@csvenke/pipe\" alt=\"min bundle size\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/csvenke/pipe/actions?query=workflow%3Amaster\"\u003e\n    \u003cimg src=\"https://github.com/csvenke/pipe/workflows/master/badge.svg\" alt=\"master workflow\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/semantic-release/semantic-release\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\" alt=\"semantic release\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#install\"\u003eInstall\u003c/a\u003e •\n  \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#development\"\u003eDevelopment\u003c/a\u003e •\n  \u003ca href=\"#credits\"\u003eCredits\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n## Install\n\nUsing npm\n\n```\nnpm install --save @csvenke/pipe\n```\n\nUsing yarn\n\n```\nyarn add @csvenke/pipe\n```\n\n## Usage\n\nWith javascript\n\n```js\nimport pipe from \"@csvenke/pipe\";\n\nconst getName = data =\u003e data.name;\n\nconst toUpperCase = str =\u003e str.toUpperCase();\n\nconst reverse = str =\u003e str.split(\"\").reverse().join(\"\");\n\nconst piped = pipe(getName, toUpperCase, reverse);\n\nconsole.log(piped({ name: \"John\" })); // NHOJ\n```\n\nWith typescript\n\n```ts\nimport pipe from \"@csvenke/pipe\";\n\ninterface Data {\n  name: string;\n}\n\nconst getName = (data: Data) =\u003e data.name;\n\nconst toUpperCase = (str: string) =\u003e str.toUpperCase();\n\nconst reverse = (str: string) =\u003e str.split(\"\").reverse().join(\"\");\n\nconst piped = pipe(getName, toUpperCase, reverse);\n\nconsole.log(piped({ name: \"John\" })); // NHOJ\n```\n\n## Development\n\nInstalling dependencies\n\n```\nyarn install\n```\n\nRunning tests\n\n```\nyarn test\n```\n\n## Credits\n\n- This wouldn't have been possible without [jcalz](https://stackoverflow.com/questions/53173203/typescript-recursive-function-composition) amazing stack overflow answer!\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsvenke%2Fpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsvenke%2Fpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsvenke%2Fpipe/lists"}