{"id":15854057,"url":"https://github.com/afeiship/next-invoke","last_synced_at":"2025-04-01T18:50:18.305Z","repository":{"id":96087861,"uuid":"166350234","full_name":"afeiship/next-invoke","owner":"afeiship","description":"Invoke a method with context.","archived":false,"fork":false,"pushed_at":"2023-07-15T05:17:52.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T12:27:57.631Z","etag":null,"topics":["invoke","next"],"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/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":"2019-01-18T05:40:04.000Z","updated_at":"2023-07-10T01:24:06.000Z","dependencies_parsed_at":"2024-10-05T19:40:50.499Z","dependency_job_id":"c136eb2a-d77b-4f97-9409-27d3b0703edf","html_url":"https://github.com/afeiship/next-invoke","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-invoke","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-invoke/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-invoke/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-invoke/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-invoke/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246695612,"owners_count":20819305,"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":["invoke","next"],"created_at":"2024-10-05T19:40:42.000Z","updated_at":"2025-04-01T18:50:18.284Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","readme":"# next-invoke\n\u003e Invoke a method with context.\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\nyarn add @jswork/next-invoke\n```\n\n## usage\n```js\nimport '@jswork/next-invoke';\n\nconst obj1 = {\n  name: 'obj1',\n  fn1: function(arg1, arg2) {\n    console.log('args:', arg1, arg2);\n    return this.name + '_FEI';\n  }\n};\n\nconst rs = nx.invoke(obj1, 'fn1', ['arg1', 'arg2']);\n\n// obj1_FEI\n// args: arg1 arg2\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-invoke/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-invoke\n[version-url]: https://npmjs.org/package/@jswork/next-invoke\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-invoke\n[license-url]: https://github.com/afeiship/next-invoke/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-invoke\n[size-url]: https://github.com/afeiship/next-invoke/blob/master/dist/next-invoke.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-invoke\n[download-url]: https://www.npmjs.com/package/@jswork/next-invoke\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-invoke","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-invoke","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-invoke/lists"}