{"_id":"use-mobile-detect-hook","_rev":"6-501580f2a4189812ef8bab538ab29aba","name":"use-mobile-detect-hook","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"use-mobile-detect-hook","version":"1.0.0","description":"The React hook to detect if the device is mobile or desktop.","main":"src/index.js","scripts":{"test":"jest --coverage","test-watch":"jest --watchAll --coverage","lint":"./node_modules/eslint/bin/eslint.js --ext js,jsx src","lint-fix":"./node_modules/eslint/bin/eslint.js --ext js,jsx src --fix","format:check":"prettier --config ./.prettierrc --list-different \"src/**/*{.ts,.js,.json,.css,.scss}\"","format:fix":"pretty-quick --staged"},"peerDependencies":{"react":"^16.7.0-alpha.0"},"husky":{"hooks":{"pre-commit":"npm run test && npm run format:fix && npm run lint"}},"devDependencies":{"eslint":"^5.8.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.6.2","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","husky":"1.1.2","jest":"^23.6.0","prettier":"1.14.3","pretty-quick":"^1.8.0","react":"^16.7.0-alpha.0"},"engines":{"node":">=8","npm":">=5"},"keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","gitHead":"5ea194851d45e553ea2cf46cf8d00193f5e75478","_id":"use-mobile-detect-hook@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"},"dist":{"integrity":"sha512-4ByJGweqE5E2UFq62MC09PsVAEzih0uWrzHDwJ9CnNk/o1BzPlpLvW/UQg121g5zmFbCwtaDg6dzaz12SfZ+gQ==","shasum":"53d624d136fd9fa915c16d3b18b83b42c57d3580","tarball":"https://registry.npmjs.org/use-mobile-detect-hook/-/use-mobile-detect-hook-1.0.0.tgz","fileCount":3,"unpackedSize":3089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3K1lCRA9TVsSAnZWagAABBkP/jrFB5JMoTNjrWHiw0v9\nDB0NxmV7DyIeYhIFztHOV1061w6Q3HEmDE40b/e7r6tcUe+eNu7wkTz+m94F\nuOmLY9tPySVphjf+dGwK0rMG967FbTDvDyNlv0uqVHvIArQ5cc0a0dEFSQbQ\niBALDlbETARhNu7hRCWzgxcOaUaC/f+DyOnsdo7i6DPYy2l/Hrdu9j40ywQV\nVQx2kH/c/dbuLgxaiKNokYVhtTlsYK3FiB5VtRr7yWKBoqjSOwgDtAFrxVho\nD2Pwdgc8o4fOVUUeKm4XOryGMSy0l8x6EORVko7zHs8Nqqob+mQf42PrzWSQ\nKzMLuEdyGIdFRHsNagZ+Iyb07bj4GcgScnJb1HnoNWQtqCs9NqWNfL7JOxCf\nQuKDmgAIjHill6TPVZfkCi/Yy0Xo9bPYMPYle80bCG1zOSKhrdVdWnvO5lCg\nbXLiWzDa2dBHMz0nEZ6DBtOu81/A3P8jIIspMMVXNuBtubN8EGns/NM94jls\nbc5WbjhfQRGIjlRn8jv3MG0RsUY8ysoRPbhfMRztJLP4+vwEG9EE46L1gd/Q\ncLEw0GkmJI23ORrjYIAPfV3gv4h1bQM9JZgLA5eR5q80lEOPDNNXF9yE5JMx\nTrEC4HqjX97LOI9KwiZtCb8e3F8AqolM7lBjp5stEpaNwPp5Lnn3MKfVb6DJ\nlDx9\r\n=M1SO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbNToD1d/EjnHsDJUdzjxjTOxForEu0A58kBcGRfbMjAIgAxZ/+d90YGg4ekz/slpH/MMq8L36AMtt7gK41G1FVxo="}]},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-mobile-detect-hook_1.0.0_1541188965193_0.4007718146171759"},"_hasShrinkwrap":false},"1.0.1":{"name":"use-mobile-detect-hook","version":"1.0.1","description":"The React hook to detect if the device is mobile or desktop.","main":"src/index.js","scripts":{"test":"jest --coverage","test-watch":"jest --watchAll --coverage","lint":"./node_modules/eslint/bin/eslint.js --ext js,jsx src","lint-fix":"./node_modules/eslint/bin/eslint.js --ext js,jsx src --fix","format:check":"prettier --config ./.prettierrc --list-different \"src/**/*{.ts,.js,.json,.css,.scss}\"","format:fix":"pretty-quick --staged"},"peerDependencies":{"react":"^16.7.0-alpha.0"},"husky":{"hooks":{"pre-commit":"npm run test && npm run format:fix && npm run lint"}},"devDependencies":{"eslint":"^5.8.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.6.2","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","husky":"1.1.2","jest":"^23.6.0","prettier":"1.14.3","pretty-quick":"^1.8.0","react":"^16.7.0-alpha.0"},"engines":{"node":">=8","npm":">=5"},"keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","gitHead":"eef6d7dc50c1564ce074e428e48b575cd1c68ff6","_id":"use-mobile-detect-hook@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"},"dist":{"integrity":"sha512-6uyhslNlwBMwNbamqnnDnCBc77NEtcNtosmYx6uV2hcYPBAd9xzV+J/NB4gBjjHZcHo8+iiNbSmiuLOkjdWyOQ==","shasum":"c7e716d1f31b48239c431c4c6d52b75f9535580c","tarball":"https://registry.npmjs.org/use-mobile-detect-hook/-/use-mobile-detect-hook-1.0.1.tgz","fileCount":3,"unpackedSize":3089,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3K3DCRA9TVsSAnZWagAAHkMP/i1aZWrXDX9XcgClSWzq\nhFl8pfLDy4M4t3bGX5KFxgvRGVmNNMVKCblXsWjfiuwcdqfPGTUxRX3+6N9b\n4wMilPUiLzH0aFO101pXFYtqh7Rq5r9crml7yxc5hmTfacW8zwzQ7GL/iL9+\nTuWS40S1wQ+3hVVVhY+PHX8E08KDbvVgFrhIp+PTK6FTsZptdMi4VOpdWT7o\nsiordu+nTwHNAMSlDPKiAFeeXcKVeAMtct2SjnTdQFEPvVuSn1gi4QSgkTXR\nxxZnyjD2DmW/gM/+Qi1ws1vmkL8CdCBbsYlxqjCU179iipqUKfiGyYY3bdkt\nl/jMZpb2TBBD3mne7/U5iM0aWPjX6TeEH9hWXvU5OzEbgfyCbdiNH1ISwL2o\nDRZB+IP/U2Os+IJsb2vVuL/lJ/6J7hzC7nwxE8DguW9t5wBneKi0aPKez54h\nhTEopl1EBjrs77oHqwP2r1zYNhxmf/aR8fAZ12FKEGPjOgUhUa61S5Lfqte6\nj/qkkHuPlclVeVoHEnqr+yF5OHiOy/BFU6HB6cxlzpe/jyqQd1jk4JI9+bqX\nPysP9g8ceREMYvuTTJI/B2c1Gw1QAvTcrSIkd9wZkd7lKBcO7XRkmGW8rw/t\nOb17YuiTvfyptIqoqstD+MQ/gwLkBLUeIVDVMjYAhG38/tgIvB3JZ2vSYA9N\ntXdC\r\n=X91S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsQhY2UclwDBk8mM6Y9GSbrJ/K0+ckzzbnd7SRY5vIpgIgNchuretAS4HkeohKwfgwO1AeNbSYokk2PXMNHOAaQsE="}]},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-mobile-detect-hook_1.0.1_1541189059058_0.7630382913771359"},"_hasShrinkwrap":false},"1.0.2":{"name":"use-mobile-detect-hook","version":"1.0.2","description":"The React hook to detect if the device is mobile or desktop.","main":"src/index.js","scripts":{"test":"jest --coverage","test-watch":"jest --watchAll --coverage","lint":"./node_modules/eslint/bin/eslint.js --ext js,jsx src","lint-fix":"./node_modules/eslint/bin/eslint.js --ext js,jsx src --fix","format:check":"prettier --config ./.prettierrc --list-different \"src/**/*{.ts,.js,.json,.css,.scss}\"","format:fix":"pretty-quick --staged"},"peerDependencies":{"react":"^16.7.0-alpha.0"},"husky":{"hooks":{"pre-commit":"npm run test && npm run format:fix && npm run lint"}},"devDependencies":{"eslint":"^5.8.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.6.2","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","husky":"1.1.2","jest":"^23.6.0","prettier":"1.14.3","pretty-quick":"^1.8.0","react":"^16.7.0-alpha.0"},"engines":{"node":">=8","npm":">=5"},"keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","gitHead":"076e09ee16bd4343bc86237d5f8997db1d2ed880","_id":"use-mobile-detect-hook@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"},"dist":{"integrity":"sha512-JY5wvPSmGJYvd7ppAn50tbzCdoDJOlSXHSrMs3fCigZ5gxnMmMYZwaihDv7mHz2rr4kBv2i+4BBUBhmne87wYg==","shasum":"106c723648ed65fdd394daab1dd54cf9b275f433","tarball":"https://registry.npmjs.org/use-mobile-detect-hook/-/use-mobile-detect-hook-1.0.2.tgz","fileCount":4,"unpackedSize":4384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6uHhCRA9TVsSAnZWagAAZcsP/2hDPbXkE2O02PYh85zt\nNNA/z2dPf54GCYMFYHy43Fs4bLdgwhr6/Zv3Ukck3+/MNOv1PpYu1XCHywmi\nOMjQ/PUiBAccAB1N4oacgL2OTwEUfHKwOyzGkP4JJz/XUdbh8UehUvzkaRit\n+2UYS0d5UYdEE3qY9Au+1Qk0h9gS2FeE2b2HifrjUYHd8uWxHH+HllQumfKo\nqHkfehpLYSbQPFdy8jDSZHm0XAccud//8LPonO5b/N4qhN/76gBMI1zR4ny1\nAnWI8MoMfQjs8Hy813djCfl/V/Wvuo+/DOOqkvd9A/f3qDxO6CgDdLNzR6El\nr/JhdOUxaeT01b7a/2t4lVWyfxl20zGqo0maoavWm9ngtGSwgY1N4qo4NYEG\n4X3/xHgCHHMCdsIxYG8FPxObu0+E4UQHIuGHp71TN+zWM9LiPiZxtXkFgwRK\nTz0I7krA/pxdw1kRe6ApikT5Atf1g1FA4zKmAipMXxuqHRmErgGOSu6iR4yY\nKiYOnkHBJQAs+OI8tbfsgSlDy+UH6IUQeDJ47o1rV8lCMRd0gydhypt+O05L\nBAASoiNNszFvJa3D8ydYuVHGcofblvnv+C/sMsRjIU4X5T5pk0Kyjo+dJ/93\nHyPwkPTLKsrTC2vyYrFnekabfT7sMjCe9dy/alvjc+1kpXFmvua/M5O/jGWC\nUdQ+\r\n=2Iid\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfKzQHSv4CdS2nimtCYQJoApSf+1J7ldEBh6vf+ECM5AIgFSnZbXjyx9aH9xlRkNYeV6iuCY9YX4+y2Aa2w1C7/C4="}]},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-mobile-detect-hook_1.0.2_1542119904663_0.469055556353563"},"_hasShrinkwrap":false},"1.0.3":{"name":"use-mobile-detect-hook","version":"1.0.3","description":"The React hook to detect if the device is mobile or desktop.","main":"src/index.js","scripts":{"test":"jest --coverage","test-watch":"jest --watchAll --coverage","lint":"./node_modules/eslint/bin/eslint.js --ext js,jsx src","lint-fix":"./node_modules/eslint/bin/eslint.js --ext js,jsx src --fix","format:check":"prettier --config ./.prettierrc --list-different \"src/**/*{.ts,.js,.json,.css,.scss}\"","format:fix":"pretty-quick --staged"},"peerDependencies":{"react":"^16.7.0-alpha.0"},"husky":{"hooks":{"pre-commit":"npm run test && npm run format:fix && npm run lint"}},"devDependencies":{"eslint":"^5.8.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^2.6.2","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","husky":"1.1.2","jest":"^23.6.0","prettier":"1.14.3","pretty-quick":"^1.8.0","react":"^16.7.0-alpha.0"},"engines":{"node":">=8","npm":">=5"},"keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","gitHead":"31a23c1375412c55788a4f0caf7d2529efe93f74","_id":"use-mobile-detect-hook@1.0.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-XJEThybLa7fV076MqbuObaIZa6031zA/F9tma0UxdO1fMrNm7LxmS7kLgfn4jE8Ly+WBqnwxO/Kh11eIzpZ2Dw==","shasum":"7321965ba83de3872853e8b2177eca76f93a2820","tarball":"https://registry.npmjs.org/use-mobile-detect-hook/-/use-mobile-detect-hook-1.0.3.tgz","fileCount":4,"unpackedSize":4546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeTZGkCRA9TVsSAnZWagAAoTUP/2QQR0CWz5VXiQ1N3veA\n6INc7LmyZhM952LqIBMulKVj4dPC4q4BAJsJwlS4HqSG0FS7B0mT0R/PZ2gA\nIcMwxYqkzbx2+5EGR3Zn5jDI5i++7ES2x3P0LsFyCjiNtTXxnHyw3KOP49Gb\nMQAbijVtKs2d3iUikYD3iVHFGpBeXvLBavMMfgo8BuQ//M3gZ9I1CK/1VXK0\nJTkoehN0zWmG3smfB4ABkG2uffDtCjOnhVyZ+hfUWEdLBp+ye1JX8xzaTFnx\nPieqtDSH0Zv2W5uMBvW2FF2gFmIj7fj/LDT6lkq+8CCLWsKR/FXngrUg3UPp\nLjEcVYGom5EZjwtfjQIKvaR5moHTMD1DjdjEzFH2X+3dyeaKQeKBliu/S+r/\nHld7k+lnunh0ITe2lLzJUI7ZC2VdzgBUm2oz8DoblA3Bh+rwL5edI2YM3P6o\nUoIvnA/eXEebOvdh0Rcp35qbA4nRpJAXQt7YqntTlt0vnRbV3WwsMicMS2Jy\n0ftUKXjXNGpDpSFy9M2x2y24BCGlx39g8WLrOFAOTatcnQN86kwXGwQtt8wP\nduorN4cTmU6mfsOuMC4H2l3cVNYhGUtLn37SeM5ped7Whre63e3yE9EsBxZ9\ntBisM/nGDW0NnDuvxY3zR/I15kxSYedwY7VYnegnStCwk9dtiZOwckyxlUGa\nrXLp\r\n=GNhA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4ATUWGHf7TCf3OSKKIVpza6EwaS9/57G99FihgBr0YAiEAr9zMP7Ct+QC7qQQLz6+8jI50xpYzb9zqb2HJ/BDmaKw="}]},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"_npmUser":{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-mobile-detect-hook_1.0.3_1582141860303_0.37986150183252954"},"_hasShrinkwrap":false},"1.0.4":{"name":"use-mobile-detect-hook","version":"1.0.4","description":"The React hook to detect if the device is mobile or desktop.","main":"build/index.js","types":"build/index.d.ts","scripts":{"test":"npm run build && jest --coverage","test-watch":"npm run build && jest --watchAll --coverage","lint":"./node_modules/eslint/bin/eslint.js --ext js,jsx src","lint-fix":"./node_modules/eslint/bin/eslint.js --ext js,jsx src --fix","format:check":"prettier --config ./.prettierrc --list-different \"src/**/*{.ts,.js,.json,.css,.scss}\"","format:fix":"pretty-quick --staged","build":"tsc"},"peerDependencies":{"react":"^16.7.0-alpha.0"},"husky":{"hooks":{"pre-commit":"npm run test && npm run format:fix && npm run lint"}},"devDependencies":{"eslint":"^7.17.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^3.9.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","husky":"1.1.2","jest":"^26.6.3","prettier":"1.14.3","pretty-quick":"^1.8.0","react":"^16.7.0-alpha.0","ts-jest":"^26.4.4","ts-node":"^9.1.1","typescript":"^4.1.3","@types/jest":"^26.0.19"},"engines":{"node":">=8","npm":">=5"},"keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","dependencies":{},"gitHead":"1778664149e7ebbdf1313d8c46c75b15c67000da","_id":"use-mobile-detect-hook@1.0.4","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-2LchNLtoWmllIGE3obppw2R2Q1a17yZBtWgnYiVkSksU4IaK5L8AE7qGPn0s00J8AydlmRDnDhuSNfULf1EGuQ==","shasum":"99dbded06d9e326c36fad19fb39b5ad3df37e499","tarball":"https://registry.npmjs.org/use-mobile-detect-hook/-/use-mobile-detect-hook-1.0.4.tgz","fileCount":5,"unpackedSize":5233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJghDlnCRA9TVsSAnZWagAA3CcP/A7VpiCbCSjSr281RREG\ntzLdBVUt3fRazRkYev6HtXALBkt0dkrHhV5CGJ7CG6+0dgnaUbf+eWPfNMBI\n4hVp/K3kQCrDumCS4hEdT2krCyr9ef2iky13zpozbVZg55L9AycTUrHyGuXk\ntC/C+FQPmAwkhl4mvGy2FlGof4RoVc/6cmtDOXPYcMr6VjEhbG3wi05DE2iq\n79Pj0SxBSt33P2rlHiWIE2G2oqZ/9ZWTsi0Nmw8Ky5IW+5I90wJ47KKTZHQ6\nha6I/jeAPy9ts980nfUfV144mVvS6pL7pzMwPX9ru/KwafQem4MJZXSsf+Aw\nFPXoWSswIp02+rYx2F5j6VJb7C8DzJ1HdLDmX9v0FP/zvbn7flX+4TynkNRU\n/tFuNdCUvgC5wDz4r/XxgxhmlBQOnAiL5tZ7DqFeCwuYLAkeCy1iTNAXJDmL\nhA7yO8ZBAQNlcbRIQpOxOocL13A9XSFjcxPuxk/xsxQoI8wZTg1iydZGueqj\npxJvw+w6XWSaBU17yOjtWUyCULbccWkRc+Cm/wjCz36hNpjdmJvrXpu4aGOH\nQnOPQcR7B9CwThV2ysgNTO6qTw9NLM3m18EoneBuQKpi3Q2BCCMiTiUz5cwW\nSj1ekW5y3l3a7M/cIbLEQym/uSO7YYSsS2aOl2zVAG9EGi6GBemLIeG9P0rG\nlBSc\r\n=dUwm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEUZCOR9Y6CB/zUasuIyjD525bKT/eJct5IJ4B1fpILAiAr4zh349epyBcx7s2AZeMJOiPBRDrVmGOfLRQSYJaPEA=="}]},"_npmUser":{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"},"directories":{},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-mobile-detect-hook_1.0.4_1619278182557_0.8768642791991315"},"_hasShrinkwrap":false},"1.0.5":{"name":"use-mobile-detect-hook","version":"1.0.5","description":"The React hook to detect if the device is mobile or desktop.","repository":{"type":"git","url":"git+https://github.com/haldarmahesh/use-mobile-detect-hook.git"},"main":"build/index.js","types":"build/index.d.ts","scripts":{"test":"npm run build && jest --coverage","test-watch":"npm run build && jest --watchAll --coverage","lint":"./node_modules/eslint/bin/eslint.js --ext js,jsx src","lint-fix":"./node_modules/eslint/bin/eslint.js --ext js,jsx src --fix","format:check":"prettier --config ./.prettierrc --list-different \"src/**/*{.ts,.js,.json,.css,.scss}\"","format:fix":"pretty-quick --staged","build":"tsc"},"peerDependencies":{"react":"^16.7.0-alpha.0"},"husky":{"hooks":{"pre-commit":"npm run test && npm run format:fix && npm run lint"}},"devDependencies":{"eslint":"^7.17.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-compat":"^3.9.0","eslint-plugin-import":"^2.14.0","eslint-plugin-jsx-a11y":"^6.1.2","eslint-plugin-promise":"^4.0.1","eslint-plugin-react":"^7.11.1","husky":"1.1.2","jest":"^26.6.3","prettier":"1.14.3","pretty-quick":"^1.8.0","react":"^16.7.0-alpha.0","ts-jest":"^26.4.4","ts-node":"^9.1.1","typescript":"^4.1.3","@types/jest":"^26.0.19"},"engines":{"node":">=8","npm":">=5"},"keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","dependencies":{},"gitHead":"096f94e435581525bae97c8ce3f3da765eabfc5b","bugs":{"url":"https://github.com/haldarmahesh/use-mobile-detect-hook/issues"},"homepage":"https://github.com/haldarmahesh/use-mobile-detect-hook#readme","_id":"use-mobile-detect-hook@1.0.5","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-8Uu69l2DTsPahD+j+ZefzV3IRHWcN2vbQmdlTshTnoHIS8MDvgr2IC3dgaNNpPCUbr8EhKH06c0KB3ViYNSnAQ==","shasum":"1ec83ac112d09e99ee49d60c7175cf3174c1586f","tarball":"https://registry.npmjs.org/use-mobile-detect-hook/-/use-mobile-detect-hook-1.0.5.tgz","fileCount":5,"unpackedSize":5347,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiPurMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpZiA//dwWZAe8aDS5F9yrW35rbZ/6TkIqv/jti/7EZcsK/9gH+/VXp\r\n+u5Ywvwy0Oj2YOUNHfuoUMnkOoBFheuPJM7/QMGsz5Ym2CteYCoONntYhsXP\r\nmDTNhJoxiCr7+eXTG4AJq4rg1MOPBBmGarI7vNKb4bgQPnrIXH/1nFvDmyUk\r\nu9fXF4Sf25Ss5KUV69x+dObwKz7F+TX/JZf155a6DiB6DB7aANLrGGNZt/co\r\nj3iHGPhzAKj8cEXLvqvcJuz4LXb+ZXlwHnBqvWJ3mVY6b2mVeVCas+XsiUT/\r\nlaQtYw5uvIJsfX05Ea6wE2h2JcjAbIU35owJamtUZsrnOISUol9pdBIXNZXT\r\nUupEmqQae/aJmIp+foJvE/GN7fCy6Tq0zNZDv3rjpZXgfUrpu30E/+IFsB3Z\r\nJJ8KCULybjbUAInnH7TIXzSNu6ydAwcEHMJcKrf1jVvcrAxTiMlctcbh3NGt\r\nnJOaHPCSpT+VADG4Rgh2MOa4+9KDCRTYHYxrVp9uJgQhhWyXGfT0oJlLcXyf\r\nVr13Qbok2/4dzeU1JiB7fa58/68ioe5RX1ySPzoSy7q/yzE0NH7y5KIca9Sg\r\nxmbgxZS3ZXP9DqAK3zFXTUeHdoXj5uYhvSupVx7CL1eNIc/gfCqDi2WCAp9m\r\njT4MUDe+UPKV4Q3e6blxxRu+XClXfbEDPNU=\r\n=tbOm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2EyT16DPWw/E2zARefX8EEDaICB8Zc3h3vUuyZ6oDEAiEA19ksLywA2NAuhWQmgBvdkoCsNFOKDDBthRhC5N38Ep4="}]},"_npmUser":{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"},"directories":{},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-mobile-detect-hook_1.0.5_1648290508440_0.2712250719630802"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-02T20:02:45.192Z","1.0.0":"2018-11-02T20:02:45.311Z","modified":"2022-05-22T22:21:34.799Z","1.0.1":"2018-11-02T20:04:19.342Z","1.0.2":"2018-11-13T14:38:24.778Z","1.0.3":"2020-02-19T19:51:00.539Z","1.0.4":"2021-04-24T15:29:42.682Z","1.0.5":"2022-03-26T10:28:28.601Z"},"maintainers":[{"name":"haldarmahesh","email":"haldar.mahesh@gmail.com"}],"description":"The React hook to detect if the device is mobile or desktop.","keywords":["React","hook","javascript","mobile","detect","device","type"],"author":{"name":"haldarmahesh"},"license":"MIT","readme":"[![npm version](https://badge.fury.io/js/use-mobile-detect-hook.svg)](https://badge.fury.io/js/use-mobile-detect-hook)\n\n# use-mobile-detect-hook\n\nReact hook to detect the device type. This hook is able to detect mobile, desktop, android or iOS device.\n\n# Installing\n\n```bash\nnpm install use-mobile-detect-hook\n```\n\n```bash\nyarn add use-mobile-detect-hook\n```\n\n# Demo\n\nFollow [this link](http://www.maheshhaldar.com/demo-use-mobile-detect-hook/) to check the demo.\n\n# Usage\n\n```javascript\nimport useMobileDetect from 'use-mobile-detect-hook';\n\nfunction MyComponent  = (props) => {\n  const detectMobile = useMobileDetect();\n\n  return (\n      <div>\n        is Mobile: { detectMobile.isMobile() } <br/>\n        is Desktop: { detectMobile.isDesktop() } <br/>\n        is Android: { detectMobile.isAndroid() } <br/>\n        is iOS: { detectMobile.isIos() }\n      </div>\n  );\n};\n```\n\n# Contributing\n\nIf you have any new suggestions, new features, bug fixes, etc. please contribute by raising pull request on the [repository](https://github.com/haldarmahesh/use-mobile-detect-hook).\n\nIf you have any issue with the `use-mobile-detect-hook`, open an issue on [Github](https://github.com/haldarmahesh/use-mobile-detect-hook).\n","readmeFilename":"README.md","homepage":"https://github.com/haldarmahesh/use-mobile-detect-hook#readme","repository":{"type":"git","url":"git+https://github.com/haldarmahesh/use-mobile-detect-hook.git"},"bugs":{"url":"https://github.com/haldarmahesh/use-mobile-detect-hook/issues"}}