{"id":15862259,"url":"https://github.com/afeiship/next-stub-event","last_synced_at":"2026-04-30T00:04:04.974Z","repository":{"id":57122869,"uuid":"132401828","full_name":"afeiship/next-stub-event","owner":"afeiship","description":"Stub event for react component.","archived":false,"fork":false,"pushed_at":"2020-11-22T08:58:01.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T22:55:47.534Z","etag":null,"topics":["event","next","return","stub","target"],"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}},"created_at":"2018-05-07T03:23:46.000Z","updated_at":"2020-11-22T08:58:04.000Z","dependencies_parsed_at":"2022-08-24T14:59:32.412Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-stub-event","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/afeiship%2Fnext-stub-event","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-stub-event/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-stub-event/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-stub-event/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-stub-event/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":["event","next","return","stub","target"],"created_at":"2024-10-05T22:25:59.418Z","updated_at":"2026-04-30T00:04:04.934Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-stub-event\n\u003e Stub event for react component.\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-stub-event\n```\n\n## usage\n```js\nimport '@jswork/next-stub-event';\n\nconst event = { target:{ value } };\nconst value = 123;\n\nnx.stubEventValue(event);\n// value\n\nnx.stubEventTarget(value);\n// { target: { value: 123 } }\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-stub-event/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-stub-event\n[version-url]: https://npmjs.org/package/@jswork/next-stub-event\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-stub-event\n[license-url]: https://github.com/afeiship/next-stub-event/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-stub-event\n[size-url]: https://github.com/afeiship/next-stub-event/blob/master/dist/next-stub-event.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-stub-event\n[download-url]: https://www.npmjs.com/package/@jswork/next-stub-event\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-stub-event","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-stub-event","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-stub-event/lists"}