{"id":33091182,"url":"https://github.com/dennyferra/TypeWatch","last_synced_at":"2025-11-16T14:00:42.039Z","repository":{"id":2215350,"uuid":"3164815","full_name":"dennyferra/TypeWatch","owner":"dennyferra","description":"A jquery plugin to determine when a user has stopped typing in a text field.","archived":false,"fork":false,"pushed_at":"2022-05-01T18:39:38.000Z","size":47,"stargazers_count":219,"open_issues_count":2,"forks_count":54,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-10-10T12:29:03.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dennyferra.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-12T19:07:01.000Z","updated_at":"2023-11-18T22:44:18.000Z","dependencies_parsed_at":"2022-09-05T14:10:21.305Z","dependency_job_id":null,"html_url":"https://github.com/dennyferra/TypeWatch","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/dennyferra/TypeWatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennyferra%2FTypeWatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennyferra%2FTypeWatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennyferra%2FTypeWatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennyferra%2FTypeWatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennyferra","download_url":"https://codeload.github.com/dennyferra/TypeWatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennyferra%2FTypeWatch/sbom","scorecard":{"id":334392,"data":{"date":"2025-08-11","repo":{"name":"github.com/dennyferra/TypeWatch","commit":"6fa59791f0da49b0795f2e425283dfb910bfce49"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Code-Review","score":3,"reason":"Found 8/25 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dennyferra/TypeWatch/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/dennyferra/TypeWatch/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/dennyferra/TypeWatch/stale.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/npm-publish.yml:14","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/npm-publish.yml:15","Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Warn: no topLevel permission defined: .github/workflows/stale.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T04:23:01.787Z","repository_id":2215350,"created_at":"2025-08-18T04:23:01.787Z","updated_at":"2025-08-18T04:23:01.787Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283803341,"owners_count":26897370,"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","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-11-14T18:00:23.169Z","updated_at":"2025-11-16T14:00:42.034Z","avatar_url":"https://github.com/dennyferra.png","language":"JavaScript","readme":"# The official home for the TypeWatch jQuery plugin. #\n\n[![CDNJS](https://img.shields.io/cdnjs/v/TypeWatch.svg)](https://cdnjs.com/libraries/TypeWatch)\n\nTypeWatch calls a function when a user has typed text in an input, textarea and changes in div from editors (including HTML 5 input types) and after the user has stopped typing for a specified amount of time.\n\n\u003e Note* This is not the OnChange event, instead the function is called after the user has finished typing (or if the user stopped typing for # amount of milliseconds) even if the input continues to have focus.\n\nThis can be used in conjunction with an AutoComplete implementation, so instead of firing an AJAX call every 500 ms, you can fire it once when they’ve stopped typing.\n\n\u003e Now supports HTML 5 oninput event for browsers that support it\n\nExample:\n\n```javascript\n// callback: The callback function\n// wait: The number of milliseconds to wait after the the last key press before firing the callback\n// highlight: Highlights the element when it receives focus\n// allowSubmit: Allows a non-multiline element to be submitted (enter key) regardless of captureLength\n// captureLength: Minimum # of characters necessary to fire the callback\n\nvar options = {\n    callback: function (value) { console.log('TypeWatch callback: (' + (this.type || this.nodeName) + ') ' + value); },\n    wait: 750,\n    highlight: true,\n    allowSubmit: false,\n    captureLength: 2\n}\n\n$(\"#search\").typeWatch( options );\n```\n\n+ When working with any element other than __TEXTAREA__ pressing the __ENTER__ key will fire the callback function.\n+ When working with any editor which supports __DIV__ it works like a textarea.\n+ The cut and paste events are also included.\n\nWorks with multiple elements:\n\n```javascript\n$(\".textbox,input,textarea,#search\").typeWatch( options );\n```\n\nLastly, if you use or enjoy TypeWatch beer donations are always appreciated\n\n[Donate a beer, half a beer, or a 6-pack](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=95YL35K45G4VA\u0026lc=US\u0026item_name=Denny+Ferrassoli\u0026currency_code=USD\u0026bn=PP-DonationsBF%3Abtn_donate_SM.gif%3ANonHosted)\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=95YL35K45G4VA\u0026lc=US\u0026item_name=Denny+Ferrassoli\u0026currency_code=USD\u0026bn=PP-DonationsBF%3Abtn_donate_SM.gif%3ANonHosted"],"categories":["13. 页面交互"],"sub_categories":["13.3 懒加载/加载监听/预加载 ###","13.3 懒加载/加载监听/预加载"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennyferra%2FTypeWatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennyferra%2FTypeWatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennyferra%2FTypeWatch/lists"}