{"_id":"get-dom","_rev":"11-3ed7ceec42a416ffb75c8a57fa479f49","name":"get-dom","description":"Return a Document or DOMImplementation instance in both Node and the browser ","dist-tags":{"latest":"13.0.0"},"versions":{"1.0.0":{"name":"get-dom","version":"1.0.0","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon","email":"robin@standardanalytics.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint":"1.9.0","mocha":"2.3.3"},"dependencies":{"jsdom":"7.0.2"},"gitHead":"19253df9e901ffde14298d089a5696790ada7f13","_id":"get-dom@1.0.0","_shasum":"c3872db2c6a5612816db933058158b35486025f6","_from":".","_npmVersion":"2.14.8","_nodeVersion":"4.2.1","_npmUser":{"name":"scienceai","email":"team@standardanalytics.io"},"dist":{"shasum":"c3872db2c6a5612816db933058158b35486025f6","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-1.0.0.tgz","integrity":"sha512-Mf8BZMWGADmsfJVV52a4cbIpQKWiqkZw9H8F9d8CptF2i6458JN4d1FNZVf0xa2ViVjUndj1x17ZlMhgey4e2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1dFESwp6lj+fHh2+IGDHPfaig1sXiQB/XdKzUGqJFswIgUEnauX1xGKO+QEKJvqiMqRldr/MpWPvfCj+MWOLkA80="}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"directories":{}},"1.0.1":{"name":"get-dom","version":"1.0.1","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon","email":"robin@standardanalytics.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint":"1.9.0","mocha":"2.3.3"},"dependencies":{"jsdom":"7.0.2"},"gitHead":"61c998cff122fd1724943117a47c2123f9d185eb","_id":"get-dom@1.0.1","_shasum":"0f04f235fd1a4f043564f92877a861c37907c321","_from":".","_npmVersion":"2.14.8","_nodeVersion":"4.2.1","_npmUser":{"name":"scienceai","email":"team@standardanalytics.io"},"dist":{"shasum":"0f04f235fd1a4f043564f92877a861c37907c321","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-1.0.1.tgz","integrity":"sha512-XIYkWbVZ355LAF1Yxc1Obj1bcyAB24EFhaEptD0EIR3LLQUdVKrCPQPd5NbwixAWIcTxnGQe1wfYSi0Soix+ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCODc1Bwgqg2eN3MPSu1XKTu7YH3tC9vlGPwBH+LYqXmwIhAKhsArs65EEtewZXZ2WWVpGRfr0FbXuUIGJVzI2oIA8g"}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"directories":{}},"1.0.2":{"name":"get-dom","version":"1.0.2","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon","email":"robin@standardanalytics.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint":"1.10.3","mocha":"2.3.4"},"dependencies":{"jsdom":"^7"},"gitHead":"32bbec41e4e238903ea340cd7267684a6bd135c1","_id":"get-dom@1.0.2","_shasum":"31e219dac918d71cf5d4b536c1d23aeab479a553","_from":".","_npmVersion":"2.14.13","_nodeVersion":"4.2.1","_npmUser":{"name":"scienceai","email":"team@standardanalytics.io"},"dist":{"shasum":"31e219dac918d71cf5d4b536c1d23aeab479a553","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-1.0.2.tgz","integrity":"sha512-h82r6mGK3PaQ/uOz95P3rl+QM2TrHcwesbYd+AR+oOY8xaDfUKIz7ORALrEKfNPDcLGaKwOpirJvgtPAE1VcNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO0Dsk+xgH1S6/E1WfkJ4b3pwCO7uBBSTo1N9pZApNEgIhAJYI7yrnAlzFe9Cu9W/monNL2GrZwYE/2OuGVp6xtLX3"}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"directories":{}},"1.1.0":{"name":"get-dom","version":"1.1.0","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon","email":"robin@standardanalytics.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint":"1.10.3","mocha":"2.4.5"},"dependencies":{"jsdom":"^8"},"gitHead":"0ee190447387d1c976628e5bcc42876f11966b85","_id":"get-dom@1.1.0","_shasum":"f1b3b8b857178e6f1daa7bbe99c9784298b03aa9","_from":".","_npmVersion":"2.14.13","_nodeVersion":"4.2.1","_npmUser":{"name":"scienceai","email":"team@standardanalytics.io"},"dist":{"shasum":"f1b3b8b857178e6f1daa7bbe99c9784298b03aa9","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-1.1.0.tgz","integrity":"sha512-KxfYvbXKwhgFKwZophep8jD6QQeSHV7tXWuUrQu96nOtpvV3Vng58y0hUGh6EbhBlJKkmU4fR9n93ASZR3PKIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJ0rVh3hrmzoRIyKgJXpkXCXSxA7zH/YPneSlbZGICRwIgNtzr3CmgBQ2oOSB7RWGP37sTb+VYeAC+VmMRFGUm538="}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/get-dom-1.1.0.tgz_1454695771907_0.30636310181580484"},"directories":{}},"1.2.0":{"name":"get-dom","version":"1.2.0","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon","email":"robin@standardanalytics.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint":"1.10.3","mocha":"2.4.5"},"dependencies":{"jsdom":"^8"},"gitHead":"b48c8ac6688447a060f73c13ed56c340f8ab1418","_id":"get-dom@1.2.0","_shasum":"9cd4a85470a0009cb7e22d5bf7c40fde1e880c40","_from":".","_npmVersion":"2.14.13","_nodeVersion":"4.2.1","_npmUser":{"name":"scienceai","email":"team@standardanalytics.io"},"dist":{"shasum":"9cd4a85470a0009cb7e22d5bf7c40fde1e880c40","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-1.2.0.tgz","integrity":"sha512-srHPJmn26aviNjdr4yWn8N4T0/Cumg8X1Uy5hMH5eSQjnvc/MHC3rjwpGwc4rjIZGB1meh/m6MlnUb7jJ3RLGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFtzrPIzGlaNk8xYf2ntA4W4cI9VY7r0FmLAi9KWkeuAiEAgl3XcByDbvmAEwbfWbbd9idQw1rx3BkUaAwlHtcFy3M="}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/get-dom-1.2.0.tgz_1454696735782_0.4037656744476408"},"directories":{}},"9.0.0":{"name":"get-dom","version":"9.0.0","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon","email":"robin@standardanalytics.io"},"license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint-config-scienceai":"1.1.2","mocha":"2.4.5"},"dependencies":{"jsdom":"^9"},"gitHead":"5987865bf30036a9372b1a0e0b20d14d673a6aef","_id":"get-dom@9.0.0","_shasum":"30ac0e18724ec2dbeaec8525e70492d3c2de5f32","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"scienceai","email":"team@standardanalytics.io"},"dist":{"shasum":"30ac0e18724ec2dbeaec8525e70492d3c2de5f32","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-9.0.0.tgz","integrity":"sha512-ebxBjiK+Tf2NU97x9yrIy/cmDXLRxDqju6ooRKBLDsxeUrQLR9zYuLobhLPITn8zyQFhnnVcCKWi+ti5ECHPrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCekWsXlHgFUywyowewXkHMDdKPcgYh1+JENrMdotnPMQIgD5ATDF8EtRuhasUV0TZ4yQFEWJWjejW+S+gSovg16zA="}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/get-dom-9.0.0.tgz_1463068329721_0.7556126955896616"},"directories":{}},"13.0.0":{"name":"get-dom","version":"13.0.0","description":"Return a Document or DOMImplementation instance in both Node and the browser ","main":"index.js","browser":"browser.js","scripts":{"test":"mocha","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"keywords":["Document","DOMImplementation","bundler","browserify"],"author":{"name":"Robin Berjon"},"contributor":"Sebastien Ballesteros","license":"Apache-2.0","bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"homepage":"https://github.com/scienceai/get-dom","devDependencies":{"eslint-config-scienceai":"^4.4.0","mocha":"^6.0.1"},"dependencies":{"jsdom":"^13.2.0"},"gitHead":"b52ba5b16fb60d7c637b590d30a5a74ef8a9cff2","_id":"get-dom@13.0.0","_nodeVersion":"10.15.1","_npmVersion":"6.8.0","dist":{"integrity":"sha512-UDGUU5tuCT/mKQQ+wYreho5KZi3+b0KNrXyIQxuJLzVOTv31gtbRjhQFIgCnB9OGXQlGUZEaOQb6Lyi/QRWT1g==","shasum":"176dc79075e7a6549999ac7caf6db93e6325ece8","tarball":"https://registry.npmjs.org/get-dom/-/get-dom-13.0.0.tgz","fileCount":6,"unpackedSize":14301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc0MACRA9TVsSAnZWagAAXE0P/RA+mV4lo9tBzUa3PgwL\nXQu3Ym4I4orccYffZin5zHzzFEBTpiJm7yMWYhlqZC68Uf803gC1S4amG58Q\nUeDgI6ktduAr1A7VKehqKh0HxQs7EI4UarYvNXiu8jOxVzknEfOg7KSE2ROZ\nF/IIYKFmz3mQ844YtMYwXILk9wOk7hg0b8q9uWOWbyIniNpExTezqdxU3Mwi\nyZP9Uvw+r3MRB2ava5WKVoPGddfUHl+rI+66I5SAreFufX1G4ZUvQaByQw1E\n24f1iblY7KyIe9mA2oPyk53xVYuzxohAg7ll8F+5MURMu571JAwwMJllIBKG\nc0NuuEpRzFCmcrzSBP7hqZSaPGfXRdJPl2KNnBG4KVNAHvDfO+XD5tsn/asp\nb/oV34fdKDJTB9eLzaMbBgFvox2l/U4imyUuNncGqfK61UWM5RmdUleLkeR7\nVDnZYhzbD/wvAr3xt7HJiFRTbQ4cx2hDpLHAtSFQrboVjIMJhK5wh3jPciBF\nwqNoE91A+kJDsQIDYZP8ybkucUD5Ec11Lt6J0QWWY4VxVHqy8jdwvWP9c9A/\nwRUtKwPbJ6RG0XlFiIfWXwV/wURUPnWEjiqqmhJJ1vx+2TCnipsBepf/oPDp\nIX4PVk8ii2DchNzhPVLARjG7JLxC5Xa6gJPEtovVslz4eMO1D3Bbg7mjwSZk\nXZG+\r\n=Tqn8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOkWJvINww239c4KItb9YbjCKsxlZjV1fv9B/ml0yJaAIgT5tIPuDWbMK2XlyT0Rd6bnz1v3878r0BpVqPhRsN3ns="}]},"maintainers":[{"name":"scienceai","email":"team@standardanalytics.io"}],"_npmUser":{"name":"scienceai","email":"sebastien.ballesteros@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-dom_13.0.0_1551057663529_0.7178510723079237"},"_hasShrinkwrap":false}},"readme":"\n# get-dom\n\n[![CircleCI](https://circleci.com/gh/scienceai/get-dom.svg?style=svg)](https://circleci.com/gh/scienceai/get-dom)\n\nThis is a very simple module. Use it whenever you need to have access to either a `Document` or a\n`DOMImplementation` instance in Node or the browser transparently.\n\nWhen running in Node, this will use `jsdom` to provide you with the right objects. While `jsdom`\nworks in the browser, it's a pretty big dependency to have and you already have a DOM there. So\nwhen loaded in a browser this module does not at all depend on `jsdom` but rather returns the\ncurrent `document` and its `document.implementation`. (If you want a new instance, just use the\n`DOMImplementation` to create one).\n\n**NOTE**: This only works with bundlers that respect the `browser` field in `package.json`\n(Browserify does, I guess the other big ones do too).\n\nThe major version number for this module now tracks that of `jsdom`.\n\n## Installation\n\n    npm install get-dom\n\n## API\n\n```js\nimport dom from 'get-dom';\nlet doc = dom.document();\nlet impl = dom.implementation();\n```\n\nOr for those of you who like your JS retro:\n\n```js\nvar dom = require('get-dom');\nvar doc = dom.document();\nvar impl = dom.implementation();\n```\n\nYou can look under `example-browser` to see how this works in the browser, once browserified.\n","maintainers":[{"email":"sebastien.ballesteros@gmail.com","name":"sballesteros"},{"email":"sebastien.ballesteros@gmail.com","name":"scienceai"}],"time":{"modified":"2022-06-18T07:47:15.714Z","created":"2015-11-09T23:26:43.621Z","1.0.0":"2015-11-09T23:26:43.621Z","1.0.1":"2015-11-09T23:30:34.550Z","1.0.2":"2016-01-08T16:16:17.363Z","1.1.0":"2016-02-05T18:09:34.256Z","1.2.0":"2016-02-05T18:25:38.278Z","9.0.0":"2016-05-12T15:52:12.121Z","13.0.0":"2019-02-25T01:21:03.681Z"},"homepage":"https://github.com/scienceai/get-dom","keywords":["Document","DOMImplementation","bundler","browserify"],"repository":{"type":"git","url":"git+https://github.com/scienceai/get-dom.git"},"author":{"name":"Robin Berjon"},"bugs":{"url":"https://github.com/scienceai/get-dom/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}