{"id":18849135,"url":"https://github.com/gesquive/bootstrap-add-clear","last_synced_at":"2025-10-14T20:33:07.014Z","repository":{"id":29588773,"uuid":"33128678","full_name":"gesquive/bootstrap-add-clear","owner":"gesquive","description":"bootstrap plugin to add a (x) clear button to your input fields","archived":false,"fork":false,"pushed_at":"2019-07-19T06:30:50.000Z","size":248,"stargazers_count":36,"open_issues_count":2,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-28T19:25:33.541Z","etag":null,"topics":["bootstrap","forms"],"latest_commit_sha":null,"homepage":"http://gesquive.github.io/bootstrap-add-clear","language":null,"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/gesquive.png","metadata":{"files":{"readme":"README.md","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":"2015-03-30T14:41:45.000Z","updated_at":"2024-03-16T10:08:55.000Z","dependencies_parsed_at":"2022-09-06T23:30:27.771Z","dependency_job_id":null,"html_url":"https://github.com/gesquive/bootstrap-add-clear","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/gesquive/bootstrap-add-clear","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesquive%2Fbootstrap-add-clear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesquive%2Fbootstrap-add-clear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesquive%2Fbootstrap-add-clear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesquive%2Fbootstrap-add-clear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gesquive","download_url":"https://codeload.github.com/gesquive/bootstrap-add-clear/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gesquive%2Fbootstrap-add-clear/sbom","scorecard":{"id":423966,"data":{"date":"2025-08-11","repo":{"name":"github.com/gesquive/bootstrap-add-clear","commit":"414d93ce827ee345a56780901769303d9b0d0af8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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 6 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-19T01:52:25.386Z","repository_id":29588773,"created_at":"2025-08-19T01:52:25.386Z","updated_at":"2025-08-19T01:52:25.386Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020905,"owners_count":26086948,"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-10-14T02:00:06.444Z","response_time":60,"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":["bootstrap","forms"],"created_at":"2024-11-08T03:18:29.289Z","updated_at":"2025-10-14T20:33:06.996Z","avatar_url":"https://github.com/gesquive.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"**Maintainer:** Gus Esquivel \u003cbr /\u003e\n**Plugin Website:** http://gesquive.github.io/bootstrap-add-clear \u003cbr /\u003e\n**Contributers:**\n\u003ca href=\"https://github.com/skorecky\"\u003eStephen Korecky\u003c/a\u003e,\n\u003ca href=\"https://github.com/scoman81\"\u003escoman81\u003c/a\u003e,\n\u003ca href=\"https://github.com/Steve887\"\u003eSteve887\u003c/a\u003e,\n\u003ca href=\"https://github.com/Deividy\"\u003eDeividy\u003c/a\u003e,\n\u003ca href=\"https://github.com/zarv1k\"\u003ezarv1k\u003c/a\u003e,\n\u003ca href=\"https://github.com/grrizzly\"\u003egrrizzly\u003c/a\u003e,\n\u003ca href=\"https://github.com/adambiggs\"\u003eadambiggs\u003c/a\u003e,\n\u003ca href=\"https://github.com/Vladekk\"\u003eVladekk\u003c/a\u003e,\n\u003ca href=\"https://github.com/denisj\"\u003edenisj\u003c/a\u003e,\n\u003ca href=\"https://github.com/starspoint\"\u003estarspoint\u003c/a\u003e\n\n\u003cbr /\u003e\n\n## About\nThis project is a fork of Stephen Korecky's \"[Add Clear](https://github.com/skorecky/Add-Clear)\" project. It is meant to work as a drop-in replacement when using bootstrap.\n\n## Getting Started\nHow you acquire bootstrap-add-clear is up to you.\n#### Bower\nInstall with [Bower](http://bower.io/):\n```bash\nbower install bootstrap-add-clear\n```\n\n#### NPM\nInstall with [NPM](http://npmjs.org):\n```bash\nnpm install bootstrap-add-clear\n```\n\nIf you are using [browserify](http://browserify.org/) to bundle, you will have to expose jQuery globally:\n\n***entry.js***\n```javascript\nvar $ = require('jquery');\nglobal.jQuery = $;\nrequire('bootstrap-add-clear');\n```\n\n#### Github\nClone the [boostrap-add-clear repository](https://github.com/gesquive/bootstrap-add-clear/):\n```bash\ngit clone git@github.com:gesquive/bootstrap-add-clear.git\n```\n\n#### Direct Download\n * [zip](https://github.com/gesquive/bootstrap-add-clear/archive/v1.0.7.zip)\n * [tarbell](https://github.com/gesquive/bootstrap-add-clear/archive/v1.0.7.tar.gz)\n * Individual Files\n    * [bootstrap-add-clear.js](https://raw.githubusercontent.com/gesquive/bootstrap-add-clear/v1.0.7/bootstrap-add-clear.js)\n    * [bootstrap-add-clear.min.js](https://raw.githubusercontent.com/gesquive/bootstrap-add-clear/v1.0.7/bootstrap-add-clear.min.js)\n\n**Note**: bootstrap-add-clear has a dependency on jquery 1.8+ and Bootstrap 3\n\n### Available Options\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth\u003eOption\u003c/th\u003e\n    \u003cth\u003eType\u003c/th\u003e\n    \u003cth\u003eDefault\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ecloseSymbol\u003c/td\u003e\n    \u003ctd\u003estring\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003esymbolClass\u003c/td\u003e\n    \u003ctd\u003estring\u003c/td\u003e\n    \u003ctd\u003eglyphicon glyphicon-remove-circle\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ewrapperClass\u003c/td\u003e\n    \u003ctd\u003estring\u003c/td\u003e\n    \u003ctd\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003etop\u003c/td\u003e\n    \u003ctd\u003enumber\u003c/td\u003e\n    \u003ctd\u003e0\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eright\u003c/td\u003e\n    \u003ctd\u003enumber\u003c/td\u003e\n    \u003ctd\u003e0\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ereturnFocus\u003c/td\u003e\n    \u003ctd\u003eboolean\u003c/td\u003e\n    \u003ctd\u003etrue\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eshowOnLoad\u003c/td\u003e\n    \u003ctd\u003eboolean\u003c/td\u003e\n    \u003ctd\u003efalse\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eclearOnEscape\u003c/td\u003e\n    \u003ctd\u003eboolean\u003c/td\u003e\n    \u003ctd\u003etrue\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ehideOnBlur\u003c/td\u003e\n    \u003ctd\u003eboolean\u003c/td\u003e\n    \u003ctd\u003efalse\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ezindex\u003c/td\u003e\n    \u003ctd\u003enumber\u003c/td\u003e\n    \u003ctd\u003e100\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eonClear\u003c/td\u003e\n    \u003ctd\u003efunction\u003c/td\u003e\n    \u003ctd\u003enull\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n#### Using Options\n```javascript\n$(\"input\").addClear({top : -2, right : 6});\n\n// Example onClear option usage\n$(\":input\").addClear({\n  onClear: function(){\n    alert(\"call back!\");\n  }\n});\n\n// Example font awesome icon usage\n$(\":input\").addClear({\n    symbolClass: \"fa fa-times-circle\"\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgesquive%2Fbootstrap-add-clear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgesquive%2Fbootstrap-add-clear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgesquive%2Fbootstrap-add-clear/lists"}