{"id":32517243,"url":"https://github.com/mrmurphy/koa-response-censor","last_synced_at":"2025-10-28T02:54:33.724Z","repository":{"id":33267632,"uuid":"36912176","full_name":"mrmurphy/koa-response-censor","owner":"mrmurphy","description":"Filter out certain keys from the response body. Keep those secrets secret!","archived":false,"fork":false,"pushed_at":"2015-06-06T04:52:35.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-12T04:39:36.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrmurphy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-05T04:41:00.000Z","updated_at":"2015-06-05T22:25:11.000Z","dependencies_parsed_at":"2022-09-02T09:20:57.409Z","dependency_job_id":null,"html_url":"https://github.com/mrmurphy/koa-response-censor","commit_stats":null,"previous_names":["murphyrandle/koa-response-censor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrmurphy/koa-response-censor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fkoa-response-censor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fkoa-response-censor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fkoa-response-censor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fkoa-response-censor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrmurphy","download_url":"https://codeload.github.com/mrmurphy/koa-response-censor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrmurphy%2Fkoa-response-censor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281376665,"owners_count":26490317,"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-10-28T02:00:06.022Z","response_time":60,"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":[],"created_at":"2025-10-28T02:54:33.070Z","updated_at":"2025-10-28T02:54:33.718Z","avatar_url":"https://github.com/mrmurphy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# koa-response-censor\n\nFilter out certain keys from the response body. Keep those secrets secret! [![Build Status](https://travis-ci.org/murphyrandle/koa-response-censor.svg?branch=master)](https://travis-ci.org/murphyrandle/koa-response-censor)\n\n![A little joke header image of censored text](https://cloud.githubusercontent.com/assets/1227109/8010577/88623048-0b6e-11e5-93ee-959dbdad8719.png)\n\n## Install\n\u003eInstall with [npm](https://github.com/npm/npm)\n\n```\n$ npm install koa-response-censor\n```\n\n## Usage\n\n```js\nvar app      = require('koa')(),\n    koaCensor   = require('koa-response-censor');\n\napp.use(koaCensor({\n  keys: [\n    'pwdHash',\n    '_secretKey',\n    'myPhoneNumber'\n  ]\n}));\n\n...\n\n// any keys at any depth of the response body matching\n// a term found in the array above will be omitted from\n// the response.\n\n```\n\n## Options\n\n- `keys` **{array}** An array of keys to be omitted (deeply) from the response body\n\n## Tests\n\n```\n$ npm test\n```\n\n## License\nThe MIT License, 2014 [Murphy Randle](https://github.com/murphyrandle)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmurphy%2Fkoa-response-censor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmurphy%2Fkoa-response-censor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmurphy%2Fkoa-response-censor/lists"}