{"id":15294994,"url":"https://github.com/gomah/vue-places","last_synced_at":"2025-05-06T23:46:57.118Z","repository":{"id":37925989,"uuid":"78943871","full_name":"Gomah/vue-places","owner":"Gomah","description":"Places component is based on places.js for Vue 2.x. Turn any \u003cinput\u003e into an address autocomplete.","archived":false,"fork":false,"pushed_at":"2022-12-11T10:13:20.000Z","size":3660,"stargazers_count":108,"open_issues_count":38,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T19:04:50.153Z","etag":null,"topics":["algolia","autocomplete","input","places","vue","vuejs","vuejs2"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/vue-places","language":"JavaScript","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/Gomah.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-01-14T14:09:24.000Z","updated_at":"2024-06-13T21:22:18.000Z","dependencies_parsed_at":"2023-01-26T21:01:03.207Z","dependency_job_id":null,"html_url":"https://github.com/Gomah/vue-places","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gomah%2Fvue-places","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gomah%2Fvue-places/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gomah%2Fvue-places/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gomah%2Fvue-places/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gomah","download_url":"https://codeload.github.com/Gomah/vue-places/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788409,"owners_count":21804282,"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":["algolia","autocomplete","input","places","vue","vuejs","vuejs2"],"created_at":"2024-09-30T17:08:15.033Z","updated_at":"2025-05-06T23:46:57.102Z","avatar_url":"https://github.com/Gomah.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-places\n\nPlaces component is based on [places.js](https://github.com/algolia/places) for Vue 2.x.\n\n\u003e Turn any \u003cinput\u003e into an address autocomplete\n\n[![circle-ci][circle-src]][circle-href]\n[![npm version][npm-version-src]][npm-version-href]\n[![Dependencies][david-dm-src]][david-dm-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![code style: prettier](https://img.shields.io/badge/code_style-airbnb/prettier-FF5A5F.svg?style=flat-square)](https://github.com/airbnb/javascript)\n[![License: MIT](https://img.shields.io/badge/License-MIT-black.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n\n\n---\n\n## Installation\n\n```bash\n# yarn\n$ yarn add vue-places\n\n# npm\n$ npm install vue-places --save\n```\n\n## Example\n\n```vue\n\u003ctemplate\u003e\n  \u003cplaces\n    v-model=\"form.country.label\"\n    placeholder=\"Where are we going ?\"\n    @change=\"val =\u003e { form.country.data = val }\"\n    :options=\"options\"\u003e\n  \u003c/places\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\nimport Places from 'vue-places';\n\nexport default {\n  data() {\n    return {\n      options: {\n        appId: \u003cYOUR_PLACES_APP_ID\u003e,\n        apiKey: \u003cYOUR_PLACES_API_KEY\u003e,\n        countries: ['US'],\n      },\n      form: {\n        country: {\n          label: null,\n          data: {},\n        },\n      },\n    };\n  },\n  components: {\n    Places,\n  },\n}\n\u003c/script\u003e\n```\n\n---\n\n[Algolia Places Documentation](https://community.algolia.com/places/documentation.html#options)\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/dt/vue-places.svg?style=flat-square\n[npm-version-href]: https://npmjs.com/package/vue-places\n[circle-src]: https://circleci.com/gh/Gomah/vue-places.svg?style=shield\n[circle-href]: https://circleci.com/gh/Gomah/vue-places\n[npm-downloads-src]: https://img.shields.io/npm/v/vue-places/latest.svg?style=flat-square\n[npm-downloads-href]: https://npmjs.com/package/vue-places\n[david-dm-src]: https://david-dm.org/gomah/vue-places/status.svg?style=flat-square\n[david-dm-href]: https://david-dm.org/gomah/vue-places\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomah%2Fvue-places","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgomah%2Fvue-places","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgomah%2Fvue-places/lists"}