{"id":19347834,"url":"https://github.com/wilmoore/node-supertest-koa-agent","last_synced_at":"2025-04-23T05:32:36.427Z","repository":{"id":31456199,"uuid":"35020041","full_name":"wilmoore/node-supertest-koa-agent","owner":"wilmoore","description":"Converts a Koa app into a supertest compatible agent instance.","archived":false,"fork":false,"pushed_at":"2023-01-23T21:58:25.000Z","size":442,"stargazers_count":15,"open_issues_count":14,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-01T07:07:14.750Z","etag":null,"topics":["agent","koa","nodejs","supertest"],"latest_commit_sha":null,"homepage":"","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/wilmoore.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":"contributing.md","funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-04T07:16:01.000Z","updated_at":"2023-08-09T09:43:00.000Z","dependencies_parsed_at":"2023-02-13T08:55:11.538Z","dependency_job_id":null,"html_url":"https://github.com/wilmoore/node-supertest-koa-agent","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilmoore%2Fnode-supertest-koa-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilmoore%2Fnode-supertest-koa-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilmoore%2Fnode-supertest-koa-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilmoore%2Fnode-supertest-koa-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilmoore","download_url":"https://codeload.github.com/wilmoore/node-supertest-koa-agent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223910360,"owners_count":17223669,"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":["agent","koa","nodejs","supertest"],"created_at":"2024-11-10T04:18:12.717Z","updated_at":"2024-11-10T04:18:13.312Z","avatar_url":"https://github.com/wilmoore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supertest-koa-agent\n\u003e Converts a Koa app into a supertest compatible agent instance.\n\n[![Build Status](http://img.shields.io/travis/wilmoore/node-supertest-koa-agent.svg)](https://travis-ci.org/wilmoore/node-supertest-koa-agent) [![Code Climate](https://codeclimate.com/github/wilmoore/node-supertest-koa-agent/badges/gpa.svg)](https://codeclimate.com/github/wilmoore/node-supertest-koa-agent) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n```shell\nnpm install supertest-koa-agent --save-dev\n```\n\n###### npm stats\n\n[![npm](https://img.shields.io/npm/v/supertest-koa-agent.svg)](https://www.npmjs.org/package/supertest-koa-agent) [![NPM downloads](http://img.shields.io/npm/dm/supertest-koa-agent.svg)](https://www.npmjs.org/package/supertest-koa-agent) [![Dependency Status](https://gemnasium.com/wilmoore/node-supertest-koa-agent.svg)](https://gemnasium.com/wilmoore/node-supertest-koa-agent)\n\n## API Example\n\n```js\nvar agent = require('supertest-koa-agent');\nvar Koa = require('koa')\n\nvar app = new Koa()\n\nagent(app)\n```\n\n## API\n\n### `agent(app)`\n\n###### arguments\n\n - `app: (Application)` Koa application instance.\n\n###### returns\n\n - `(Object)` Supertest agent instance.\n\n## Contributing\n\n\u003e SEE: [contributing.md](contributing.md)\n\n## Licenses\n\n[![GitHub license](https://img.shields.io/github/license/wilmoore/node-supertest-koa-agent.svg)](https://github.com/wilmoore/node-supertest-koa-agent/blob/master/license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilmoore%2Fnode-supertest-koa-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilmoore%2Fnode-supertest-koa-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilmoore%2Fnode-supertest-koa-agent/lists"}