{"_id":"when-dom-ready","_rev":"17-d427c73d3aee2c2b353dc701be72ad47","name":"when-dom-ready","description":"$(document).ready() for the 21st century","dist-tags":{"latest":"1.2.12"},"versions":{"1.0.0":{"name":"when-dom-ready","version":"1.0.0","description":"Check when the DOM is ready","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"d08b9d73fcdd41ea95405feb97015ebbb3053b4e","_id":"when-dom-ready@1.0.0","_shasum":"3951bfac0ee6679e8638f20d575212f2a2b63b97","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"3951bfac0ee6679e8638f20d575212f2a2b63b97","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.0.0.tgz","integrity":"sha512-Zgqpjq1Qf46rDdp5rpfr0i5+/rmYcTA/hK1d4TdR7ueUs1Msn8d1A27u0PcQW1ip2zFAMJYtnuPa9vZFvIHd6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCihCxzEyWDIGuFWFQvTeym8AnUki9AP7sGTtJDTb3XPgIhAMYZXhr5IrGaMeqb5rXU8UsVZrU5vwU58Gmb0nw+lRXB"}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.0.0.tgz_1484586121800_0.12668031663633883"}},"1.0.1":{"name":"when-dom-ready","version":"1.0.1","description":"$(document).ready() for the 21st century","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"85a14786e15a18c67e5015f91e238d8f52b3927e","_id":"when-dom-ready@1.0.1","_shasum":"c95f737ddbda30129a7d8a205f1fe0302ae94a6f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"c95f737ddbda30129a7d8a205f1fe0302ae94a6f","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.0.1.tgz","integrity":"sha512-D5QB2R8DTeTyebDvydulgQ1LI9fLd53x/vytuZx2Nc4hPr+8Bqgb2EXwfhlev/BC1pFeP0mNIfHPJHGGl9y1gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF3L4/d0zf5dIIHfMvDXY7hj282GwBpBwIIYsFfcq+wxAiBUmGN2W20AZE1faPVap5l6x/kM0mvsGW1KNKpd6XJNfA=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.0.1.tgz_1484586622611_0.017254060367122293"}},"1.1.0":{"name":"when-dom-ready","version":"1.1.0","description":"$(document).ready() for the 21st century","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"c57db9096db39a1e5e7edeec158a010a2ea81ef0","_id":"when-dom-ready@1.1.0","_shasum":"d3466e3e3ebc7a65eca97cb8a4a0f64c6bef18f7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"d3466e3e3ebc7a65eca97cb8a4a0f64c6bef18f7","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.1.0.tgz","integrity":"sha512-bEY5A/maOQ7n4IOienneRtbrMwJdRzfvrnTp+GZk+wEPVDJ/CI6V63R/uD7nF2OQpkZpAZRO8hDkpeOOML8wFQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHxBhqZsVKiR8C+jXYiXRduDwC10s/XfuT7Pws4QkpWAiBID19Z9qfj4taUJd32RrhH65H6rj/sZrEzhvxBQJHFAg=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.1.0.tgz_1484587150687_0.281123228603974"}},"1.2.0":{"name":"when-dom-ready","version":"1.2.0","description":"$(document).ready() for the 21st century","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"d2139b709f6b8828c71dda3702a0c961f7c236d7","_id":"when-dom-ready@1.2.0","_shasum":"f98f1c35ff61c8f3a9c91f1208016fcd67778966","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"f98f1c35ff61c8f3a9c91f1208016fcd67778966","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.0.tgz","integrity":"sha512-RA62fP+fMXzH4/OgqnDUdQK/6cIfHrY7BZQG48wGnN0P43l/vXjW2hheEP2IkR1YOeVf08qvyDiVx2SmlunYOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDo7tnqtg9s+o71QL2M/mhf/l4leBdaFElsmBBsfl6ATAIgCTSJo11YFKtefJFMnvBAGzSO2+NtmKez51DXcAf0bFk="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.0.tgz_1484616663895_0.5053898403421044"}},"1.2.1":{"name":"when-dom-ready","version":"1.2.1","description":"$(document).ready() for the 21st century","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"08a7d7aca591a2b57644fa0120a7fac8e6acb890","_id":"when-dom-ready@1.2.1","_shasum":"5d245ad6dadc766e7956ff3401d8cfc79489d604","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"5d245ad6dadc766e7956ff3401d8cfc79489d604","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.1.tgz","integrity":"sha512-dYPjQoOcZLSO8Z392wu8YORtxMpFq0MEYWl+x290UPVt1tK7bczgYSj127wZ02h0XgTOh9SimQC5XSrvncUmSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdKkwaLK42kCzNCiUtjzSnw/5iuurUZ4pFrRIOxRob1gIgVAUvhPHGNmVPfBIMyKbXgpFrj6BGgaKDHDwAHxFztkU="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.1.tgz_1484622513572_0.4165957609657198"}},"1.2.2":{"name":"when-dom-ready","version":"1.2.2","description":"$(document).ready() for the 21st century","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"93c5b15b2be453c5ffd41ac2f8735588377c46b5","_id":"when-dom-ready@1.2.2","_shasum":"3b68e4af00a3a2b24972fec5712c740fdd593f9b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"3b68e4af00a3a2b24972fec5712c740fdd593f9b","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.2.tgz","integrity":"sha512-2GAj4c9Tkzw2gFzwL066G4KCbebifucj/sFmQwlgiz8o/MLV+6gXS3GzTrHo/LuOwn80PsEOWe7Cg+J7Bf9P4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQnmYHMo2mOcKbwwhV6OaxvXGMaOBFeP8/4Ur1TCk8wAIgQcPP/Dx1fb8yYnFItGEpT/q0pdYE4R0CU+yHZZ+E1Gk="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.2.tgz_1484622639364_0.21180335548706353"}},"1.2.3":{"name":"when-dom-ready","version":"1.2.3","description":"$(document).ready() for the 21st century","main":"dist/index.js","scripts":{"prebuild":"rm -rf dist","build":"babel -d dist src","prebuild:map":"npm run prebuild","build:map":"babel --source-maps=true -d dist src","pretest":"npm run build:map","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-cli":"^6.22.2","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"6a81082c1095c6c354e53508fe4eb98fb4085022","_id":"when-dom-ready@1.2.3","_shasum":"026240b0e54c4069bb631b87035ede8568e28f89","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"026240b0e54c4069bb631b87035ede8568e28f89","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.3.tgz","integrity":"sha512-ZMYj3uNzhO8KdIk3hIiX0+86Tfasi8GDDS1YAWCUColG9MO0G+Aqp4PWdvdCL8n1PCxIyVsz+/WrjyD1QwEZRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWzmrzDBHKwVzFxK4t3Lmrgh8YBZsiePZ0irrxkNNMzwIhAINlE+jPRc2aG5ec4So+cUUWmg/AYYWbfFmwlzdOOMha"}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.3.tgz_1485254426157_0.5754009769298136"}},"1.2.4":{"name":"when-dom-ready","version":"1.2.4","description":"$(document).ready() for the 21st century","main":"dist/index.js","scripts":{"prebuild":"rm -rf dist","build":"babel -d dist src","prebuild:map":"npm run prebuild","build:map":"babel --source-maps=true -d dist src","pretest":"npm run build:map","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-cli":"^6.22.2","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"615e69828494b5d659a20db54013436bbf2068e6","_id":"when-dom-ready@1.2.4","_shasum":"c94c45ac0cc99a29014f0677363b36faffc5ec9a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"c94c45ac0cc99a29014f0677363b36faffc5ec9a","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.4.tgz","integrity":"sha512-9N9Zp8YZd/WEkkeB0oaPupxzJxzbTC/sJflJjXeW7cLGhGW/Ka0LHhP1xJoCvjKJTn0SqC1xJFZQ4jGjdz/qxw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMjHFI22ADsyrrHnYKnst+R64JULczIT+44U2GPFBXSAIgfcQ5TWK4iw4X7JMZMr7IKu3FQCyMidEyKXVleqlYuTs="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.4.tgz_1485683978362_0.3376180676277727"}},"1.2.5":{"name":"when-dom-ready","version":"1.2.5","description":"$(document).ready() for the 21st century","main":"dist/index.js","scripts":{"prebuild":"rm -rf dist","build":"babel -d dist src","prebuild:map":"npm run prebuild","build:map":"babel --source-maps=true -d dist src","pretest":"npm run build:map","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-cli":"^6.22.2","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.19","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","xo":"^0.17.1"},"gitHead":"d1ee9c5bb26e74aac2a5ec5cdcc0b28875c67b18","_id":"when-dom-ready@1.2.5","_shasum":"e397add3596d46fe0effd34c2eec30d08602a423","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"e397add3596d46fe0effd34c2eec30d08602a423","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.5.tgz","integrity":"sha512-kqsTwrdjVX2IC8NRzEr7tvyeEDiwStvT7iNh6VnL8Iiuce0hRaN49LWVz1hkFGv5pAcpGpaLfBe9sgUnEzMJ2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIQW8dztRnTPlqw+T9Tb1UrzjZ6QKMBt4gr9isKhg7+AiEA7GoqFOUkqaSQOFy8mnRVsD0B39zNWtp3C+m8W63Fkv8="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.5.tgz_1485957255892_0.5177539617288858"}},"1.2.6":{"name":"when-dom-ready","version":"1.2.6","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.19","camelcase":"^4.0.0","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","xo":"^0.17.1"},"gitHead":"57af7c5639a2304ff81624a7b34f01e6aad7de0b","_id":"when-dom-ready@1.2.6","_shasum":"87fbd3af552410a416349359e149921a0cfa0d87","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"87fbd3af552410a416349359e149921a0cfa0d87","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.6.tgz","integrity":"sha512-3x+A/vptNxFMdMvyDCquqSnzZxkKoxGj2GdCUSjFBSpJq0vg3iVQmy4Erh0U2q0sqOMFIucsTNKc9ICFNDTOdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAUVQMlGnmMTuoVMteV+aWLXZWB8jl4ePgdYIzVDQUbYAiAXyE314XpDL5JAFKK1x5Fzi5mn8Q0ZP3JoYWffKGVeVw=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.6.tgz_1486465368366_0.5766641735099256"}},"1.2.7":{"name":"when-dom-ready","version":"1.2.7","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.23","camelcase":"^4.0.0","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","xo":"^0.17.1"},"gitHead":"ceb7caa571f63583f4a817aa53b0a42b8eb53cd8","_id":"when-dom-ready@1.2.7","_shasum":"7af1f7caac3db3dc20d568d1af6f442fdf5822bd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"7af1f7caac3db3dc20d568d1af6f442fdf5822bd","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.7.tgz","integrity":"sha512-qNgB4MMJbwkQHBdFU0Ksm9yoJZvrvTu9Oqmxj4ysOg2qow+gTzJFxaZv/pJafN+rjkosaHcJVS+h20pPrc3GZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXccQz8C/LzAYhzjviEDoUyAocmdNamu2dqiO7dq8vVAiEAyeO1tvrxQAu7nkRdie/MHMvhX0fxLdfr+GsmiLVjmc8="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.7.tgz_1488864507862_0.46258544526062906"}},"1.2.8":{"name":"when-dom-ready","version":"1.2.8","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.23","camelcase":"^4.0.0","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","xo":"^0.17.1"},"gitHead":"2f95cd07e92429db3df132a29e6da43eeaf5fe8a","_id":"when-dom-ready@1.2.8","_shasum":"71f9f45a443437369dafe63c658bc6992a3595af","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"71f9f45a443437369dafe63c658bc6992a3595af","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.8.tgz","integrity":"sha512-4/efDI5UcOWgpugC5U+sR7S0Hibc/Rolq9LuRkr/Yt2dNfi6armcVzfjHYK4wxGq7STGuO2TvBxjWGZSwD5x6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFFeekt2rG8dZrhZDC1aqcJWTKHcCRFOstEm7dp6CFWJAiEA+qfOtBFm7rRxtzovenxZyqvWiCVc5oxOnHHrJ/uxCl8="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.8.tgz_1488888203637_0.3036310200113803"}},"1.2.9":{"name":"when-dom-ready","version":"1.2.9","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.23","camelcase":"^4.0.0","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","xo":"^0.17.1"},"gitHead":"13984f7bcbc394870be3d8769d792402068f9ac4","_id":"when-dom-ready@1.2.9","_shasum":"bfeae0f6bfb7f3ac2c521bccefead8c5c07423f4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"bfeae0f6bfb7f3ac2c521bccefead8c5c07423f4","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.9.tgz","integrity":"sha512-K37YgDjcDpMaJQRSVahLauTxDDAYLuDU5kjpjQAqfkew0oFoC+RM6pe2jsqvvfx4ntVwmyL5/IxUDWlccvk7lQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHeoD4aho1aoWLNRgIrUSCplqPB5zWksm430wDPpIyECAiAMa61ZC7I0yXs9EUlM3YWEY7Mimci0TncvyIbGocBbPQ=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.9.tgz_1488888493464_0.3977371947839856"}},"1.2.10":{"name":"when-dom-ready","version":"1.2.10","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.23","camelcase":"^4.0.0","coveralls":"^2.11.15","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","xo":"^0.17.1"},"gitHead":"7719f48cc95475109325763680a9c86fbc0ad794","_id":"when-dom-ready@1.2.10","_shasum":"2eb66d46bb39b0f470431073e35facfc3be0efae","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"2eb66d46bb39b0f470431073e35facfc3be0efae","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.10.tgz","integrity":"sha512-k2YwOlsBmUwWG+xGrclOSEMqosjO513XifHAKg8uZnnVH+k3CI3jnXd79HoezgeLJcs+Dnx4gswvjH0f5bDy5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAHhqGIcaII1djVLBBjRJGjU89M37bU7Rjqhk4EShsGCAiEA7+tqL/vykOZT24a+B9LTzQNwMMJTEOOiNJA9bAhSvZw="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.10.tgz_1488888619817_0.14000517781823874"}},"1.2.11":{"name":"when-dom-ready","version":"1.2.11","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"plugins":["transform-es2015-arrow-functions","array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-plugin-transform-es2015-arrow-functions":"^6.22.0","browser-env":"^2.0.23","camelcase":"^4.0.0","coveralls":"^2.11.15","eslint-config-xo-lukechilds":"^1.0.0","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","window":"^3.1.1","xo":"^0.17.1"},"gitHead":"c14fa175939c701a3495b2a21bcad7d99bb14ac5","_id":"when-dom-ready@1.2.11","_shasum":"d462892d225cd44ef6c02facc737a65155207d06","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"d462892d225cd44ef6c02facc737a65155207d06","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.11.tgz","integrity":"sha512-T3A1OJgl1prF/W0BG/jjxNNUf8Wc52tyDtF1at2vAOlWE3sGL2qKuU2ellmbvflacmMJTZVpkOBhbCIjpYBznQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFpfHmCp0J5xBtK2mJNbKBk1FKfMQZBIQBRAtC6y6NatAiEA0NuUG223PML9ozoJT4P62RO3kZvIMhJSVnxE5Ny1Tnk="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.11.tgz_1489894867535_0.3639787605497986"}},"1.2.12":{"name":"when-dom-ready","version":"1.2.12","description":"$(document).ready() for the 21st century","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prepublish":"npm run build"},"babel":{"presets":[["es2015",{"modules":false}]],"plugins":["array-includes"]},"ava":{"require":["./test/helpers/setup-browser-env.js"]},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"homepage":"https://github.com/lukechilds/when-dom-ready","dependencies":{},"devDependencies":{"ava":"^0.17.0","babel-plugin-array-includes":"^2.0.3","babel-preset-es2015":"^6.24.1","browser-env":"^2.0.23","camelcase":"^4.0.0","coveralls":"^2.11.15","eslint-config-xo-lukechilds":"^1.0.0","jsdom":"^9.9.1","nyc":"^10.0.0","rollup":"^0.41.4","rollup-plugin-babel":"^2.7.1","window":"^3.1.1","xo":"^0.17.1"},"gitHead":"40e36112893ebc3984c52ad6c2c36336f11b2ac2","_id":"when-dom-ready@1.2.12","_shasum":"99f46f02ef65dbb2bb2f4b58c44588234e724c98","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"99f46f02ef65dbb2bb2f4b58c44588234e724c98","tarball":"https://registry.npmjs.org/when-dom-ready/-/when-dom-ready-1.2.12.tgz","integrity":"sha512-nEy7UvAylNMfOTTKE2c7QTFR2fyqTRaL/f+tuTpE4zU7iAF7Pk7aLmw6jZvhrwUTcK6pmnXFc0/N0Kzi/PHmEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3+HQugKe/Yj16Fv1GmMid0vlM+4x7m11o3PeiZnIjcwIhAIRMw+WXzZ2jtu6BH7UrhjgmgKtUfvK+lwrdOTmrptxc"}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/when-dom-ready-1.2.12.tgz_1494578154871_0.07925248192623258"}}},"readme":"# when-dom-ready\n\n> $(document).ready() for the 21st century\n\n[![Build Status](https://travis-ci.org/lukechilds/when-dom-ready.svg?branch=master)](https://travis-ci.org/lukechilds/when-dom-ready)\n[![Coverage Status](https://coveralls.io/repos/github/lukechilds/when-dom-ready/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/when-dom-ready?branch=master)\n[![npm](https://img.shields.io/npm/v/when-dom-ready.svg)](https://www.npmjs.com/package/when-dom-ready)\n\nReturns a Promise for cleaner usage, provides a Promise chain helper function and can also be used as a pure function. The Promise will resolve instantly if the DOM is already ready.\n\n## Browser Compatibility\n\n- IE9+ (requires Promise polyfill)\n- Edge *\n- Firefox 29+\n- Safari 8+\n- Chrome 33+\n- Opera 23+\n\n## Install\n\n```shell\nnpm install --save when-dom-ready\n```\n\nor for quick testing:\n\n```html\n<script src=\"https://unpkg.com/when-dom-ready\"></script>\n```\n\n## Usage\n\n```js\nimport whenDomReady from 'when-dom-ready';\n\nwhenDomReady().then(() => console.log('DOM is ready yo!'));\n```\n\nYou can still use callbacks if you want to:\n\n```js\nwhenDomReady(() => console.log('DOM is ready yo!'));\n```\n\n## Promise chain helper\n\nThere is also a little helper function, `whenDomReady.resume()`, that pauses the execution of a Promise chain and then resumes it with the last value once the DOM is ready.\n\nThis allows you to specify complex async control flow in simple readable code:\n\n```js\nfetch('/my-badass-api.json')\n  .then(getSomeProcessingDoneWhileWaitingForDom)\n  .then(whenDomReady.resume())\n  .then(injectDataIntoDom);\n```\n\n## Pure usage\n\nYou can make the function pure by passing in a `document` object. This is really [useful for tests](https://github.com/lukechilds/when-dom-ready/blob/master/test/unit.js) and mocking environments.\n\nFor example this works in Node.js:\n\n```js\nconst Window = require('window');\nconst whenDomReady = require('when-dom-ready');\n\nconst { document } = new Window();\n\nwhenDomReady(document).then(() => console.log('DOM is ready yo!'));\n```\n\nAgain, you can use the callback version as a pure function too:\n\n```js\nwhenDomReady(() => console.log('DOM is ready yo!'), document);\n```\n\nAnd of course the helper:\n\n```js\n//...\n  .then(whenDomReady.resume(document))\n```\n\n## License\n\nMIT © Luke Childs\n","maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"time":{"modified":"2022-06-29T01:26:18.646Z","created":"2017-01-16T17:02:03.718Z","1.0.0":"2017-01-16T17:02:03.718Z","1.0.1":"2017-01-16T17:10:24.406Z","1.1.0":"2017-01-16T17:19:12.597Z","1.2.0":"2017-01-17T01:31:05.812Z","1.2.1":"2017-01-17T03:08:35.345Z","1.2.2":"2017-01-17T03:10:39.608Z","1.2.3":"2017-01-24T10:40:26.393Z","1.2.4":"2017-01-29T09:59:38.595Z","1.2.5":"2017-02-01T13:54:16.129Z","1.2.6":"2017-02-07T11:02:50.110Z","1.2.7":"2017-03-07T05:28:29.725Z","1.2.8":"2017-03-07T12:03:25.358Z","1.2.9":"2017-03-07T12:08:13.743Z","1.2.10":"2017-03-07T12:10:20.057Z","1.2.11":"2017-03-19T03:41:07.794Z","1.2.12":"2017-05-12T08:35:57.475Z"},"homepage":"https://github.com/lukechilds/when-dom-ready","keywords":["check","dom","loaded","ready","promise","async","asynchronous","pure"],"repository":{"type":"git","url":"git+https://github.com/lukechilds/when-dom-ready.git"},"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"bugs":{"url":"https://github.com/lukechilds/when-dom-ready/issues"},"license":"MIT","readmeFilename":"README.md"}