{"_id":"@cswni/react-native-locale-detector","_rev":"6-15045598bbb21585131409b99d49493a","name":"@cswni/react-native-locale-detector","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@cswni/react-native-locale-detector","version":"1.0.0","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.0","gitHead":"b64834ed5a309db7dc9997b1237787d154f9627f","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-Lh7EN8js2srXrp5LcnrqYYR4STT9eTfBPp+ROpzdad0gQMEJ6ZP7CJaXemlMvDFkP/K/4vC061v/S1RQZ7XWIA==","shasum":"beb3b522e92a84b06b3eb4d3e1f81e5ab5990130","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.0.tgz","fileCount":12,"unpackedSize":18334,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmTlWgVQZxCpPcRxSAaENVd5waCzjxQ9CNxIP9BPXujgIhAIuE22syZM+REjcDCe7iqIkqTLunGtFW/0FMDc4NYqke"}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.0_1699510310961_0.6186657384243497"},"_hasShrinkwrap":false},"1.0.1":{"name":"@cswni/react-native-locale-detector","version":"1.0.1","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.1","gitHead":"7fd04361d78ce1fd49fd66d10c30db240d181191","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-PBI4DGQ2+hBMb2v7QGovNniNDv4dEznroRN5YG8/k07nzD1WMjuIce7yohZyIfCkg7Xwlybx0TrAkQ9XGkE6+g==","shasum":"159e675d8742d22db610d15cb7c6b599d56cac72","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.1.tgz","fileCount":12,"unpackedSize":18393,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7ubwowzWdcJXS4IxADnF4F190vfoGkabkfqslTf+4fgIhAOVA2CtOlnmBagvyMwI6lcBQb/lYyDSU0ITvoJev61is"}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.1_1699512055093_0.6557802949008082"},"_hasShrinkwrap":false},"1.0.2":{"name":"@cswni/react-native-locale-detector","version":"1.0.2","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.2","gitHead":"c727cce843dcf5fc548769e10e02764c8ba08242","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-IzsFgsxGPDRgVSAsNEYkf8iIUjMjjuk1VGFJucDS4Q8dq0qmkjFxO9lWY5M0JAZQOMotF+3T0BmWYTDOklRKfQ==","shasum":"d65ee5c4c948a47a5d5baa2cc93610b9e46fd97f","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.2.tgz","fileCount":12,"unpackedSize":18393,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjd5ZGwdcotsfd5+mmUVde70ZGzgQlOrUE2fcuiAHgsAiBAo8wmxKYP2SWjDs/A8FAYZfJeZR7pY20FgoffDRLscw=="}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.2_1699512609374_0.037903820706227886"},"_hasShrinkwrap":false},"1.0.3":{"name":"@cswni/react-native-locale-detector","version":"1.0.3","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.3","gitHead":"c30b81344c93f430cae9789c714ee15421566773","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-+SciCEfI4oByksxp/N+4ZWLlqX4f20gRz6TEn94GjSdMB8H1mMZye6tunUHqCvBg07vqX1HXC0wSLIkgzVacAA==","shasum":"558c4fab66ac70d43f8493fd90c28e98d008bdb8","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.3.tgz","fileCount":12,"unpackedSize":18430,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHG9l0PJroWx9iRIcJQIT0Mj7ByoZcYIHcIWWBGvAcI+AiEA8M1BY1ZuC5i8oS37YyEyqccFuNovkteCiVggCnxvH0I="}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.3_1699512898612_0.3580586078447887"},"_hasShrinkwrap":false},"1.0.4":{"name":"@cswni/react-native-locale-detector","version":"1.0.4","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.4","gitHead":"65e0ad82435cc6676e3a202260f17366aa44e42e","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-moKDeIJCttbq1bFb8NscDay0oPIlsJqsMzfE5h+9a/UR+xRpTWxmxWtvZy+03VQaIT/vU6oPkm37ZA+pcPX0UQ==","shasum":"328837add8cd3781d78d2930d936481dafd8a65c","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.4.tgz","fileCount":12,"unpackedSize":18429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqTYuLlNtWhELti9eQtWy2zrss4GXPI+IF5c8FF+m7ZAiBIJpuk9IO0WAErORzhMQif9WzCPcNe9nmomonD96QSgA=="}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.4_1699513262442_0.4336213298475393"},"_hasShrinkwrap":false},"1.0.5":{"name":"@cswni/react-native-locale-detector","version":"1.0.5","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.5","gitHead":"323b9f0f5f5df6301b844389811e466804e17f64","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-QXV6A0eT/Ndb2htHfoJQLgyBkwbtsWE5c+rRNCie1maPz3WnSTx5z9GgK6QBYAKCRVQm4BGVbfZKIb/f1eQSKw==","shasum":"0014431937643eaf67739105674c0d9399a9909d","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.5.tgz","fileCount":12,"unpackedSize":18408,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgtyJ+ZJDo6AICsswrdruRnfowhyb8VKtMkiciCPt3lAiBaeuCK8sGMBEilNxJxzAcgm+H90Yp+iBPv08oWtbwMrA=="}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.5_1699513601771_0.5157005990428887"},"_hasShrinkwrap":false},"1.0.6":{"name":"@cswni/react-native-locale-detector","version":"1.0.6","description":"Detects the locale of a user's phone.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"keywords":["android","i18n"],"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"license":"MIT","bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"homepage":"https://github.com/cswni/react-native-locale-detector#readme","_id":"@cswni/react-native-locale-detector@1.0.6","gitHead":"385d149ed4cc89c9892a099c31cd202fc1be8b3e","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-PR23cH5jLzIgHasIxprvGQ9ZMLM6fgaQQlcqx4sLBEoSNLkI55gsHkQbRxE3G8LIiHvScC2LVYrXZ/fHAeZLbA==","shasum":"30339ddab40d13b10b8bfa7f61feeb0a34aa2abe","tarball":"https://registry.npmjs.org/@cswni/react-native-locale-detector/-/react-native-locale-detector-1.0.6.tgz","fileCount":12,"unpackedSize":18416,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlJYUE6mHndtcjFaQIWNIBbFfIESMmrigaKozBJQx4IAIgHNjzgZhxRNMR1nM50LanN5RrW6BpcJL4MFIkjLw6aJ8="}]},"_npmUser":{"name":"cswni","email":"descarlos2013@gmail.com"},"directories":{},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-locale-detector_1.0.6_1699513969129_0.3208491118048049"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-09T06:11:50.866Z","1.0.0":"2023-11-09T06:11:51.180Z","modified":"2023-11-09T07:12:49.553Z","1.0.1":"2023-11-09T06:40:55.281Z","1.0.2":"2023-11-09T06:50:09.587Z","1.0.3":"2023-11-09T06:54:59.007Z","1.0.4":"2023-11-09T07:01:02.694Z","1.0.5":"2023-11-09T07:06:41.951Z","1.0.6":"2023-11-09T07:12:49.369Z"},"maintainers":[{"name":"cswni","email":"descarlos2013@gmail.com"}],"description":"Detects the locale of a user's phone.","homepage":"https://github.com/cswni/react-native-locale-detector#readme","keywords":["android","i18n"],"repository":{"type":"git","url":"git+https://github.com/cswni/react-native-locale-detector.git"},"author":{"name":"Dylan Vann","email":"dylan.vann@gmail.com","url":"dylanvann.com"},"bugs":{"url":"https://github.com/cswni/react-native-locale-detector/issues"},"license":"MIT","readme":"# react-native-locale-detector\n\nDetects the locale of a user's phone.\nBased on [react-native-i18n](https://github.com/AlexanderZaytsev/react-native-i18n), but this just exports the device's locale. This isn't particularly useful on it's own and you'll probably want to use it with an i18n library like [i18next](https://github.com/i18next/i18next).\n\n## Installation\n\n```\nnpm install react-native-locale-detector --save\nreact-native link\n```\n\n## Usage\n\n```javascript\n// Import the locale.\nimport locale from 'react-native-locale-detector'\n\n// We could log it. Maybe it's en-US...\nconsole.log(locale)\n\n// Or if you're using a localization library.\nyourLocalizationLibrary.setLocale(locale)\n```\n","readmeFilename":"README.md"}