{"id":17042144,"url":"https://github.com/bluem/form-control-event-name","last_synced_at":"2026-01-19T06:01:12.676Z","repository":{"id":42211445,"uuid":"160047795","full_name":"BlueM/form-control-event-name","owner":"BlueM","description":"Vanilla JS browser lib for getting name of an event emitted by a form control when changed","archived":false,"fork":false,"pushed_at":"2024-04-05T18:41:55.000Z","size":371,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T22:19:06.180Z","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/BlueM.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":"2018-12-02T13:02:10.000Z","updated_at":"2024-01-12T18:07:51.000Z","dependencies_parsed_at":"2025-02-12T03:33:31.332Z","dependency_job_id":"3c19cb1e-afbf-4c2b-bfdc-0b1f23005ca0","html_url":"https://github.com/BlueM/form-control-event-name","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/BlueM/form-control-event-name","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueM%2Fform-control-event-name","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueM%2Fform-control-event-name/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueM%2Fform-control-event-name/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueM%2Fform-control-event-name/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlueM","download_url":"https://codeload.github.com/BlueM/form-control-event-name/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlueM%2Fform-control-event-name/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28562229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-10-14T09:15:15.505Z","updated_at":"2026-01-19T06:01:12.659Z","avatar_url":"https://github.com/BlueM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\r\n\r\nThis library is a helper library extracted from [@bluem/form-change-tracker](https://www.npmjs.com/package/@bluem/form-change-tracker) to be reused in other contexts. It merely serves for getting the name of the event emitted by an HTML form element when changed (for example: “click” for a checkbox, “change” for a `\u003cselect\u003e` element).\r\n\r\n## Browser support\r\n\r\nThis library will work (at least) on:\r\n\r\n* Google Chrome Desktop and Android (any version)\r\n* Firefox Desktop and Android (any version)\r\n* Safari Desktop and iOS (any version)\r\n* Microsoft Edge (any version)\r\n* Microsoft IE11 (older versions untested)\r\n\r\n\r\n# Usage\r\nThe library is an ES6 module, so the way to use it depends on your tooling and the browsers you want to support. But basic usage is:\r\n\r\n```javascript\r\n// If using native ES6 module in browser:\r\nimport formControlEvenName from './node_modules/@bluem/form-control-event-name/index.js';\r\n\r\n// OR:\r\n// If using Webpack or Parcel for bundling:\r\n// import formControlEventName from '@bluem/form-control-event-name/index.js';\r\n\r\nformControlEventName(myFormElement); // Will return the name of the event (string)\r\n```\r\n\r\n# Tests\r\nInstall npm depencencies, then run `npm run test` or `npm run test-coverage`.\r\n\r\n# License\r\nMIT License\r\n\r\n# Version History\r\n\r\n## 1.0.8 (2024-04-05)\r\n- Updated npm dependencies to fix vulnerabilites in dev dependencies. No changes in the module itself.\r\n## 1.0.7 (2022-12-08)\r\n- Updated npm dependencies to fix vulnerabilites in dev dependencies. No relevant change in the module itself.\r\n## 1.0.6 (2022-04-10)\r\n- Updated npm dependencies to fix vulnerabilites in dev dependencies. No changes in the module itself.\r\n## 1.0.5 (2021-06-27)\r\n- Updated npm dependencies to fix vulnerabilites in dev dependencies. No changes in the module itself.\r\n\r\n## 1.0.4 (2020-09-29)\r\n- Fix IE11 compatibility, for cases where ES6 is not transpiled to ES5.\r\n- Updated npm dependencies to fix some vulnerabilites in 3rd-party code\r\n\r\n## 1.0.3 (2020-01-26)\r\n- Updated npm dependencies to fix vulnerabilites in 3rd-party code. No changes in the module itself.\r\n\r\n## 1.0.1 (2019-08-14)\r\n- Updated npm dependencies to fix vulnerabilites in 3rd-party code. No changes in the module itself.\r\n\r\n## 1.0 (2018-12-02)\r\n- Initial release\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluem%2Fform-control-event-name","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluem%2Fform-control-event-name","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluem%2Fform-control-event-name/lists"}