{"_id":"jsdom-global","_rev":"24-bb525a3f40408ce49db4445b2770b513","name":"jsdom-global","description":"Enable DOM in Node.js","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"jsdom-global","version":"1.0.0","description":"Enable DOM in Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"a1f4869278b01348880e45ff41e0ebfc23eda2c3","_id":"jsdom-global@1.0.0","_shasum":"e0cef7712478a89b3b0bd717d2d84f4010ef7ce5","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"e0cef7712478a89b3b0bd717d2d84f4010ef7ce5","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.0.0.tgz","integrity":"sha512-epG9hPOpkzFjtBcrxcCW4DwxLmIy5JrQigx56HdiHSg+EFk6Pk+JL5wUs+3L8insqIQ4SlAKTB3GRfWGCNNLMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVLG+CX0Itrxu60Re++apnkvK4vw4CI33G6SIZZYYI/QIhAJRjavjkwXgwNnbUvis+fGHBVrDZ8WZyKS99UFqnF5F0"}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.1.0":{"name":"jsdom-global","version":"1.1.0","description":"Enable DOM in Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"6ba53d4933cd8b614ef79214e4c42f5268e7262f","_id":"jsdom-global@1.1.0","_shasum":"15c161c99dd23769ecd02faf4968370d56558241","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"15c161c99dd23769ecd02faf4968370d56558241","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.1.0.tgz","integrity":"sha512-g67xQHgowhNHrx8P8vvJqIkTku5ejWzD52wAHDLiHE2nUvWvSwpi8UR2TKwbAQbbMA3+0yXbbP1eyctP0ehAcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbZTh8P0Obc/jhN4F1ciZv1WowXZBg+4ekaPMfG9MOJgIgfnt1PXgP8qBbwThoJm3j4aYYUlPWWDj+b+RFdde8lYU="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.2.0":{"name":"jsdom-global","version":"1.2.0","description":"Enable DOM in Node.js","main":"index.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"d4a17a41e8ee5605394b99d418d07036a9951722","_id":"jsdom-global@1.2.0","_shasum":"b33ca4fd1bacc57e8257266ab39cf70f8c3b7e88","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"b33ca4fd1bacc57e8257266ab39cf70f8c3b7e88","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.2.0.tgz","integrity":"sha512-mL/4OvNk7wJ5cNNQHVMXKXKdu3Bq8T1Fk+23RWYmvAWO11uGROJLdoDiA3Rr3MUu7aM23fwABA46szmHfPC9xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaA9LWgfJs1XmF6G3NFckwLPGPYT/HlvOS970LQalE6QIhALvc7Ill7zQvDZ2WNaQHnIZCG3NE37J/ERmfBa8OwvXt"}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.3.0":{"name":"jsdom-global","version":"1.3.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"511e7bdeca2dc8c7bba66a1e36efff6337a6813f","_id":"jsdom-global@1.3.0","_shasum":"a83f85352a4c7a6046b2cae3f7f1e7eca08d4215","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"a83f85352a4c7a6046b2cae3f7f1e7eca08d4215","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.3.0.tgz","integrity":"sha512-V3eQgxZneRYxb84U+fIWL21ZxWW46owyQspLBkyuAOZ3XjxbKJRtiqC4BMLNzZol9w+wVXKgA5KPkLiU8TkvKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDX41eO48lxclg6LYNfXAQCcN65pBhQk2knz6vI8/bgAiBffou08AOi3OFR7mokYNTV9vinRo3zVuF5xW7RnilVdQ=="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.4.0":{"name":"jsdom-global","version":"1.4.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"cb0c43a2751700fbe0eb341a7c3983fbcdde2ed4","_id":"jsdom-global@1.4.0","_shasum":"b64eead041b5e51cd21ffff35be7bf2d69a0d8a0","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"b64eead041b5e51cd21ffff35be7bf2d69a0d8a0","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.4.0.tgz","integrity":"sha512-bfIBY3A5AxHLFy7hxgOGOlaqct4Vj0kyKHMsk5CPlHeGDTq6zP9zNr/8oMvd6KNUQepkFwcjZZOpRaBon46s/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBRrepB5Wy5TXOZzFO/6LVKLt3rG7w6ZEzc31ErAF3ZIAiEAsU3VwKN0KMVE/aKbcZgbw6WZ4tEb9UrYi/xCNc8s3N8="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.5.0":{"name":"jsdom-global","version":"1.5.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"7aad5a27d386f1996e61774fa764446245b72381","_id":"jsdom-global@1.5.0","_shasum":"7f5ccde7b010f975c99812bcf37a0a71a7b22e07","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"7f5ccde7b010f975c99812bcf37a0a71a7b22e07","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.5.0.tgz","integrity":"sha512-JlHDvrilUzHEFOiyyz0YNm0d6r9Vqj5Xbq9Gs40Gxg/Qo9wp1wFXHi5JOV91iQTEUJc7F6UNsChtgx+p6E3liA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4Evnp9HPeryE4XAVHovf+IssbjkSyCGw9EGxM7955/QIhALkDWh3cnNsiAWrk00JFRCD1+ppjyHFUol9J7y2WvprX"}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.6.1":{"name":"jsdom-global","version":"1.6.1","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"4e94cd8b8fb1dfa9ac9f786f0a3ae84274bc73c4","_id":"jsdom-global@1.6.1","_shasum":"e7bf5378da85655f4364df93a4ad03eca655cda3","_from":".","_npmVersion":"3.5.3","_nodeVersion":"4.1.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"e7bf5378da85655f4364df93a4ad03eca655cda3","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.6.1.tgz","integrity":"sha512-oNocmLfONRxJ0P85hDJ072FXeQIrZYA45YgBvBTzW06Yl7FTzvNYrdomRyxVrJFv7lVj20EL10lzDFBcV6bTtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHghjehwp+d7MrXOmYhE7b0ohIdxDPQUP86yVlOUEInvAiBcvNKOwn3T4HDuoI97xQuG/MXnzxGb07afS7VHFUkIRw=="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"directories":{}},"1.6.2":{"name":"jsdom-global","version":"1.6.2","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"c6c0eaec9f1db6a12787c91f6fcdfb96b6a27762","_id":"jsdom-global@1.6.2","_shasum":"bc17cf2d76736453bd696b2c8b89dcf5f7ad6773","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"bc17cf2d76736453bd696b2c8b89dcf5f7ad6773","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.6.2.tgz","integrity":"sha512-fbWDTe8AqoFWdqsNXvDJm9GgV5MNqKkxRdIScJAeRrYeWm/If5sQzwEhCeWbfvRotEsUoF2foYOnRRHi+hZOBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVAr26NTS0UZn1pmm+dp48/k60F/uALchNpAteNCL5QQIgFokytPAYOEiOQeDhzRWJ67O9HbYWHe7taf5JjlGdn8s="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/jsdom-global-1.6.2.tgz_1456152329556_0.1407576019410044"},"directories":{}},"1.7.0":{"name":"jsdom-global","version":"1.7.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"7.2.2","tape":"4.4.0"},"gitHead":"9a84366cd5f40f420ee12bd3ccb66c610c1b2dc8","_id":"jsdom-global@1.7.0","_shasum":"9967b409be715cf7fcf04bfd37945b945b494d52","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"9967b409be715cf7fcf04bfd37945b945b494d52","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-1.7.0.tgz","integrity":"sha512-m7U5+00IW8UrqGRvdZ1KESduG5FSOL8LD4ZlSCeb9zxA+b+9bnL+/H8p+3mNvWAMjq2vHNWgLU4a18BQzxz2ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwzEjiD/YgE4q2GWOEdGyevhRwCTimQMtgUbi0csOl5AiB5ZRHOJrnq0103QI++RWdOPyxMG3wPYnfSBbs7aXYQCQ=="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/jsdom-global-1.7.0.tgz_1458549274673_0.599501051241532"},"directories":{}},"2.0.0":{"name":"jsdom-global","version":"2.0.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js && standard"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"9.0.0","standard":"7.0.1","tape":"4.4.0"},"gitHead":"4482bc95bef2f31647135ade546ed98dec8e3f9e","_id":"jsdom-global@2.0.0","_shasum":"ef7451defd3d1d5f37bc3e04b94821e47c6a50cb","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"ef7451defd3d1d5f37bc3e04b94821e47c6a50cb","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-2.0.0.tgz","integrity":"sha512-pw0dbsj80OOO5UkkkrpU97oFeZ5S49Cw0P4BFCwwzbTe9qhDqrrwMAazV0x3H3970KMn6SueuLnmo+POSTL97w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrgdtM4rIel5evdMwUyDBcpFlZXHwR0soJMU02AAKKrAiBTSQ3Q1nb+tvUDTAq9qgmQY34m22k3B/3MGK/wpxh4gQ=="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/jsdom-global-2.0.0.tgz_1463151086172_0.7895948658697307"},"directories":{}},"2.1.0":{"name":"jsdom-global","version":"2.1.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js && standard"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"9.0.0","standard":"7.0.1","tape":"4.4.0"},"gitHead":"79f4d0bcd0458476292d6162c91e41634c642ff2","_id":"jsdom-global@2.1.0","_shasum":"70ba3fddb5a735dac886c49bb1168fa04a10e8dc","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"70ba3fddb5a735dac886c49bb1168fa04a10e8dc","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-2.1.0.tgz","integrity":"sha512-NxJ8Ub5p05VG4DJF/pn+L2mTOlhCDpUj/MgXbo9NwkyaBrsEeo9j/osb6IPuRV22DsreQ6lmj5yZDMGnbdYc2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHf1PVghBi9mp0QoUbGbgO28a4hPLSKFswzz0EwZ4PZKAiBThVr7BGlcoOxxMQUzA6pblkT4+BbeBYsLLkJ+GmSOBw=="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jsdom-global-2.1.0.tgz_1471858179381_0.9433165029622614"},"directories":{}},"2.1.1":{"name":"jsdom-global","version":"2.1.1","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js && standard"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"9.0.0","standard":"7.0.1","tape":"4.4.0"},"gitHead":"9748b5c3d7dbb2f1d25e9662e207c5a33c482aa4","_id":"jsdom-global@2.1.1","_shasum":"47d46fe77f6167baf5d34431d3bb59fc41b0915a","_from":".","_npmVersion":"4.0.3","_nodeVersion":"6.3.0","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"47d46fe77f6167baf5d34431d3bb59fc41b0915a","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-2.1.1.tgz","integrity":"sha512-nVZiKQhXZzmkFSF+AfpvErIYuzPEuBV684gYpWagtwWTLiy0p5EgQbP7gmNNA6/qxFb8l1E5w1NjES5nSBCw5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQJ2mrAegaGIbMLVxXBDg6P7YMWA1FvtSET1PNY/XW3AiBanCGo6vnfWPIy77FaWmiS9Sve7BlSeSIOZWBXf8ztlw=="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jsdom-global-2.1.1.tgz_1482524743073_0.6456480417400599"},"directories":{}},"3.0.0":{"name":"jsdom-global","version":"3.0.0","description":"Enable DOM in Node.js","main":"index.js","browser":"browser.js","scripts":{"test":"node test.js && standard"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"keywords":["jsdom","dom","test"],"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"license":"MIT","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","devDependencies":{"jsdom":"~10.0.0","standard":"~10.0.2","tape":"~4.6.3"},"gitHead":"3050b2edae9ff68a68c343d8d411a7892324f513","_id":"jsdom-global@3.0.0","_shasum":"45b8c4cc3ffceea04e5e14351fe74995fe8e6abe","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"45b8c4cc3ffceea04e5e14351fe74995fe8e6abe","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-3.0.0.tgz","integrity":"sha512-ZEozlp/EUMWUShaw4Ks9E3pQTGf9BQmSD0BSesJ/7AAS6Ut0riq+XwZ70YI3qFM55wwnkVQNIKjaFAgSSQS28g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJbLpSTWF5Gna3mQGCNN0ij1UycYEW6tbMacCTtYJ9BAiEAvMPVJf+FbfWhy8k3GsL7HbKXma7gfGdppi4mQY0ZIUQ="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jsdom-global-3.0.0.tgz_1494236526530_0.6354626666288823"},"directories":{}},"3.0.2":{"name":"jsdom-global","description":"Enable DOM in Node.js","version":"3.0.2","author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"browser":"browser.js","bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"devDependencies":{"jsdom":"~10.0.0","standard":"~10.0.2","tape":"~4.6.3"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","keywords":["dom","jsdom","test"],"license":"MIT","main":"index.js","peerDependencies":{"jsdom":">=10.0.0"},"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"scripts":{"test":"node test.js && standard"},"gitHead":"58ca23634a566de48185ae8d5d20ff099ccd9496","_id":"jsdom-global@3.0.2","_shasum":"6bd299c13b0c4626b2da2c0393cd4385d606acb9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"rstacruz","email":"dropbox@ricostacruz.com"},"dist":{"shasum":"6bd299c13b0c4626b2da2c0393cd4385d606acb9","tarball":"https://registry.npmjs.org/jsdom-global/-/jsdom-global-3.0.2.tgz","integrity":"sha512-t1KMcBkz/pT5JrvcJbpUR2u/w1kO9jXctaaGJ0vZDzwFnIvGWw9IDSRciT83kIs8Bnw4qpOl8bQK08V01YgMPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAoHaEgcK8bRFh3iJtGINDg+SPlQLr/Ldld19uUarYhWAiEAqEy9wCj1S4mVPRGo8P1mei5o5WiZhiEGCfoa7IchKLQ="}]},"maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jsdom-global-3.0.2.tgz_1494236920333_0.18398510105907917"},"directories":{}}},"readme":"# jsdom-global\n\n> Enables DOM in Node.js\n\njsdom-global will inject `document`, `window` and other DOM API into your Node.js environment. Useful for running, in Node.js, tests that are made for browsers.\n\n[![Status](https://travis-ci.org/rstacruz/jsdom-global.svg?branch=master)](https://travis-ci.org/rstacruz/jsdom-global \"See test builds\")\n\n## Install\n\nRequires [jsdom][].\n\n```\nnpm install --save-dev --save-exact jsdom jsdom-global\n```\n\n[jsdom]: https://github.com/tmpvar/jsdom\n\n## Note\n\njsdom-global now requires jsdom v10 or above. If you need jsdom v9 and below, use the previous version (`jsdom-global@2`).\n\n## Usage\n\nJust invoke it to turn your Node.js environment into a DOM environment.\n\n```js\nrequire('jsdom-global')()\n\n// you can now use the DOM\ndocument.body.innerHTML = 'hello'\n```\n\nYou may also pass parameters to jsdomGlobal() like so: `require('jsdom-global')(html, options)`.\nCheck the [jsdom.jsdom()][] documentation for valid values for the `options` parameter.\n\nTo clean up after itself, just invoke the function it returns.\n\n```js\nvar cleanup = require('jsdom-global')()\n\n// do things\n\ncleanup()\n```\n\n## Tape\n\nIn [tape][], run it before your other tests.\n\n```js\nrequire('jsdom-global')()\n\ntest('your tests', (t) => {\n  /* and so on... */\n})\n```\n\n## Mocha\n\n__Simple:__ Use Mocha's `--require` option. Add this to the `test/mocha.opts` file (create it if it doesn't exist)\n\n```\n-r jsdom-global/register\n```\n\n__Advanced:__ For finer control, you can instead add it via [mocha]'s `before` and `after` hooks.\n\n```js\nbefore(function () {\n  this.jsdom = require('jsdom-global')()\n})\n\nafter(function () {\n  this.jsdom()\n})\n```\n\n[tape]: https://github.com/substack/tape\n[mocha]: https://mochajs.org/\n[jsdom.jsdom()]: https://github.com/tmpvar/jsdom/#for-the-hardcore-jsdomjsdom\n\n## ES2015\n\nIf you prefer to use `import` rather than `require`, you might want to use `jsdom-global/register` instead. Place it on top of your other import calls.\n\n```js\nimport 'jsdom-global/register'\nimport React from 'react'\nimport jQuery from 'jquery'\n// ...\n```\n\n## Browserify\n\nIf you use [Browserify] on your tests (eg: [smokestack], [tape-run], [budo], [hihat], [zuul], and so on), doing `require('jsdom-global')()` is a noop. In practice, this means you can use jsdom-global even if your tests are powered by browserify, and your test will now work in both the browser and Node.\n\n[zuul]: https://www.npmjs.com/package/zuul\n[tape-run]: https://www.npmjs.com/package/tape-run\n[budo]: https://github.com/mattdesl/budo\n[hihat]: https://www.npmjs.com/package/hihat\n[smokestack]: https://www.npmjs.com/package/smokestack\n\n* Writing your tests (`test.js`):\n\n  ```js\n  require('jsdom-global')()\n\n  // ...do your tests here\n  ```\n\n* Running it with [smokestack]:\n\n  ```sh\n  browserify test.js | smokestack          # run in a browser\n  node test.js                             # or the console\n  browserify test.js --no-bundle-external  # also works (but why bother?)\n  ```\n\n* Running it with Babel ([babelify] or [babel-cli]):\n\n  ```sh\n  browserify test.js -t babelify | smokestack  # run in a browser (with babel)\n  babel-node test.js                           # or the console\n  ```\n\n[Browserify]: http://browserify.org/\n[babel-cli]: https://babeljs.io/docs/usage/cli/\n[babelify]: https://github.com/babel/babelify\n\n## Thanks\n\n**jsdom-global** © 2016+, Rico Sta. Cruz. Released under the [MIT] License.<br>\nAuthored and maintained by Rico Sta. Cruz with help from contributors ([list][contributors]).\n\n> [ricostacruz.com](http://ricostacruz.com) &nbsp;&middot;&nbsp;\n> GitHub [@rstacruz](https://github.com/rstacruz) &nbsp;&middot;&nbsp;\n> Twitter [@rstacruz](https://twitter.com/rstacruz)\n\n[MIT]: http://mit-license.org/\n[contributors]: http://github.com/rstacruz/jsdom-global/contributors\n","maintainers":[{"name":"rstacruz","email":"dropbox@ricostacruz.com"}],"time":{"modified":"2022-06-19T05:58:44.334Z","created":"2016-01-11T03:10:35.581Z","1.0.0":"2016-01-11T03:10:35.581Z","1.1.0":"2016-01-11T03:17:24.089Z","1.2.0":"2016-01-11T04:48:22.286Z","1.3.0":"2016-01-11T08:56:44.490Z","1.4.0":"2016-01-12T12:25:45.025Z","1.5.0":"2016-01-12T12:30:21.233Z","1.6.0":"2016-01-14T20:56:31.218Z","1.6.1":"2016-01-14T21:00:25.570Z","1.6.2":"2016-02-22T14:45:33.555Z","1.7.0":"2016-03-21T08:34:35.135Z","2.0.0":"2016-05-13T14:51:29.525Z","2.1.0":"2016-08-22T09:29:39.608Z","2.1.1":"2016-12-23T20:25:43.309Z","3.0.0":"2017-05-08T09:42:06.767Z","3.0.1":"2017-05-08T09:43:58.293Z","3.0.2":"2017-05-08T09:48:40.567Z"},"homepage":"https://github.com/rstacruz/jsdom-global#readme","keywords":["dom","jsdom","test"],"repository":{"type":"git","url":"git+https://github.com/rstacruz/jsdom-global.git"},"author":{"name":"Rico Sta. Cruz","email":"rico@ricostacruz.com"},"bugs":{"url":"https://github.com/rstacruz/jsdom-global/issues"},"license":"MIT","readmeFilename":"README.md","users":{"tsxuehu":true,"chenkan":true}}