{"_id":"@brandensmith_/react-native-geocode","_rev":"2-1c83187e7758acd6d9b7b119d8a9bc36","name":"@brandensmith_/react-native-geocode","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@brandensmith_/react-native-geocode","version":"0.1.0","description":"test","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","bootstrap":"yarn example && yarn install && yarn example pods","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/brandenesmith/react-native-geocode.git"},"author":{"name":"Branden Smith","email":"smith.brandene@gmail.com","url":"https://github.com/brandenesmith"},"license":"MIT","bugs":{"url":"https://github.com/brandenesmith/react-native-geocode/issues"},"homepage":"https://github.com/brandenesmith/react-native-geocode#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@evilmartians/lefthook":"^1.2.2","@commitlint/config-conventional":"^17.0.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.71.6","react-native-builder-bob":"^0.20.4","release-it":"^15.0.0","typescript":"^4.5.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"0e1917d1ce6416c37f5858514a69e0e9d7a0bca7","_id":"@brandensmith_/react-native-geocode@0.1.0","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-UHE5xnva5kYKkCMuJ/8/GyEWmhQcmhhGRizPT608cCE3m9iJDE94JR6lcr/cfPqtoHb0eRQTm0LRPuRLZtA4lg==","shasum":"dba08eb46bc1d7ee1dae2cb38b46da4f65db0a24","tarball":"https://registry.npmjs.org/@brandensmith_/react-native-geocode/-/react-native-geocode-0.1.0.tgz","fileCount":20,"unpackedSize":32701,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID4n6LO1JmDQZdHwaKQsxDGS7/dbsg60jpiJjqJzSHkkAiBRyVpVRhzOqq94QRcLYHcKJLCxmbpyVPmHZJEmG8xoDw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPKPrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWrg/9GQ9Feb6qAIBBmoBzLeMuVx9LJ7dUlPs6JegGrlwsi2+qGhBb\r\nP1sGHsHIi9FkgHZkMxr5TQV1dfKo9rPlrj0PuEMFFKcwcMRip29TEvKUdUdG\r\n/Ye0gU/Bt2lLtYzISK1fEDfJS6LkrXmRDVskn4OrXVnmy03Xdx2HdxchICyx\r\now9OI2ZjIs+FNeAfcBLKmf2QfxoxnS7LjDaKzT2HQ+aHEoFhqh5iEP0d0/pt\r\n+37cKUryUE33l6jKQ6vE/mKfEIsTqpwQQWLsVfXCvzEbPh3zsncST/dQuO+T\r\nrA550wtcAykfW7/+NyhYqvX6/mpd/3VQsiX18ZCIAFSGqM/cHa3oLFNnD5hX\r\nDcGlKUAPI5vTL8O8r6nQKwfsNnCLCWpuUTFxicnDL/lrxI/1JWEtMGkBpcv7\r\nEXA+XDznRdp+6FVSQc7PkZF6+CMdVdvwIlgURwkfTOgxAvmSkGxBl4GMdO6s\r\nYgkx82g1KIgw8VaVDicEjtIxLVTiYasekCm3RxlQiaz4HKKbWmVQ/fs1jD+N\r\n3CzJ2DHsOn6RjG8HPXrxuKwnfmNxq9oWPMFmMVq6jgr11fF1t6lh2gx7PNUm\r\niqJ1LG7wDyNJHhaP0XyT2J3aoZLNRyk5/vkS7UCX4OxGD9HL7YwR9dMZm0Ak\r\n2M/rzoQCnrqPMmkMdqYl+2t9Ec65WG5JPVM=\r\n=V3yZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandensmith_","email":"smith.brandene@gmail.com"},"directories":{},"maintainers":[{"name":"brandensmith_","email":"smith.brandene@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-geocode_0.1.0_1681695723349_0.9218941492646986"},"_hasShrinkwrap":false},"0.1.1":{"name":"@brandensmith_/react-native-geocode","version":"0.1.1","description":"test","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","bootstrap":"yarn example && yarn install && yarn example pods","clean":"del-cli android/build example/android/build example/android/app/build example/ios/build"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/brandenesmith/react-native-geocode.git"},"author":{"name":"Branden Smith","email":"smith.brandene@gmail.com","url":"https://github.com/brandenesmith"},"license":"MIT","bugs":{"url":"https://github.com/brandenesmith/react-native-geocode/issues"},"homepage":"https://github.com/brandenesmith/react-native-geocode#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@evilmartians/lefthook":"^1.2.2","@commitlint/config-conventional":"^17.0.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.71.6","react-native-builder-bob":"^0.20.4","release-it":"^15.0.0","typescript":"^4.5.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":"*","react-native":"*"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"gitHead":"0cd376c99099f56576546d36be0aa00df6e37b88","_id":"@brandensmith_/react-native-geocode@0.1.1","_nodeVersion":"19.8.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-4ibE/XaUxTCJVrZoOn3XyD/WjY8ZkvZs5laShFIPfvfTvZ4DpVeL9EF0RNz68Ia3uF2P+2rMEhmW6/E2tf0FqQ==","shasum":"d7d97f3eb2ebe3a9c2eb67045fad8eff08fc2ea9","tarball":"https://registry.npmjs.org/@brandensmith_/react-native-geocode/-/react-native-geocode-0.1.1.tgz","fileCount":20,"unpackedSize":32780,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcJi1ftfOuHSXFTLBQezOBlV18wZr7z+C/5ay97/f8/wIgTHQ4Hmlsk+w5vmgeeeDlTDmYd30WFpJFjEjKsSY8k1w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPKwMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSUg//VDgXmEkkAlQ/1cSUts8uA66Y6NB/1cvUx7YNDpEf/YIdTMKQ\r\nV7OEj3k/rXu76Mx97LvgrtL2uAzpYagqb75JCIhLvX+B/MZl459LRmrUJLjb\r\nVj3HmjhmWGSjgz0lYE8U9wum9evPQdYyDM7PO1n5B/r2MUk+Hwzbw9GHy0Z+\r\nBI1ZmEn8aOtI/Lak8htoOO9AmDMJTJxvkcV1r6x1rgGoFiO037v1pukkAZQd\r\njpqyKaMi8zkoTbN7V1dsRWSqtTbF+GHVd98RmidjM/0PDnUXnThQoH7vjO81\r\nprR8zAy6/aQG5FdKNUKzxlg9O5sPT2bGK0xYOb5RDXQ4Vaqh+HAW2b3KWIMm\r\n3iSm4Vz6tUf138Y+VIC1xok5UlPnewokFi+Lcbuyb6i3ilJfwL34exnL8NpZ\r\nLTUV2uHcgYmet5QtpQlkYatHOmyGQr4O1iCm/a5WnxBd/jWstaJ2Q60AWRVz\r\nJ0/h+1N3qGao6tz1alyTxUexnVTEy6TKlZJJONSlVDS1l286EDc+twSGuJdo\r\n0zlUDcB6B2Q92ypQlAnOPVhs3aksh5eK7l5LyAE8SRlUV1Yg3/piiD9HfLHf\r\n6Knrcc+JIU5zzIz49O01CEntKfyDBRDT0G0Yu9dUo/dr8Uy0HgqDVv5X6+8V\r\nyOuA2umKJ3PlqhHuJDQsZw+23mPRjindEO4=\r\n=2rNw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"brandensmith_","email":"smith.brandene@gmail.com"},"directories":{},"maintainers":[{"name":"brandensmith_","email":"smith.brandene@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-geocode_0.1.1_1681697804311_0.13251800294827998"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-17T01:42:03.349Z","0.1.0":"2023-04-17T01:42:03.495Z","modified":"2023-04-17T02:16:44.635Z","0.1.1":"2023-04-17T02:16:44.518Z"},"maintainers":[{"name":"brandensmith_","email":"smith.brandene@gmail.com"}],"description":"test","homepage":"https://github.com/brandenesmith/react-native-geocode#readme","keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/brandenesmith/react-native-geocode.git"},"author":{"name":"Branden Smith","email":"smith.brandene@gmail.com","url":"https://github.com/brandenesmith"},"bugs":{"url":"https://github.com/brandenesmith/react-native-geocode/issues"},"license":"MIT","readme":"# @brandensmith\\_/react-native-geocode\n\nA NativeModule to interact with native Geocode APIs in React Native\n\n## Installation\n\n```sh\nnpm install @brandensmith_/react-native-geocode\n```\n\n## Usage\n\n```js\nimport {\n  getAddressFromGeopoint,\n  getCoordinateFromAddressString,\n} from '@brandensmith_/react-native-geocode';\n\n// ...\n\nconst [currentAddress, setAddress] = React.useState < string > 'none';\nconst [currentGeopoint, setGeopoint] = React.useState < string > 'none';\n\nconst getAddress = () => {\n  getAddressFromGeopoint({\n    latitude: 37.331656,\n    longitude: -122.0301426,\n  })\n    .then((address) => {\n      setAddress(\n        `${address.street1}\\n${address.city}, ${address.state} ${address.postalCode}\\n${address.country}`\n      );\n    })\n    .catch((error) => {\n      console.log(error);\n    });\n};\n\nconst getGeopoint = () => {\n  getCoordinateFromAddressString('1 infinite Loop, Cupertino, CA')\n    .then((geopoint) => {\n      setGeopoint(`Lat: ${geopoint.latitude}, Long: ${geopoint.longitude}`);\n    })\n    .catch((error) => {\n      console.log(error);\n    });\n};\n\n// ...\n```\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n\n---\n","readmeFilename":"README.md"}