{"id":25620769,"url":"https://github.com/codewell/target-value","last_synced_at":"2025-07-17T20:33:09.203Z","repository":{"id":98874263,"uuid":"321319405","full_name":"codewell/target-value","owner":"codewell","description":"I just want target.value not the whole event...","archived":false,"fork":false,"pushed_at":"2020-12-14T11:49:02.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T07:31:49.418Z","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/codewell.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-14T10:56:56.000Z","updated_at":"2020-12-14T11:44:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee0c3166-fad8-4de2-a1eb-8a63295f421f","html_url":"https://github.com/codewell/target-value","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codewell/target-value","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Ftarget-value","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Ftarget-value/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Ftarget-value/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Ftarget-value/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewell","download_url":"https://codeload.github.com/codewell/target-value/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewell%2Ftarget-value/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265658960,"owners_count":23806842,"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":[],"created_at":"2025-02-22T07:28:00.980Z","updated_at":"2025-07-17T20:33:09.190Z","avatar_url":"https://github.com/codewell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @codewell/target-value\n\n## Installation\n\n```\nnpm install @codewell/target-value\n```\n\n## Basic Usage\n\n```JavaScript\nimport targetValue from '@codewell/target-value';\n\nconst eventHandler = (inputValue) =\u003e {\n  // Do something with the input value\n  // from the input element\n}\n\nconst sayHello = (inputValue, hello, there) =\u003e {\n  console.log(hello, there, inputValue)\n}\n\nconst SomeComponent = () =\u003e (\n  \u003c\u003e\n    \u003cinput onChange={targetValue(eventHandler)} /\u003e\n    \u003cinput onChange={targetValue(sayHello, \"hello\", \"there\")} /\u003e\n  \u003c/\u003e\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Ftarget-value","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewell%2Ftarget-value","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewell%2Ftarget-value/lists"}