{"_id":"@dhavalorg/react-native-my-location-app","name":"@dhavalorg/react-native-my-location-app","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.3":{"name":"@dhavalorg/react-native-my-location-app","version":"0.1.3","description":"Retun location from native modules","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/dhavallogistic/react-native-my-location-app.git"},"author":{"name":"Dhaval Mehta","email":"dhavalmehta@logisticinfotech.co.in","url":"https://github.com/dhavallogistic"},"license":"MIT","bugs":{"url":"https://github.com/dhavallogistic/react-native-my-location-app/issues"},"homepage":"https://github.com/dhavallogistic/react-native-my-location-app#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.2.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.0.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"^17.0.2","react-native":"^0.68.2","react-native-builder-bob":"^0.18.2","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":"^17.0.2","react-native":"^0.68.2"},"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"}]]},"directories":{"example":"example"},"gitHead":"eba22830fed7afa7844338f1539b42db4fa21741","_id":"@dhavalorg/react-native-my-location-app@0.1.3","_nodeVersion":"17.2.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-egmmQwEhhlw6MywDhgyXs60nGy2K6KaEBu03YCEYSO9wxxJjJTv/TzC2dRStOVGs3WAzENp+FanYH0zO1tSaSA==","shasum":"e8e613481f9b881bc45c83619e4c8dc478d77ec7","tarball":"https://registry.npmjs.org/@dhavalorg/react-native-my-location-app/-/react-native-my-location-app-0.1.3.tgz","fileCount":86,"unpackedSize":263325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1MmHVdlG9CUZM8YQXe6jwonsNpEvGPHqcj0yn+S/sOgIhANBA4JQ3pWXSzZLWaIZBfJkfKmWvSEsr9ZrrtyILY8Yu"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiovCaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofLg/8Cw3LkqypkIZWutj5lcnheiqanlHC43TY5BPHs4DWFIEhzhxj\r\n8Jghb1+hi0Yc0ffs0p1zZBarUEtLBDbLalzyb1muNuCESTv2WkRBSDdekyhS\r\nUOh1WcMGL25rRsY8iSjvoe++HUA4fghThgHsHw98GmaSY38HnO+dDoEzWrxt\r\nobYz5a7tMuoFX2Yyq4lsbuPYl761IZ5y0EIgIzhzi6yLz5b4Ctx5ea3taikD\r\nInXpXU1XdbmQVofrd9S4gI5x3qgzjg8nqH1dqklDYv1pohMgnLuFt5vuu2ms\r\nXz2xubh+aazdoRTOzi2/nAFMb3eeGCNkHa7PM7iV9c5hvZv1/wEiREK4K9cL\r\nXteeOU2KM8q9pSLvX85dHoGZl/xJB50fluXRtQVtgzXGOYgBBJYjsIqEdrSM\r\nxsaQ9vHJQMgWpme6y1foPQUTPH040i19aldwBUVNLLo/S5fyjZCmePVlu6Vz\r\nY/yqgvDmRXfxYVvmN1CR2Rh8sN4XZAIQzPouay7ZTzlFEX8HlL3UDHSHxdZF\r\nsa/QsslHpjeiz+Sm4oXSpWR9hOG+AKAb8MesYmn8Gyt0VMgR8qo1JlmONwZq\r\nZ/Lb8pnds7lYCJwMqWpp0bMxF3br7CIQ+Va26u1NflKzJjdiiDgKGygQMKO/\r\n0fiZ69XeytDICd8+SIRxvW/tRfzLfvLlXCk=\r\n=Lhs1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dhavalmehta","email":"dhavalmehta@logisticinfotech.co.in"},"maintainers":[{"name":"dhavalmehta","email":"dhavalmehta@logisticinfotech.co.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-my-location-app_0.1.3_1654845594394_0.43333878645078716"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-10T07:19:54.339Z","0.1.3":"2022-06-10T07:19:54.586Z","modified":"2022-06-10T07:19:54.744Z"},"maintainers":[{"name":"dhavalmehta","email":"dhavalmehta@logisticinfotech.co.in"}],"description":"Retun location from native modules","homepage":"https://github.com/dhavallogistic/react-native-my-location-app#readme","keywords":["react-native","ios","android"],"repository":{"type":"git","url":"git+https://github.com/dhavallogistic/react-native-my-location-app.git"},"author":{"name":"Dhaval Mehta","email":"dhavalmehta@logisticinfotech.co.in","url":"https://github.com/dhavallogistic"},"bugs":{"url":"https://github.com/dhavallogistic/react-native-my-location-app/issues"},"license":"MIT","readme":"# react-native-my-location-app\n\nNo need to use Native modules anymore.\nNo need to generate Google API key for geocoding functionality in react-native anymore.\nThis lib returns the Address/Lat-Lang WITHOUT using GOOGLE API key\n\n## Installation\n\n```sh\nnpm install react-native-my-location-app\n```\n\n## Usage\n\n```js\nimport { getLocationFromAddress, getAddressFromLocation } from \"react-native-my-location-app\";\n\n// ...\n\nconst result = await getLocationFromAddress(\"Ma****ar chowk, Ra****\"); // String\n// ...\nconst result1 = await getAddressFromLocation(*2.33*****, *0.76*****); // Double\n```\n\n\n## Response of\n\n> : `\"getLocationFromAddress\"`\n\n```js\n{\n  \"result\": {\n    \"lattitude\": *2.3*****,\n    \"longitude\": *0.7*****\n  }\n}\n```\n> : `\"getAddressFromLocation\"`\n\n```js\n{\n  \"result\": {\n    \"adminArea\": \"**j**at\",\n    \"city\": \"***ko**\",\n    \"state\": \"**j**at\",\n    \"country\": \"India\",\n    \"countryCode\": \"IN\",\n    \"feature\": \"8*****9F\",\n    \"formattedAddress\": \"Ma*****, ****, ****006, India\",\n    \"locality\": \"***ko**\",\n    \"position\": {\n      \"lat\": \"2.3*****\",\n      \"lng\": \"0.7*****\"\n    },\n    \"postalCode\": \"***00**\",\n    \"streetName\": \"\",\n    \"streetNumber\": \"\",\n    \"subAdminArea\": \"***ko**\",\n    \"subLocality\": \"****ap**\"\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","readmeFilename":"README.md"}