{"id":22484116,"url":"https://github.com/iamstevendao/vue-tel-input","last_synced_at":"2026-07-23T21:54:27.441Z","repository":{"id":37656943,"uuid":"114185334","full_name":"iamstevendao/vue-tel-input","owner":"iamstevendao","description":"International Telephone Input with Vue","archived":false,"fork":false,"pushed_at":"2026-03-19T14:28:16.000Z","size":8271,"stargazers_count":878,"open_issues_count":156,"forks_count":361,"subscribers_count":13,"default_branch":"main","last_synced_at":"2026-06-01T16:13:13.097Z","etag":null,"topics":["hacktoberfest","input","international-telephone","javascript","phone","phone-input","vue","vue-tel"],"latest_commit_sha":null,"homepage":"https://iamstevendao.com/vue-tel-input/","language":"CSS","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/iamstevendao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"iamstevendao","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2017-12-14T01:06:00.000Z","updated_at":"2026-05-28T21:23:17.000Z","dependencies_parsed_at":"2024-01-07T12:52:25.451Z","dependency_job_id":"cea1e00c-2d2e-463a-ac34-649eb9becdb7","html_url":"https://github.com/iamstevendao/vue-tel-input","commit_stats":{"total_commits":444,"total_committers":41,"mean_commits":"10.829268292682928","dds":"0.22747747747747749","last_synced_commit":"0a6b216f09dd4644eee4399b0c6f659c7296a4e4"},"previous_names":["educationlink/vue-tel-input"],"tags_count":69,"template":false,"template_full_name":null,"purl":"pkg:github/iamstevendao/vue-tel-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstevendao%2Fvue-tel-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstevendao%2Fvue-tel-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstevendao%2Fvue-tel-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstevendao%2Fvue-tel-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamstevendao","download_url":"https://codeload.github.com/iamstevendao/vue-tel-input/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamstevendao%2Fvue-tel-input/sbom","scorecard":{"id":44490,"data":{"date":"2025-08-04","repo":{"name":"github.com/iamstevendao/vue-tel-input","commit":"d9576d71f52342ebeb2658cf5966e51b16b22adb"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3.8,"checks":[{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 14/30 approved changesets -- score normalized to 4","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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":9,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/iamstevendao/vue-tel-input/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/iamstevendao/vue-tel-input/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/iamstevendao/vue-tel-input/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/iamstevendao/vue-tel-input/deploy.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/iamstevendao/vue-tel-input/deploy.yml/main?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/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 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"22 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-92r3-m2mg-pj97","Warn: Project is vulnerable to: GHSA-c24v-8rfc-w8vw","Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g","Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3","Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T22:23:48.320Z","repository_id":37656943,"created_at":"2025-08-14T22:23:48.320Z","updated_at":"2025-08-14T22:23:48.320Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35817929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-23T02:00:06.683Z","response_time":57,"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":["hacktoberfest","input","international-telephone","javascript","phone","phone-input","vue","vue-tel"],"created_at":"2024-12-06T17:10:18.900Z","updated_at":"2026-07-23T21:54:27.423Z","avatar_url":"https://github.com/iamstevendao.png","language":"CSS","funding_links":["https://github.com/sponsors/iamstevendao"],"categories":["CSS"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"100\" alt=\"vue-tel-input-logo\" src=\"https://iamstevendao.com/vue-tel-input/hero.png\"/\u003e\n\u003c/p\u003e\n\n# vue-tel-input\n\nInternational Telephone Input with Vue.\n\n[![npm](https://img.shields.io/npm/dt/vue-tel-input.svg)](https://www.npmjs.com/package/vue-tel-input) [![stars](https://img.shields.io/github/stars/iamstevendao/vue-tel-input.svg)](https://github.com/iamstevendao/vue-tel-input)\n\n\u003cp align=\"center\"\u003e\n\u003cimg width=\"600\" alt=\"In-action GIF\" src=\"https://thumbs.gfycat.com/EducatedPoliteBluefintuna-size_restricted.gif\"/\u003e\n\u003c/p\u003e\n\n## Documentation and Demo\n\n[Visit the website](https://iamstevendao.com/vue-tel-input/)\n\n## Vue 2 Support\n\n`vue-tel-input@legacy`: [Guide](https://iamstevendao.com/vue-tel-input/guide/legacy.html)\n\n## Changelog\n\n[Go to Github Releases](https://github.com/iamstevendao/vue-tel-input/releases)\n\n## Getting started\n\n- Install the plugin:\n\n  ```sh\n  npm install vue-tel-input\n  ```\n\n- Add the plugin into your app:\n\n  ```javascript\n  import Vue from 'vue';\n  import VueTelInput from 'vue-tel-input';\n  import 'vue-tel-input/vue-tel-input.css';\n\n  const app = createApp(App);\n  app.use(VueTelInput);\n  app.mount('#app');\n  ```\n\n  [More info on installation](#installation)\n\n- Use the `vue-tel-input` component:\n\n  ```html\n  \u003ctemplate\u003e\n    \u003cvue-tel-input v-model=\"phone\"\u003e\u003c/vue-tel-input\u003e\n  \u003c/template\u003e\n  ```\n\n## Installation\n\n### npm\n\n```bash\n  npm install vue-tel-input\n```\n\nInstall the plugin into Vue:\n\n```javascript\nimport { createApp } from 'vue';\nimport App from './App.vue';\nimport VueTelInput from 'vue-tel-input';\nimport 'vue-tel-input/vue-tel-input.css';\n\nconst globalOptions = {\n  mode: 'auto',\n};\n\nconst app = createApp(App);\napp.use(VueTelInput, globalOptions); // Define default global options here (optional)\napp.mount('#app');\n```\n\n\u003e View all available options in [Props](https://iamstevendao.com/vue-tel-input/usage/props.html).\n\nOr use the component directly:\n\n```html\n\u003ctemplate\u003e\n  \u003cvue-tel-input v-model=\"phone\" mode=\"international\"\u003e\u003c/vue-tel-input\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n  import { ref } from 'vue';\n  import { VueTelInput } from 'vue-tel-input';\n  import 'vue-tel-input/vue-tel-input.css';\n\n  export default {\n    components: {\n      VueTelInput,\n    },\n\n    setup() {\n      const phone = ref(null);\n\n      return {\n        value,\n      };\n    },\n  };\n\u003c/script\u003e\n```\n\n### Browser\n\n```html\n\u003cscript src=\"https://unpkg.com/vue-tel-input\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/vue-tel-input/dist/vue-tel-input.css\" /\u003e\n```\n\n**If Vue is detected in the Page, the plugin is installed automatically.**\n\n\\*\\* Otherwise, manually install the plugin into Vue:\n\n```js\napp.use(window['vue-tel-input']);\n```\n\n### Component lazy loading\n\nSince the library is about 200kb of JavaScript and 100kb of CSS in order to improve initial page loading time you might consider importing it asynchronously only when user navigates to the page where the library is actually needed. The technique is called [Lazy Load](https://webpack.js.org/guides/lazy-loading/) and you can use it in some modern bundlers like Webpack and Rollup.\n\n```html\n\u003c!-- your-component.vue--\u003e\n\u003ctemplate\u003e\n  \u003cvue-tel-input v-model=\"value\"\u003e\u003c/vue-tel-input\u003e\n\u003c/template\u003e\n\u003cscript\u003e\n  const VueTelInput = () =\u003e\n    Promise.all([\n      import(/* webpackChunkName: \"chunk-vue-tel-input\" */ 'vue-tel-input'),\n      import(/* webpackChunkName: \"chunk-vue-tel-input\" */ 'vue-tel-input/vue-tel-input.css'),\n    ]).then(([{ VueTelInput }]) =\u003e VueTelInput);\n\n  export default {\n    components: {\n      VueTelInput,\n    },\n  };\n\u003c/script\u003e\n```\n\nAs you see, we don't use Vue SFC `\u003cstyle\u003e\u003c/style\u003e` tag here to import component's css as it would result in CSS going to the main/vendors bundle instead of being downloaded on demand.\n\n## Development\n\nClone the project\n\n```bash\n  git clone https://github.com/iamstevendao/vue-tel-input.git\n```\n\nGo to the project directory\n\n```bash\n  cd vue-tel-input\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nStart the server\n\n```bash\n  npm run dev\n```\n\n## License\n\nCopyright (c) 2018 Steven Dao.\nReleased under the [MIT License](https://github.com/iamstevendao/vue-tel-input/blob/master/LICENSE).\n\nmade with \u0026#x2764; by [Steven](https://github.com/iamstevendao).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamstevendao%2Fvue-tel-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamstevendao%2Fvue-tel-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamstevendao%2Fvue-tel-input/lists"}