{"_id":"@bergi/react-google-places-autocomplete","name":"@bergi/react-google-places-autocomplete","dist-tags":{"latest":"4.1.0"},"versions":{"4.1.0":{"name":"@bergi/react-google-places-autocomplete","version":"4.1.0","description":"Google places autocomplete input for ReactJS.","main":"build/index.js","module":"build/index.es.js","scripts":{"build":"rollup -c","postbuild":"node ./build-utils/postBuild","lint":"eslint . --ext ts,tsx ."},"publishConfig":{"access":"public"},"husky":{"hooks":{"pre-commit":"yarn lint"}},"repository":{"type":"git","url":"git+https://github.com/Tintef/react-google-places-autocomplete.git"},"author":{"name":"Nicolás Tinte"},"license":"MIT","bugs":{"url":"https://github.com/Tintef/react-google-places-autocomplete/issues"},"homepage":"https://github.com/Tintef/react-google-places-autocomplete#readme","keywords":["react","google-places","places","autocomplete"],"devDependencies":{"@rollup/plugin-commonjs":"^15.0.0","@rollup/plugin-node-resolve":"^9.0.0","@types/react":"^16.9.46","@types/react-dom":"^16.9.8","@typescript-eslint/eslint-plugin":"^3.9.1","@typescript-eslint/parser":"^3.9.1","eslint":"^7.7.0","eslint-plugin-react":"^7.20.6","husky":"^4.2.5","react":"^16.8.0","react-dom":"^16.8.0","rollup":"^2.26.4","rollup-plugin-bundle-size":"^1.0.3","rollup-plugin-peer-deps-external":"^2.2.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.27.2","typescript":"^3.9.7"},"dependencies":{"@googlemaps/js-api-loader":"^1.16.8","@types/google.maps":"^3.57.0","react-select":"^5.7.4","use-debounce":"^3.4.3"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0"},"_id":"@bergi/react-google-places-autocomplete@4.1.0","gitHead":"7b2b6a55064cd64c898253041c15a8705be09c63","types":"./build/index.d.ts","_nodeVersion":"20.15.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-jCsBv1spP0H3oA/kwC8vuZjzpoxrnQIaYcVX5x+ONDH4OBcH6YHQ/hwWLJig/G7iJnS9OR+lfCVaH7prRcnOCQ==","shasum":"04c5f14d2bcbf39c370cc31116244662a0177eee","tarball":"https://registry.npmjs.org/@bergi/react-google-places-autocomplete/-/react-google-places-autocomplete-4.1.0.tgz","fileCount":26,"unpackedSize":1346466,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFYCOtgq7ravZTEpU6Bfl8W+iXTIWZ2DFIncO41kpQRWAiEAz1/LX831Wyvjv+rcgAIulJhiwp7iaMVxkr4B8ZV7V3k="}]},"_npmUser":{"name":"bergi","email":"ircware@gmail.com"},"directories":{},"maintainers":[{"name":"bergi","email":"ircware@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-google-places-autocomplete_4.1.0_1732088261621_0.15537190003574675"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-20T07:37:41.509Z","4.1.0":"2024-11-20T07:37:41.829Z","modified":"2024-11-20T07:37:42.105Z"},"maintainers":[{"name":"bergi","email":"ircware@gmail.com"}],"description":"Google places autocomplete input for ReactJS.","homepage":"https://github.com/Tintef/react-google-places-autocomplete#readme","keywords":["react","google-places","places","autocomplete"],"repository":{"type":"git","url":"git+https://github.com/Tintef/react-google-places-autocomplete.git"},"author":{"name":"Nicolás Tinte"},"bugs":{"url":"https://github.com/Tintef/react-google-places-autocomplete/issues"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://tintef.github.io/react-google-places-autocomplete\" target=\"_blank\">\n    <img width=\"250\"src=\"https://raw.githubusercontent.com/tintef/react-google-places-autocomplete/master/docs/static/img/logo.svg\">\n  </a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/react-google-places-autocomplete\">\n    <img src=\"https://img.shields.io/npm/v/react-google-places-autocomplete.svg\"/>\n    <img src=\"https://img.shields.io/npm/dm/react-google-places-autocomplete.svg\"/>\n  </a>\n  <a href=\"https://travis-ci.org/tintef/react-google-places-autocomplete\">\n    <img src=\"https://www.travis-ci.com/Tintef/react-google-places-autocomplete.svg?branch=master\" />\n  </a>\n  <a href=\"https://packagequality.com/#?package=react-google-places-autocomplete\">\n    <img src=\"https://npm.packagequality.com/shield/react-google-places-autocomplete.svg\"/>\n  </a>\n  <a href=\"https://www.npmjs.com/package/react-google-places-autocomplete\">\n    <img src=\"https://img.shields.io/npm/l/react-google-places-autocomplete.svg\" alt=\"License\">\n  </a>\n</p>\n\n\n# React Google Places Autocomplete\n\nReact component for easily use Google Places Autocomplete\n\n\n## Getting started\n\nInstall the latest version:\n```sh\nnpm install --save react-google-places-autocomplete\n  or\nyarn add react-google-places-autocomplete\n```\n\nUse the component!\n```js\nimport React from 'react';\nimport GooglePlacesAutocomplete from 'react-google-places-autocomplete';\n\nconst Component = () => (\n  <div>\n    <GooglePlacesAutocomplete\n      apiKey=\"****\"\n    />\n  </div>\n);\n\nexport default Component;\n```\n\n**Coming from v2? Check the [migration guide](https://tintef.github.io/react-google-places-autocomplete/docs/v2-to-v3)**\n\n## Documentation\n\n[**Read The Docs**](https://tintef.github.io/react-google-places-autocomplete)\n\n## How to contribute?\n\n1. Fork this repo\n2. Clone your fork\n3. Code 🤓\n4. Test your changes\n\n    For this, I like to use [yalc](https://github.com/whitecolor/yalc), as it allows to emulate the process of using npm/yarn.\n\n    1. Install [yalc](https://github.com/whitecolor/yalc)\n    2. Build project with `yarn build` or `npm run build`\n    3. Publish the package with yalc: `yalc publish`\n    4. Add the package to your test project `yalc add react-google-places-automocomplete`\n    5. If needed, to update the package on your test project: `yalc update react-google-places-autocomplete`\n\n\n5. Submit a PR!\n\n\n<br />\n<br />\n<p align=\"center\">\n  Icons made by <a href=\"https://www.flaticon.com/authors/freepik\" title=\"Freepik\">Freepik</a> from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\">www.flaticon.com</a>\n</p>","readmeFilename":"README.md"}