{"id":16862139,"url":"https://github.com/unmanner/koa-some","last_synced_at":"2026-05-19T11:04:09.682Z","repository":{"id":52028917,"uuid":"171647778","full_name":"uNmAnNeR/koa-some","owner":"uNmAnNeR","description":"Weird koa-some middleware","archived":false,"fork":false,"pushed_at":"2022-12-30T17:13:31.000Z","size":61,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T03:35:53.218Z","etag":null,"topics":["koa","middleware","some"],"latest_commit_sha":null,"homepage":null,"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/uNmAnNeR.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}},"created_at":"2019-02-20T10:00:45.000Z","updated_at":"2019-02-20T12:18:51.000Z","dependencies_parsed_at":"2023-01-31T12:15:57.665Z","dependency_job_id":null,"html_url":"https://github.com/uNmAnNeR/koa-some","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNmAnNeR%2Fkoa-some","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNmAnNeR%2Fkoa-some/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNmAnNeR%2Fkoa-some/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uNmAnNeR%2Fkoa-some/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uNmAnNeR","download_url":"https://codeload.github.com/uNmAnNeR/koa-some/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244257256,"owners_count":20424127,"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":["koa","middleware","some"],"created_at":"2024-10-13T14:34:39.228Z","updated_at":"2026-05-19T11:04:04.660Z","avatar_url":"https://github.com/uNmAnNeR.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa-some\n\n[![Build Status](https://travis-ci.org/uNmAnNeR/koa-some.svg?branch=master)](https://travis-ci.org/uNmAnNeR/koa-some)\n[![npm version](https://badge.fury.io/js/koa-some.svg)](https://badge.fury.io/jas/koa-some)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nWeird `some` middleware\n\n**NOTE:** Implements shallow copying of koa `ctx.response` which is not supported out of the koa box and done 'as is'. Acceptable only for simple scenarios.\n\n## Install\n\n```js\nnpm install koa-some\n```\n\n## Use\n\n### some([a, b, c, ...])\n\nReturns new middleware which select first one of passed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funmanner%2Fkoa-some","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funmanner%2Fkoa-some","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funmanner%2Fkoa-some/lists"}