{"_id":"@anil-labs/google-places-autocomplete-solid","name":"@anil-labs/google-places-autocomplete-solid","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@anil-labs/google-places-autocomplete-solid","version":"0.2.0","type":"module","description":"Solid address autocomplete component built on Google's Places API (New).","license":"MIT","author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","repository":{"type":"git","url":"git+https://github.com/anilkumarthakur60/google-places-autocomplete.git","directory":"packages/solid"},"homepage":"https://github.com/anilkumarthakur60/google-places-autocomplete/tree/main/packages/solid#readme","bugs":"https://github.com/anilkumarthakur60/google-places-autocomplete/issues","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"dependencies":{"@anil-labs/google-places-autocomplete-core":"^0.2.0"},"peerDependencies":{"solid-js":"^1.8.0"},"devDependencies":{"@solidjs/testing-library":"^0.8.10","esbuild-plugin-solid":"^0.6.0","jsdom":"^29.0.2","solid-js":"^1.9.14","tsup":"^8.5.1","typescript":"~6.0.0","vite-plugin-solid":"^2.11.13","vitest":"^4.1.10"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"scripts":{"clean":"rm -rf dist","build":"tsup && node --conditions=browser scripts/check-dist.mjs","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","lint":"eslint ."},"_nodeVersion":"24.18.0","_id":"@anil-labs/google-places-autocomplete-solid@0.2.0","dist":{"integrity":"sha512-vOgaqIH3OyZgW+yH0Qjk8HISNSkoh9+cNBtYIxYecgVv9IP8BylWF4vUtAlxy0Bz5ELYWv4hoTA+sOFnr4V0QQ==","shasum":"57f5c09441528601b53642ab756f42b159183750","tarball":"https://registry.npmjs.org/@anil-labs/google-places-autocomplete-solid/-/google-places-autocomplete-solid-0.2.0.tgz","fileCount":9,"unpackedSize":48069,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICaO5OlChdp39ZXMBJ0zGOpQFxhmsgNjW4/K9b0ApK1JAiEApY5H4Rac2fDW17gb80d+kHzFsXyTFmlKHdYA92CK2/M="}]},"_npmUser":{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"},"directories":{},"maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/google-places-autocomplete-solid_0.2.0_1785342372151_0.015142800018929092"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-29T16:26:11.908Z","0.2.0":"2026-07-29T16:26:12.310Z","modified":"2026-07-29T16:26:12.617Z"},"maintainers":[{"name":"anilkumarthakur","email":"anilkumarthakur60@gmail.com"}],"description":"Solid address autocomplete component built on Google's Places API (New).","homepage":"https://github.com/anilkumarthakur60/google-places-autocomplete/tree/main/packages/solid#readme","repository":{"type":"git","url":"git+https://github.com/anilkumarthakur60/google-places-autocomplete.git","directory":"packages/solid"},"author":"Er. Anil Kumar Thakur <anilkumarthakur60@gmail.com>","bugs":"https://github.com/anilkumarthakur60/google-places-autocomplete/issues","license":"MIT","readme":"# @anil-labs/google-places-autocomplete-solid\n\nSolid address autocomplete component built on Google's Places API (New).\n\n## Install\n\n```sh\nnpm install @anil-labs/google-places-autocomplete-solid\n```\n\n## Usage\n\n```tsx\nimport { PlacesAutocomplete } from '@anil-labs/google-places-autocomplete-solid'\nimport '@anil-labs/google-places-autocomplete-core/styles.css'\nimport type { PlaceDetails } from '@anil-labs/google-places-autocomplete-core'\n\nexport function App() {\n  return (\n    <PlacesAutocomplete\n      apiKey=\"YOUR_API_KEY\"\n      placeholder=\"Search for an address…\"\n      onSelect={(place: PlaceDetails) => console.log(place.formattedAddress)}\n      onError={(error) => console.error(error)}\n    />\n  )\n}\n```\n\nFull documentation: [Solid guide](https://anilkumarthakur60.github.io/google-places-autocomplete/guide/frameworks/solid) · [getting started](https://anilkumarthakur60.github.io/google-places-autocomplete/guide/getting-started) (Google Cloud setup) · [API reference](https://anilkumarthakur60.github.io/google-places-autocomplete/api/core).\n\n## Props\n\nAll [`PlacesAutocompleteConfig`](https://anilkumarthakur60.github.io/google-places-autocomplete/api/core#placesautocompleteconfig) fields, plus `value`/`onValueChange` (controlled input), `onSelect`, `onError`, `placeholder`, `class`. `apiKey`/`debounceMs`/etc. are read once at construction — remount to change them.\n\n## License\n\nMIT © Er. Anil Kumar Thakur\n","readmeFilename":"","_rev":"1-d834fe458e3ff716e08ab95c6c290aba"}