{"id":20326069,"url":"https://github.com/bkosm/kpipe","last_synced_at":"2025-06-30T19:33:25.083Z","repository":{"id":115107252,"uuid":"571615754","full_name":"bkosm/kpipe","owner":"bkosm","description":"A kotlin-native library introducing a functional-style pipe.","archived":false,"fork":false,"pushed_at":"2022-12-01T18:44:35.000Z","size":92,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T10:45:26.103Z","etag":null,"topics":["functional-programming","kotlin","pipe"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bkosm.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":"2022-11-28T14:12:59.000Z","updated_at":"2023-03-08T23:25:20.000Z","dependencies_parsed_at":"2023-12-03T17:45:09.041Z","dependency_job_id":null,"html_url":"https://github.com/bkosm/kpipe","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bkosm/kpipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Fkpipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Fkpipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Fkpipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Fkpipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkosm","download_url":"https://codeload.github.com/bkosm/kpipe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkosm%2Fkpipe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262838565,"owners_count":23372553,"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":["functional-programming","kotlin","pipe"],"created_at":"2024-11-14T19:42:48.663Z","updated_at":"2025-06-30T19:33:25.015Z","avatar_url":"https://github.com/bkosm.png","language":"Kotlin","readme":"# kpipe\n\n![tests](https://github.com/bkosm/kpipe/actions/workflows/gradle.yml/badge.svg)\n![branches](.github/badges/branches.svg)\n[![](https://jitpack.io/v/bkosm/kpipe.svg)](https://jitpack.io/#bkosm/kpipe)\n\nPipe functions that allow for a more functional style of programming.\nThey support chains of transformation up to 11 in size, providing excellent DX on top.\n\nThe library includes:\n\n- `pipe` - a function that pipes the result of one function to the next as a parameter\n- `kpipe`- a function that pipes the result of one function to the next as context receiver and the initial value as a\n  parameter\n\n\u003e The functions are implemented as a invoke override on the companion, so you can name them whatever you want\n\u003e with `typealias`es.\n\n## a little preview\n\nhttps://github.com/bkosm/kpipe/blob/5af8eff20cc7537f562aef26d4633ac296c5f490/src/test/kotlin/com/bkosm/kpipe/examples/PipeExample.kt#L13-L90\n\n## currently available via JitPack\n\n```kts\nrepositories {\n    // all the other ones that you might need...\n\n    maven { url = uri(\"https://jitpack.io\") }\n}\n\n// and then\n\ndependencies {\n    // all the other ones that you might need...\n    \n    testImplementation(\"com.github.bkosm:kpipe:1.0.0\")\n}\n```\n\n## you decide on the features!\n\nDrop an issue with what functionality you could use in your Kotlin tuple or submit a PR!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkosm%2Fkpipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkosm%2Fkpipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkosm%2Fkpipe/lists"}