{"_id":"@bozzhik/is-mobile","_rev":"3-aad11e813731130a8220bc54633953fa","name":"@bozzhik/is-mobile","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@bozzhik/is-mobile","license":"MIT","version":"0.1.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup index.ts --format cjs,esm --dts","lint":"tsc"},"devDependencies":{"@changesets/cli":"^2.27.1","tsup":"^8.0.2","typescript":"^5.4.3"},"_id":"@bozzhik/is-mobile@0.1.0","gitHead":"25a98adf71fc622168854635027b069188a72bb6","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-ddCJTMbxNqzObn+Ykiji1PpmhY3Y0at6gF/OdkCJTlD62OgHMYRS2R6k8hMG7FUpBBhPFC7RXYXAlhcgYRgfhg==","shasum":"d2bf6002053916566fc0df0842a412e3183cde74","tarball":"https://registry.npmjs.org/@bozzhik/is-mobile/-/is-mobile-0.1.0.tgz","fileCount":8,"unpackedSize":3085,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPF9eWgsJ1RW/BXflAJGD7B5+H9pqFrZ88ViLCpTuuuAiAnzAKw133uIonTfHac+QNSjMLIX9+/MP8NMdkKPHcUrA=="}]},"_npmUser":{"name":"bozzhik","email":"bozzhik@ya.ru"},"directories":{},"maintainers":[{"name":"bozzhik","email":"bozzhik@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-mobile_0.1.0_1712111443239_0.35750314484242773"},"_hasShrinkwrap":false},"1.0.0":{"name":"@bozzhik/is-mobile","license":"MIT","version":"1.0.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup index.ts --format cjs,esm --dts","lint":"tsc"},"devDependencies":{"@changesets/cli":"^2.27.1","tsup":"^8.0.2","typescript":"^5.4.3"},"_id":"@bozzhik/is-mobile@1.0.0","gitHead":"c8fc8656d2b5ca72d7af82c173a286ee08ad38b9","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-URGJnMhMbsK9IK/O+hmvh2S1PicLS4hzb2K9qypXX5BHHH41T2bjHil3z7jdLOs5x2qKSjx18tW4SgdcWBNsUw==","shasum":"2b946be66e3b0dabb71c45f2896ddb5cafb2609b","tarball":"https://registry.npmjs.org/@bozzhik/is-mobile/-/is-mobile-1.0.0.tgz","fileCount":8,"unpackedSize":3203,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSWzYfAxhLz7RZotbwAI53J0evmDSSAwnsM/5W9326ZQIhALZLv3aqVdupmklcqyd6PIltjp7T8Ver51MqWFIZpsov"}]},"_npmUser":{"name":"bozzhik","email":"bozzhik@ya.ru"},"directories":{},"maintainers":[{"name":"bozzhik","email":"bozzhik@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-mobile_1.0.0_1712112627321_0.41993180210487235"},"_hasShrinkwrap":false},"1.1.0":{"name":"@bozzhik/is-mobile","license":"MIT","version":"1.1.0","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup index.ts --format cjs,esm --dts","lint":"tsc"},"devDependencies":{"@changesets/cli":"^2.27.1","tsup":"^8.0.2","typescript":"^5.4.3"},"_id":"@bozzhik/is-mobile@1.1.0","gitHead":"e1fc0ce94406050c06519224ae4eb2db2ee248f7","description":"Check if current devise is `mobile` or not.","_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-YbASQepc2tSK7DwNkYwAGmBhsa0Ra1xcncp6o+Nx5CkR5Au5yK8ifViGvcoJuGzoUAAQ39AT+PGapq8h708kMg==","shasum":"0f712493f3ad7dfbbd16bd983f9c4743c51097db","tarball":"https://registry.npmjs.org/@bozzhik/is-mobile/-/is-mobile-1.1.0.tgz","fileCount":10,"unpackedSize":3789,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDCjWfz0Y0DPHB9dL+PRGhXNJXDIjnnisYpS2uXNHXRwwIgJh6WssbjGYdKvP4cI1Ui5/mlceYeAPjazdbeie46Qbw="}]},"_npmUser":{"name":"bozzhik","email":"bozzhik@ya.ru"},"directories":{},"maintainers":[{"name":"bozzhik","email":"bozzhik@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-mobile_1.1.0_1712113797545_0.5442789053856567"},"_hasShrinkwrap":false},"0.1.1":{"name":"@bozzhik/is-mobile","version":"0.1.1","license":"MIT","author":{"name":"bozzhik"},"description":"NPM package for detecting mobile devices in web applications.","homepage":"https://github.com/bozzhik/is-mobile","repository":{"url":"git+https://github.com/bozzhik/is-mobile.git"},"keywords":["mobile","desktop","check","browser","is-mobile","user-agent","responsive"],"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","scripts":{"build":"tsup src/index.ts --format cjs,esm --dts","lint":"tsc"},"devDependencies":{"@changesets/cli":"^2.27.1","tsup":"^8.0.2","typescript":"^5.4.3"},"_id":"@bozzhik/is-mobile@0.1.1","gitHead":"4578e84428e31f09d14d8839de4f8e91397ee450","bugs":{"url":"https://github.com/bozzhik/is-mobile/issues"},"_nodeVersion":"20.12.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-b+BVf3EiYIiJFHD5ZBRBeGwBJ1Y0QZhyK0WpgNUofdzooBLZWAWuXaBr/OHyg7kxJOHhSu5sgRo07mudrJOMcQ==","shasum":"51d3df59b44f1c237631ada49c70c5ecf8de8c48","tarball":"https://registry.npmjs.org/@bozzhik/is-mobile/-/is-mobile-0.1.1.tgz","fileCount":6,"unpackedSize":2682,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBTG9PntuDo8p+QUOYQYRW+OjqJoOoudgZcQ3PglFoTrAiEAnTgYFc+PQGKdKCjMXcrmcyyybOuheMnamyVFNKUHqso="}]},"_npmUser":{"name":"bozzhik","email":"bozzhik@ya.ru"},"directories":{},"maintainers":[{"name":"bozzhik","email":"bozzhik@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-mobile_0.1.1_1712260848282_0.957788215207267"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-03T02:30:43.131Z","0.1.0":"2024-04-03T02:30:43.420Z","modified":"2024-04-04T20:00:48.686Z","1.0.0":"2024-04-03T02:50:27.496Z","1.1.0":"2024-04-03T03:09:57.761Z","0.1.1":"2024-04-04T20:00:48.527Z"},"maintainers":[{"name":"bozzhik","email":"bozzhik@ya.ru"}],"license":"MIT","readme":"# Overview\r\n\r\nThe `@bozzhik/is-mobile` variable is a utility designed to determine whether the current device is considered mobile, based on browser identification.\r\n\r\n## Installation\r\n\r\nTo install the `isMobile` variable, you can use npm:\r\n\r\n```bash\r\nnpm install @bozzhik/is-mobile\r\n```\r\n\r\n## Example\r\n\r\nIn this case, the desired component will be drawn based on the `device`:\r\n\r\n```tsx\r\nimport {isMobile} from '@bozzhik/is-mobile'\r\n\r\nfunction Component() {\r\n  return isMobile ? <Mobile /> : <Desktop />\r\n}\r\n```\r\n","readmeFilename":"README.md","description":"NPM package for detecting mobile devices in web applications.","homepage":"https://github.com/bozzhik/is-mobile","keywords":["mobile","desktop","check","browser","is-mobile","user-agent","responsive"],"repository":{"url":"git+https://github.com/bozzhik/is-mobile.git"},"author":{"name":"bozzhik"},"bugs":{"url":"https://github.com/bozzhik/is-mobile/issues"}}