{"id":15862216,"url":"https://github.com/afeiship/next-interceptor","last_synced_at":"2025-04-01T20:35:55.773Z","repository":{"id":57122704,"uuid":"361210455","full_name":"afeiship/next-interceptor","owner":"afeiship","description":"Interceptor for next.","archived":false,"fork":false,"pushed_at":"2024-09-16T01:14:22.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T13:25:23.826Z","etag":null,"topics":["compose","interceptor","next","pipe","pipeline","priority","promise"],"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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-04-24T16:23:43.000Z","updated_at":"2024-09-16T01:14:25.000Z","dependencies_parsed_at":"2024-09-16T02:33:41.549Z","dependency_job_id":"97d05fbc-a5f4-45f7-87c8-0fd7466a4b9a","html_url":"https://github.com/afeiship/next-interceptor","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"75624d6fcf329405b5b6ab335a18a3dbfe5bdf29"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-interceptor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-interceptor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-interceptor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-interceptor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-interceptor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709936,"owners_count":20821298,"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":["compose","interceptor","next","pipe","pipeline","priority","promise"],"created_at":"2024-10-05T22:25:40.952Z","updated_at":"2025-04-01T20:35:55.747Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","readme":"# next-interceptor\n\u003e Interceptor for next.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-interceptor\n```\n\n## usage\n```js\nimport NxInterceptor from '@jswork/next-interceptor';\n\nconst intercetor = new NxInterceptor({\n  async: false,\n  items:[/* ... your intercetpros ... */]\n});\n\n// get response interceptor process data;\nconst reqData = intercetor.compose(data1, 'request');\nconst resData = intercetor.compose(data2, 'response');\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-interceptor/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-interceptor\n[version-url]: https://npmjs.org/package/@jswork/next-interceptor\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-interceptor\n[license-url]: https://github.com/afeiship/next-interceptor/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-interceptor\n[size-url]: https://github.com/afeiship/next-interceptor/blob/master/dist/next-interceptor.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-interceptor\n[download-url]: https://www.npmjs.com/package/@jswork/next-interceptor","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-interceptor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-interceptor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-interceptor/lists"}