{"_id":"has-dom","_rev":"7-da0e3ad28aed0b9b0762aeec6e93a30c","name":"has-dom","description":"Check if a JavaScript environment has a DOM","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"has-dom","version":"1.0.0","description":"Check if a JavaScript environment has a DOM","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/has-dom"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["browsers","dom","js","javascript","env","environment","has","detect","check"],"devDependencies":{"ava":"0.0.4"},"gitHead":"8721d742d09100dafb8513924ed715bfe3692129","bugs":{"url":"https://github.com/sindresorhus/has-dom/issues"},"homepage":"https://github.com/sindresorhus/has-dom","_id":"has-dom@1.0.0","_shasum":"c416023da347003a5fc6f667d70057350155b657","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"c416023da347003a5fc6f667d70057350155b657","tarball":"https://registry.npmjs.org/has-dom/-/has-dom-1.0.0.tgz","integrity":"sha512-OUkCFxzIRymaC9S5ZGqh1s3Pu+UOsVOrNxeXfSW31jn3Hwl+oStBAVF9dnZlNFg6GVqQXf+eUSAj0ADU3oIPtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+la6tVEcThdjoCSdCox1mFHzelscePQhuhO/RE7RfXAiEAu4hTelnn3L/hOALjZcjVPC83PXnMSyaA86eoe2YkK6E="}]},"directories":{}},"1.0.1":{"name":"has-dom","version":"1.0.1","description":"Check if a JavaScript environment has a DOM","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/has-dom.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"ava"},"files":["index.js"],"keywords":["browsers","dom","js","javascript","env","environment","has","detect","check"],"devDependencies":{"ava":"*"},"gitHead":"78702f3de3207d9c8faf1a61007fdbbdf870a765","bugs":{"url":"https://github.com/sindresorhus/has-dom/issues"},"homepage":"https://github.com/sindresorhus/has-dom#readme","_id":"has-dom@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-zjbpaHVws+dr8dygaKfICCV4pSeN4Ni1rdQs8yMxFK7aQMuzXpp6bFILtkwcni1aG67SctJgh0bIvddH5z3IBQ==","shasum":"8be153dd718868ebd3d74c7f9db3d401e1731400","tarball":"https://registry.npmjs.org/has-dom/-/has-dom-1.0.1.tgz","fileCount":4,"unpackedSize":2358,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZkKYIZRtjNd1ZVVBH42rqwZlwH7t64xVar0U0gimJrwIhAI5Q+J4UZfL2uVrj6lGE6xQ3H2q6wcipzve5NBMX1zxe"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-dom_1.0.1_1521792401467_0.14303522510916644"},"_hasShrinkwrap":false},"2.0.0":{"name":"has-dom","version":"2.0.0","description":"Check if a JavaScript environment has a DOM","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/has-dom.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"},"scripts":{"test":"xo && ava"},"keywords":["browsers","dom","js","javascript","env","environment","has","detect","check"],"devDependencies":{"ava":"^3.15.0","xo":"^0.39.1"},"xo":{"envs":["node","browser"]},"gitHead":"0a1e2ea4d950004b9d5920280f2579ee63785a1f","bugs":{"url":"https://github.com/sindresorhus/has-dom/issues"},"homepage":"https://github.com/sindresorhus/has-dom#readme","_id":"has-dom@2.0.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"integrity":"sha512-qCSHrN9hbGphmxM0XDiXWpNxl56zLM9v2ltTBKAzGJeX9PF6ZWB152AtNM8KGi2h9S4uFSMHajlNo44o1/N8DA==","shasum":"88d2e135bbc4e3b468a6694510eb0957a9bf23d9","tarball":"https://registry.npmjs.org/has-dom/-/has-dom-2.0.0.tgz","fileCount":4,"unpackedSize":2288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgj/KtCRA9TVsSAnZWagAAUDYP/idGPYzRq2XiXAoKAFft\nIFqTNNXn0n2Vs6LIGMLb5aOOsGupWH0alszzxozOZlfzCchTh7koVQ6rYJh+\n6mf9SxfINrEL8r1D6cOePqvL28BEKO1Ia9qPgVK/PKhQWsXFpggfg2Zj/HX3\nDeP4UinSA6G4Kpd+0NgE8hAw8I7Ii53NO7+UsiixagniOSFSHAMVPeQuW16F\nOF2mmvi3k/s9fiMTbygskQXx9ZDri6cGzKZwGs+1aPR9SeF8eu1+N3BP6vLf\ntIfOLgrAQ3C5utAx8PqNeJLXaWmtEksX/XhckgMRGxH4PRLdpToDc6dUR8dU\nF6u/1HkPd296PJHxLGWa6usxleDJuoXdGCpMWhDDWJvmQ6KO+Gozyxc00aEU\nPPDNNpZYoF3qHJiGOTa0WwGB4aMWSlgu/RhXYyJfCxQQA/IFtxL/r6ncY1KK\nMUlvU8yAB8/ZM34qZpxs+ddHCY2/Mbg9bcscrOQt0SBEEG9jZPG1hErWyBGp\nVpDWH1t9Q+s7KS632OpSb8UMR4wjJaV+/C7XdbRnFCBiVlM+YRHqi75eRCrC\nKTt4x7PErs5UgPHHYQ+ZwzKuFCMJO55TGp1LUiFwydOa+p1WM1e5B/cwSa95\nWTJ4saoXw3AhNHFpx4Eg++RGxaxPy26LCxlfQw8dqWbxmPonOMab0Q13dLVL\nPtdC\r\n=Naf6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy13+Zc6nE9O/ZCqzR7r+2TB73oTndmSF7vnnujziJbgIgFszrhvj4ldy4zowUV5PSlyW5ojmGVPHhdctCli1ixtc="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-dom_2.0.0_1620046509010_0.16791822242954346"},"_hasShrinkwrap":false}},"readme":"# has-dom\n\n> Check if a JavaScript environment has a [DOM](https://en.wikipedia.org/wiki/Document_Object_Model)\n\n## Install\n\n```\n$ npm install has-dom\n```\n\n## Usage\n\n```js\nimport hasDom from 'has-dom';\n\n// In Node.js\nhasDom();\n//=> false\n\n// In the browser\nhasDom();\n//=> true\n```\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-18T19:25:17.121Z","created":"2015-01-17T10:14:32.673Z","1.0.0":"2015-01-17T10:14:32.673Z","1.0.1":"2018-03-23T08:06:41.530Z","2.0.0":"2021-05-03T12:55:09.370Z"},"homepage":"https://github.com/sindresorhus/has-dom#readme","keywords":["browsers","dom","js","javascript","env","environment","has","detect","check"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/has-dom.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/has-dom/issues"},"license":"MIT","readmeFilename":"readme.md"}