{"_id":"devtools-detect","_rev":"24-90f1129e20615386c0b665c91e4f04f0","name":"devtools-detect","description":"Detect if DevTools is open and its orientation","dist-tags":{"latest":"4.0.2"},"versions":{"0.1.1":{"name":"devtools-detect","version":"0.1.1","description":"Detect if DevTools is open - browser","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/devtools-detect"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["devtools-detect.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer"],"bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect","_id":"devtools-detect@0.1.1","dist":{"shasum":"a9c4c9ab73900eb688642899e172377537894070","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-0.1.1.tgz","integrity":"sha512-3jIpP67VF1Ac67TJalzeLKGl0dwqURxuUaNid4x8jyZzaPu4MVmk3B4s1UD8mIZxvVLXAyeS1cHeAPyaH16KfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5RDHbAARBxQL8+1UnxKES1n5u++dQb0+Rbu7EqdCaiAiEAkA8+KKKpB00GQGa09cLLUpBpbRd2HiXiHDfUTfsNkXY="}]},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"0.1.2":{"name":"devtools-detect","version":"0.1.2","description":"Detect if DevTools is open - browser","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/devtools-detect"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["devtools-detect.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer"],"bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect","_id":"devtools-detect@0.1.2","dist":{"shasum":"e9404d4541d982427522afeabe07c937b3ba3850","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-0.1.2.tgz","integrity":"sha512-84TEZfeyIUkmKr01Ov306T0eFl72Zv47HLAp0JmCPDUptfAoLSpvL4Nxfy5TXygtrEQ0J77kBxncvrbkDXtVxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6q5PP+dLICgSZrJp6iOk/8h+6urNw0xaxPXpEKQkNkAiAo7Xyeyg6NkHCyR5V6O5Zs9t33+M6u/IdAfvkHWSsJBA=="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.0":{"name":"devtools-detect","version":"1.0.0","description":"Detect if DevTools is open","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/devtools-detect"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["devtools-detect.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer"],"bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect","_id":"devtools-detect@1.0.0","_shasum":"d41bba334f5224ce68719f52897ea28bf666390f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"d41bba334f5224ce68719f52897ea28bf666390f","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-1.0.0.tgz","integrity":"sha512-+8jO0LnOJHHRJ6PuZOo9hjvYXkhroiExrRkmBSzltuGtPLWXWD8u+o4KB/lb3/98UGeGbngvIVAzDMQehUijnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4Jlp2DGiBZTs/BVj9i01bpA8o+kS53aCiEMzxc9wuPAiBD3e7mO3OjqhN1IJmmZfD6bGbNyeN7pzJKayh8xkV9VA=="}]},"directories":{}},"1.0.2":{"name":"devtools-detect","version":"1.0.2","description":"Detect if DevTools is open","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"main":"devtools-detect","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["devtools-detect.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer"],"gitHead":"67adb0a0a47390ac31e0448830733c264c01bac1","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@1.0.2","scripts":{},"_shasum":"8eb9043a5b2b6e4fc3450906c4a7556b4d17b58f","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8eb9043a5b2b6e4fc3450906c4a7556b4d17b58f","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-1.0.2.tgz","integrity":"sha512-QZYj/+Jyi9ethRhMdOoHjovNqAqgaNpxv9LFtNGuVtbv6sWVNvhKsIPLiuCBibgOiX3/JDwt3agQapNUC1fwIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/0p0A9K9ATRCMD5vG6GcTwpMLLzf/OKY5F8hj3hKzPQIgXBKbxX9RSgNQAw6zT1sfJsTOj42fsWtmOdmsMpazl3M="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"devtools-detect","version":"2.0.0","description":"Detect if DevTools is open","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer"],"scripts":{},"gitHead":"d82b0afd766f591b2893e2c67d481d7511f49174","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@2.0.0","_shasum":"993edae4f97d814891e977a6a5885145826cec61","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"993edae4f97d814891e977a6a5885145826cec61","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-2.0.0.tgz","integrity":"sha512-dtVjqbOpIQLf0FXpVQg9ux2zZhfKcjewyMuTIfLPbpRE/cvSzvZ66fAcDCqllGy5GAVxqHj4KDtc2Iknz64ecw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8fSn5JAzvNKEdRW7EV9oD/a79KzD5z242r6UKlWiNVAiEAp3tsMFXaVON1Dlz63/JtE0QV/z/HVaG9tdHa/lk+smE="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.1.0":{"name":"devtools-detect","version":"2.1.0","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/devtools-detect"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"scripts":{"test":"xo"},"devDependencies":{"xo":"*"},"xo":{"envs":["browser"]},"gitHead":"bf171759792312ace281ed34b88f87ff32dff0c9","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect","_id":"devtools-detect@2.1.0","_shasum":"1fdf1b3e4fba7e3322f9a1a3d4381c645b7f5b2b","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1fdf1b3e4fba7e3322f9a1a3d4381c645b7f5b2b","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-2.1.0.tgz","integrity":"sha512-+iFb82+zhrL7lcsJTD1xH3IYTGw4SMTSn3GthIHIMhPL1+unHXxWREcYqsSsKPP8M3nV9eXT8Lf/wPwNdNSHdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7vb2uhIxtu8FBfjhphJWYeGw+rG1H+aMq8YdNcnj22gIhAJ7BJGOuJPn5g+U3X1uDHVCh8LYpzV4wXlcSnFRY64UA"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.1.1":{"name":"devtools-detect","version":"2.1.1","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/devtools-detect"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"files":["index.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"scripts":{"test":"xo"},"devDependencies":{"xo":"*"},"xo":{"envs":["browser"]},"gitHead":"62cda4f9f2f1c211da23a72c592f488ef789da1f","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect","_id":"devtools-detect@2.1.1","_shasum":"a11ceb04cb5a546540758d6357c9f9c089f6bf30","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a11ceb04cb5a546540758d6357c9f9c089f6bf30","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-2.1.1.tgz","integrity":"sha512-XcmhKlOJTixkvV6Y7fZFusu/hN7Nv5KZkZ/O1WiT92urAnXmpC1RWJZmodP1yeDAQSwYdBEfYa0vWX5mMy1XvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyixI80QZiuCjFpO2+KTHuAVRGDnTduA049h+8zKgvGgIgb89xhdGB2fIp6wf3DAuPWfFDYNEaWcLLwp/jBzNViG8="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.2.0":{"name":"devtools-detect","version":"2.2.0","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo"},"files":["index.js"],"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"devDependencies":{"xo":"^0.16.0"},"xo":{"envs":["browser"]},"gitHead":"2238fa3e5b9133f2a7efe850808c339366fe3914","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@2.2.0","_shasum":"95bd923fe2e54b0f92d91595e82753d909eec312","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"95bd923fe2e54b0f92d91595e82753d909eec312","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-2.2.0.tgz","integrity":"sha512-NOrW486UGUaXRDcCkusD1fK4nXk+uASoYWo2aWis8Juxok2zbyDYFcD8XHuW4HChUToK51veSFk2GJ1n9xd3jA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmrzayyTOeRzniJ0+HkOF+sSUfTZu1Nk0/tpCax6K91AiBIYU9cK7ifldD7JiD6L9gfHs8bQ91yHj31kcXINR4hiQ=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/devtools-detect-2.2.0.tgz_1482025465412_0.8861722757574171"},"directories":{}},"3.0.0":{"name":"devtools-detect","version":"3.0.0","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && tsd"},"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"devDependencies":{"tsd":"^0.7.2","xo":"^0.24.0"},"xo":{"envs":["browser"]},"gitHead":"f2e5d41e316207bcf92f6dfc0002219af18ccb99","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@3.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-bI0ccVWpQFUwHp9V/HNcVkqCavJdb3KBYtpGkJrw4TWJ33vuIoasVHSq3eZRb0RRzBfywrqDHN1xBwmnoAFenQ==","shasum":"1d7e23b77a2b6be3871d2ee694d8e60b50434444","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-3.0.0.tgz","fileCount":5,"unpackedSize":4866,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcruydCRA9TVsSAnZWagAASOUQAJe50PwqdHwyEqFLUZOe\n0Q5X2fizZRsa+sSusMm/7I0wF+iklHesf0fGpOIVIWKosPMCiF0N6dqmPPCn\noJs4je5cZEMw2Z7tF7TxkxXCqq66NJZuzx/iV1pv9pM0cjtn5/MuEBeVUELY\novZ6f/+Vs5jeRzOvVWFZueZcVAAFQM10s/6TZphTrPypYg0aRBt6mldm1izP\nYRjhIbHeiMQgOTyp2ah1qtBF94LbSaS0+WsfGARrpanE2BEfhBa6DSnNxXwQ\nEm3AckQkAlrV0OoDxSPI0L6qmEq50SvZQDWUMJMWPRmAkNEgl+//9lDRS/lD\n5wBGvanC47sQ4M2eexea/x1erwM/gi54UTrAUkxmNkSaeKQjLqWJwJog+wTb\nK3n0sM5JO9PlZ0GUKi/SVWXKcVffMgZ0Rj9YpN2ezk+J3BlwwMOJ2TjWVqdD\n+Z/O1xsChN6WxAyMpZh0aHg6cXU0pbEgKQOlcoIzvmunjqha/sIUEsjX1xbu\nEQBm+cjvwF64RXaHnUU71oa8Em+5DOVBjGG1KtEyqhFBe+f/6K/OmMe3mwJF\nzs9ZH79bgrcrs0gFyFrqG/zWP1fAfrfpt5r5k+OwPqpJ7UVwofwz5BWUCPOF\nOMlPAAzMyIPybQIXYuN2hBmVdbDwPY/274HM0HgkAfY7o1i3xtfnfxpmV/WW\n7L8Q\r\n=+e6Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtUqkh1X/b6sQfb7eNhkY9SbXSAhUkIuQeZ6oVinfgkQIhAJJC1hhkSDzxNm4TmB4fBmGzj+HlLQeFinuS32lfP6e3"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/devtools-detect_3.0.0_1554967708409_0.526721141685432"},"_hasShrinkwrap":false},"3.0.1":{"name":"devtools-detect","version":"3.0.1","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && tsd"},"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"devDependencies":{"tsd":"^0.7.2","xo":"^0.24.0"},"xo":{"envs":["browser"]},"gitHead":"334e41a2526e9dfd9f2206333e0a0c6c4a1e4408","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@3.0.1","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-nmp9QLSDKqHYtUPIMRtg1uX5euxTbTHf+ATCsPqZqCfROSwu3Sm0yfJD4Zc/LqgCjA6mgj3zpnBUUZMvSJcROg==","shasum":"b862f64be80ac6627e3164c68424e7c2c7257481","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-3.0.1.tgz","fileCount":5,"unpackedSize":4969,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfA1y6CRA9TVsSAnZWagAAT3UP/3++93fS6AuwY80URdci\nXQnrlCO4GTriIaAf+OCIyevkOgHtOCE/HJL5Swr+uMNEdN0fxaHkx2xqZb4z\nPTr6GbiKQ5119xDCbDEfI4UpI78bkgexTCtYI3aL2pn8MVXkcFTR7VPLuC97\nvY8KEzxG00oAmSiDOf7OQm3ZMTjWmCSGzq8O4NqCj4niTRyk4HrYsQmdC1KM\np8Au5zmhZYwwM92GEADgP7Q7xy4Lt5g3iA1IOfBVuTO+sbtLFEc2VOBsEFzr\nvCwuU5r2+OeadPP1RxJwbuXnj8I2BlmagkbNW3KgkwLAwMiBXQIPqKLgB5ZI\nD+v9EaT9j3KCfVB8VGnT3tbNprEdYGmajRyxfkOtsDCc+Q00VT8SkL/Y8i1Q\ngLX/4UoAz/al5UM+R3sNwK+wUPP+yKPqBWM7t1CnehbyzRUQyK5O5oo2iutJ\nrzZaERpHQiz9SfY5N4triqykw6ujlnttnwFpxCsougLC+x55/dawh+ds98/7\nEsUMhygcI7C0aJj5K/WjvqeDuGbJySh1QVyPsjTyA2i9VD8qMkqDI/PcGsJS\nieihUjuug/yrBv9YyCPqMOqC/9EnhygfjBKlMLUWSwWyFxp0QaCUflG4Il9H\nZLOHufLce2e/YumpjcYzujjywp5j5V1UchYTf7t7eMW5plCEUhU0fhI8ECT/\nSG8V\r\n=9W9j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICCAf2zoQdkGhha5tuXqb60ovL8CirwkRlU/o8fWC/4SAiB+v74ZiWQoitOoufNhnzRgHNz7KLCor4TF58LcxBs7Bw=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/devtools-detect_3.0.1_1594055865761_0.04861088472751396"},"_hasShrinkwrap":false},"4.0.0":{"name":"devtools-detect","version":"4.0.0","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && tsd"},"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"devDependencies":{"tsd":"^0.18.0","xo":"^0.45.0"},"xo":{"envs":["browser"]},"gitHead":"73719507f1ade1da63f64d3c72c487e3d2667aba","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"integrity":"sha512-BnCKIj1DDWite4sml9z8baFlkZWdtFH0rl1+HcBZ6ORm3HG7JSuehQUVzdOUxbPDLLVmEVuqkrvy3y8y2GOXyQ==","shasum":"a5bf7f990df093ba231a37ed301ec9ba157ecafb","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-4.0.0.tgz","fileCount":5,"unpackedSize":4759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2oJvCRA9TVsSAnZWagAAvwEP/RLgEl1Ni9vTvTw0vyk4\nkyVMLY7zRGLArw5Q1hTsmISt5hFPrwDRPCAZwrZcB43pxB6UEycBLFr98Slc\nEayq1LaTBp7TMEiNEDn0sRKUAyXOHHKWiGV7Ls0q/GjrUz286VYX9gZTtAOE\n6PfRNAhWAYLOoGNord2rf9mAEBVikCkA4oF5vSfaLtAhM4xJ/QsaLvLUlido\npJtUDqpo14LZIXEWDZbYdWv5xbJGdvvrGUVfL1W1P3DSZA8twBEltVPiOYYS\nS0qMGwoBHiDN26JC5QCIwbfCtoFSZFg+3wSbEC8DGQWJtNfGAahGaf0wzZ39\niYE8QKeDTuCK5Se7L83/iknSRrPhMTheLEcsgdkM66O9/lKRWIr15fyutGwM\n0QUpyp57POsWK+hQiXsthVuZqN2fglXnwXsF8iPzAx737S6uGLcd++xtInb7\nOVINhuwaFFfrZLjTs9LbBK+wPD+cWRlYPPbAlBVED1TLpL32Hvt8Ja3anDLZ\nmCYpJXc/JM7T6uqAUknMH66xe+4e7/PLj7xMLNvs5DT6XbuONUaGPuRtGOwK\nz2W4KpQklXqNIkQs+u2yhzf82AyBMkOVYoTOF5O6onhrgi5RpdCzkDJFbb3y\nSMKrly6HCXJJTRQie8jZCnqjEKC+wLkNTkfY/Wqesd1jRBffc2D1M1fKR55B\n72du\r\n=iyXO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpraiW4vPBMW91MRcSbr8pj8rDXIc14E5VZKUMClOgCQIhAM9rti4q+n+B60tzEHQV/80Bq2YQCiZPTR18rNj/LUIF"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/devtools-detect_4.0.0_1634203167054_0.6268435986284508"},"_hasShrinkwrap":false},"4.0.1":{"name":"devtools-detect","version":"4.0.1","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && tsd"},"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"devDependencies":{"tsd":"^0.18.0","xo":"^0.45.0"},"xo":{"envs":["browser"]},"types":"./index.d.ts","gitHead":"ef5d553f5917d443662c883b021c0115e96b3767","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_id":"devtools-detect@4.0.1","_nodeVersion":"14.21.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Bfd5XzZhZ/oDqrLMD4F6fAE0QFUsoBbgEEhUjY6pYJ63xmzhg5NCzhxBz8hsx7ge8Nh0bxhtdU/naYeARUZyWg==","shasum":"2f3795b9339d25a5413107eb1b606ea9933e1b0a","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-4.0.1.tgz","fileCount":5,"unpackedSize":4759,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdD6zU6mb2BieB2xNXPaTF3xOWhJRZhle5GfVch/CjKQIhAI4e/aXD61rqzkCxUlMSgsE6cUFBVB6jHGWRDQxz0BYK"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjkj09ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmofxQ/+LZILqECfjcxoWwV6phDzlP7jXc03sLJvJmxBz/iUbjrcHi3v\r\nLASNtkWMiYRU9eSHYljCZJnwJoJfRhcF5vn4wmq2yz38Jc62dv/EByXelQ1t\r\nfwvL2rFebT8VGDFrixVJus84R7OlH6riOVCjCQ8LZXFBoRd/4RP7lTs8KU6d\r\n02o0RkqSvnZZLLLLSDBscYIHWYpld/y1EW4blP5jQBGIoqOGvkTFcGrgz9bl\r\nQ36oALu6RoekluXMzVQPN8ltTQUbz904E+MiVwHdhBzm+sqzAQoAg050sn57\r\nDKw4RblFwEc4dYvV2kAToWZmSWvLRFeBDs8IIJ2k5ttlWuPTNGfTCq9m1BL6\r\n57pLBG0TAetTI/wjBXZIjMFQ3LghvXtdl8EoJYp3jzZkjBlmEaftTEN60OBF\r\n0bu9yirlfSRqmfO306YcdeK5RMh64pBWEafG9G3NR4N2IxO1Pw8ad/wzxkiw\r\nFYsJNKoI8JspVYiXIMPZ5BOcpHyarW+CAdFh3mK/GgOWyNBt43MHFT3HfvVK\r\nuJ/syZrw3kxP8fN/UUsXmM/b+0tXxz7liz4J7cW7mg3vJT6ajO8zVCqYjo4c\r\nurD3G9Cu8xXK4p/oCkgWHHAgaEzR18wdIO/Af9rEX9CztY0YF7dwqwA1u2Ue\r\nbgcBnSpzFy7c8nDCKSqO/pCG3g7DPf3uBhw=\r\n=qL9X\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/devtools-detect_4.0.1_1670528317473_0.5164230287156786"},"_hasShrinkwrap":false},"4.0.2":{"name":"devtools-detect","version":"4.0.2","description":"Detect if DevTools is open and its orientation","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":true,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && tsd"},"keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"devDependencies":{"tsd":"^0.18.0","xo":"^0.45.0"},"xo":{"envs":["browser"]},"_id":"devtools-detect@4.0.2","gitHead":"74ca68569c02c30a29ac35da4e50e8b65c23b6d0","bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.2","dist":{"integrity":"sha512-LfvHOc/a72gt4OvHOGFK51VmOeTM9Q5uuEeKX+k5oVWZM3qDoLBFVbdhjk7zXX54FuQ370L7OpmxQbNStT+7Gw==","shasum":"a115c50e0da3c746fbee8f132aabedcd7661bd8a","tarball":"https://registry.npmjs.org/devtools-detect/-/devtools-detect-4.0.2.tgz","fileCount":5,"unpackedSize":5798,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeYRp/17WmRNlVLgenIo3TlZHJomCBRGiRQz6Q6kTDcwIhAMxFhcMfmaJYve7qkpYsDd8SfH/Twj/WY/2JgjOBxA45"}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/devtools-detect_4.0.2_1713884194437_0.009167358075207188"},"_hasShrinkwrap":false}},"readme":"# devtools-detect\n\n> Detect if DevTools is open and its orientation\n\nUseful for when you want something special to happen when DevTools is open. Like pausing canvas, adding style debug info, etc.\n\n**This package has a lot of flaws. It used to work better, but browsers changed, and the detection now has too many false-positives.**\n\n## [Demo](https://sindresorhus.com/devtools-detect)\n\n## Install\n\n```sh\nnpm install devtools-detect\n```\n\n## Usage\n\n```html\n<script type=\"module\">\nimport devtools from './node_modules/devtools-detect/index.js';\n\n// Check if it's open\nconsole.log('Is DevTools open:', devtools.isOpen);\n\n// Check it's orientation, `undefined` if not open\nconsole.log('DevTools orientation:', devtools.orientation);\n\n// Get notified when it's opened/closed or orientation changes\nwindow.addEventListener('devtoolschange', event => {\n\tconsole.log('Is DevTools open:', event.detail.isOpen);\n\tconsole.log('DevTools orientation:', event.detail.orientation);\n});\n</script>\n```\n\n## React usage\n\n```jsx\nimport {useState, useEffect} from 'react';\nimport devtoolsDetect from 'devtools-detect';\n\nexport function useDevToolsStatus() {\n\tconst [isDevToolsOpen, setIsDevToolsOpen] = useState(devtoolsDetect.isOpen);\n\n\tuseEffect(() => {\n\t\tconst handleChange = event => {\n\t\t\tsetIsDevToolsOpen(event.detail.isOpen);\n\t\t};\n\n\t\twindow.addEventListener('devtoolschange', handleChange);\n\n\t\treturn () => {\n\t\t\twindow.removeEventListener('devtoolschange', handleChange);\n\t\t};\n\t}, []);\n\n\treturn isDevToolsOpen;\n}\n```\n\n```jsx\nimport {useDevToolsStatus} from './useDevToolsStatus.js';\n\nexport default function App() {\n\tconst isDevToolsOpen = useDevToolsStatus();\n\treturn isDevToolsOpen ? 'OPEN' : 'CLOSED';\n}\n```\n\n## Support\n\n- Chrome DevTools\n- Safari DevTools\n- Firefox DevTools\n- Opera DevTools\n\n## Caveats\n\nDoesn't work if DevTools is undocked and will show false positive if you toggle any kind of sidebar.\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2024-04-23T14:56:34.828Z","created":"2014-01-17T16:34:30.807Z","0.1.1":"2014-01-17T16:34:30.807Z","0.1.2":"2014-04-29T19:22:02.845Z","1.0.0":"2014-08-22T13:40:20.897Z","1.0.1":"2015-06-07T21:49:07.445Z","1.0.2":"2015-06-08T09:41:23.815Z","2.0.0":"2015-06-08T09:44:24.360Z","2.1.0":"2015-10-21T21:21:56.520Z","2.1.1":"2015-11-13T15:15:21.853Z","2.2.0":"2016-12-18T01:44:27.286Z","3.0.0":"2019-04-11T07:28:28.527Z","3.0.1":"2020-07-06T17:17:45.867Z","4.0.0":"2021-10-14T09:19:27.178Z","4.0.1":"2022-12-08T19:38:37.673Z","4.0.2":"2024-04-23T14:56:34.568Z"},"homepage":"https://github.com/sindresorhus/devtools-detect#readme","keywords":["browser","detect","identify","check","dev","devtools","developer","orientation","placement","docked"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/devtools-detect.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/devtools-detect/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"xfloops":true}}