{"versions":{"1.2.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"1.2.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"engines":{"node":">=6"},"browserslist":["last 2 versions","not dead"],"babel":{"presets":[["env",{"modules":false}]],"plugins":["external-helpers","transform-object-assign"]},"scripts":{"test":"xo && ava","clean":"shx rm -rf dist","prebuild":"npm run clean","build":"rollup -c"},"xo":{"envs":["node","browser"],"rules":{"import/no-unassigned-import":0}},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js}":["xo --fix --prettier && ava","git add"]},"files":["dist","index.d.ts"],"typings":"index.d.ts","module":"dist/es/index.js","main":"dist/cjs/index.js","homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"dependencies":{},"devDependencies":{"ava":"^0.20.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-object-assign":"^6.22.0","babel-preset-env":"^1.6.1","delay":"^2.0.0","husky":"^0.14.3","jsdom":"^11.6.2","lint-staged":"^7.0.0","mutationobserver-shim":"^0.3.2","rollup":"^0.56.3","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-node-resolve":"^3.0.3","shx":"^0.2.2","xo":"^0.18.2"},"gitHead":"d25cc744b8ae01c66a8ff4f503b2fae53facb5ea","_id":"@1natsu/wait-element@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"dist":{"integrity":"sha512-IuEDiPFkPxwWvWW9JBScrewmGdayZ6bXUagphK7AYq9gqYN3+E+aVeWBAdgwfB7ifS57lvfqVyzyxvyWFos6bw==","shasum":"15894e0e1afe2f956ac11451a05f8f3d34aa983f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-1.2.0.tgz","fileCount":6,"unpackedSize":9167,"size":3308},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_1.2.0_1520430290557_0.4367163314759872"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T15:25:12.593Z"},"2.0.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"2.0.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"engines":{"node":">=6"},"browserslist":["last 2 versions","not dead"],"babel":{"presets":[["env",{"modules":false}]],"plugins":["transform-object-assign"]},"scripts":{"test":"xo && ava","clean":"shx rm -rf dist","prebuild":"npm run clean","build":"rollup -c"},"xo":{"envs":["node","browser"],"rules":{"import/no-unassigned-import":0}},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js}":["xo --fix --prettier && ava","git add"]},"files":["dist","index.d.ts"],"typings":"index.d.ts","module":"dist/es/index.js","main":"dist/cjs/index.js","homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"dependencies":{"p-cancelable":"^0.4.0"},"devDependencies":{"ava":"^0.25.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-object-assign":"^6.22.0","babel-preset-env":"^1.6.1","delay":"^2.0.0","husky":"^0.14.3","jsdom":"^11.6.2","lint-staged":"^7.0.0","mutationobserver-shim":"^0.3.2","rollup":"^0.56.3","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-node-resolve":"^3.0.3","shx":"^0.2.2","xo":"^0.18.2"},"gitHead":"6212ddaffbef1d7aa08248c59cf9b29ef22ccf33","_id":"@1natsu/wait-element@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"dist":{"integrity":"sha512-yUU5egMjqDvGRXmtryHxsseAwCTeKaJZpOC+aI1fNLpAYygI9D9EcYG0/3pOd/aLogHSqszY9+LRNaVafdyPaw==","shasum":"75350f1c745756ea0bb2b0b7169919c69c911d50","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-2.0.0.tgz","fileCount":6,"unpackedSize":18779,"size":4799},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_2.0.0_1520663610826_0.647433406671593"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T15:25:14.302Z"},"2.1.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"2.1.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"engines":{"node":">=6"},"browserslist":["last 2 versions","not dead"],"babel":{"presets":[["env",{"modules":false}]],"plugins":["transform-object-assign"]},"scripts":{"test":"xo && ava","clean":"shx rm -rf dist","prebuild":"npm run clean","build":"rollup -c"},"xo":{"envs":["node","browser"],"rules":{"import/no-unassigned-import":0}},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js}":["xo --fix --prettier && ava","git add"]},"typings":"index.d.ts","module":"dist/es/index.js","main":"dist/cjs/index.js","homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"dependencies":{"p-cancelable":"^0.4.0"},"devDependencies":{"ava":"^0.25.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-object-assign":"^6.22.0","babel-preset-env":"^1.6.1","delay":"^2.0.0","husky":"^0.14.3","jsdom":"^11.6.2","lint-staged":"^7.0.0","mutationobserver-shim":"^0.3.2","rollup":"^0.56.3","rollup-plugin-babel":"^3.0.3","rollup-plugin-commonjs":"^8.3.0","rollup-plugin-node-resolve":"^3.0.3","shx":"^0.2.2","xo":"^0.18.2"},"gitHead":"bbe3cf134f0099b34602bf90d5836faf70321c5d","_id":"@1natsu/wait-element@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.2","_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"dist":{"integrity":"sha512-fSsnPHKnMAM0Uny0FbceVjw7gqMgLHydSumItO7eiWLSRz9qYU1Codsun4N5/GWd9DOU3guQ4Qu25M2BWuQlPw==","shasum":"ad4f7fbf30ef8ba673fb1999d36e5a782ccde8e1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-2.1.0.tgz","fileCount":6,"unpackedSize":20889,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5oDjCRA9TVsSAnZWagAAiyQP/2ciSY08hbM4FoQb4cuf\nd6fBwT27rs3JVhlGc5/TPX7IOFVWAF5644RA5AMd5sTJj4I3IeSFv9nwlx4R\nqZa2BFULYpJ5GhH23ifXsrIJ7XQANP6yx4C4lke6y9LZjXjUzhjVsWkJyGYV\nE19jj2NGd9pQaZTZW4TADVcrTjgFZnIpiDeN+xAthwR5U+bZGQIP7j8SIKyA\nPQLfBsl1cSrP9sbE1aw9MbMAXrRSeKdEGXInQiFdo3CzauXzcdVn2qNEf0Ru\nbjydv4+dIrQpisyUDGVgSVSdvu5OxpXPYgqSCsLC0vZQgp4OAADgaJKifyKi\n/NghpsgvC59UL+IX6NV/igh2RNjXl/AqUqmQh3kY8UWpwCjqzy2DYvS7KQtu\nNxUa3k7mOqLg054UdCKp5JmoU1BcariQuygmWbcTz9GnPGGaiAhM2ozMHi0n\n7Oh+TmBlP5itqv3HDAuD46lSrg9U7eDvm+2aNtKSDmlXd1whlbysc9yWYfkb\n4743JEuH6hjozWGa1dOe9JjLGv+ctL4hPYAlMlQp4bazv/wXp9sOS3Ld6su7\nqtcEFG9PACTlPgrV3UFQYE9LpB+E+3n1nia4bq8PqoqfrpWLMSfnB5UJOY3Q\n0JKm+60zmLrYT/5gU7X3GvuwIaFEauiTE2/KMb5RNx+Qx4QPOOlDpA0qsqPk\nrJQe\r\n=VBtX\r\n-----END PGP SIGNATURE-----\r\n","size":5415},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_2.1.0_1541832931052_0.2763908587662671"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T15:25:15.979Z"},"2.2.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"2.2.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"https://github.com/1natsu172/wait-element"},"engines":{"node":">=6"},"browserslist":["last 2 versions","not dead"],"scripts":{"test":"xo && ava","clean":"shx rm -rf dist","prebuild":"npm run clean","build":"rollup -c"},"ava":{"babel":{"testOptions":{"plugins":["@babel/plugin-transform-object-assign"],"babelrc":false,"configFile":false}},"failFast":true,"tap":false,"verbose":true,"require":["@babel/register","@babel/polyfill"]},"xo":{"envs":["node","browser"],"rules":{"import/no-unassigned-import":0}},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js}":["xo --fix --prettier && ava","git add"]},"typings":"index.d.ts","module":"dist/es/index.js","main":"dist/cjs/index.js","homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"dependencies":{"p-cancelable":"^0.4.0"},"devDependencies":{"@ava/babel":"^1.0.1","@babel/core":"^7.8.4","@babel/plugin-external-helpers":"^7.8.3","@babel/plugin-transform-object-assign":"^7.8.3","@babel/polyfill":"7.8.3","@babel/preset-env":"^7.8.4","@babel/register":"^7.8.3","@rollup/plugin-commonjs":"^11.0.2","@rollup/plugin-node-resolve":"^7.1.1","ava":"^3.3.0","delay":"^2.0.0","husky":"^0.14.3","jsdom":"^11.6.2","lint-staged":"^7.0.0","mutationobserver-shim":"^0.3.2","rollup":"^1.31.1","rollup-plugin-babel":"^4.3.3","shx":"^0.2.2","xo":"^0.26.1"},"licenseText":"MIT License\n\nCopyright (c) 1natsu172 (https://1natsu172.mit-license.org)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@1natsu/wait-element@2.2.0","dist":{"shasum":"7246d066023b10d8f594b7775146abbe4550f674","integrity":"sha512-ZqBzLR9204eNYD7C51vLvn7pApG8q/Ql3Q1K/z4Nd5aXf/cpbI0djHHBRLxwIKMXyYoLPDVJwg8jfWaCOxNtIA==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-2.2.0.tgz","fileCount":10,"unpackedSize":26500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeSThKCRA9TVsSAnZWagAABYIP+wbipXQOV0WZE/wly7Sv\nra3t1GaFGKyF6oQ8a/u7jobaQymO6dbO8mEk4SAkNd5Py7CPlCLaXC0xvBAL\nsyoF4C2UBDPo0dN69oUV0fJpSRZb2NvIJJrOloUwAGfSyXNIoLJj2NwikiBM\ndw5OJ0rQJIS9n3hKfmbDmPz5jiVTdk5bC0sXvlFLlvp/DNhHsPQQbOdMD54a\nFUATSFmqP/G7349JS1OPOgs5nOv3cPtu9yQCtgQEma+WRdoU2H/0LZ/TmdLp\nD+uFYb2GVRmfRjMWHIQfHI1EAJdr6r7waw2zDcFP6mAhA3oEEiM2wbeQBl/J\nErF78nx8n7VuIR+u0QiyIaDUd55H85aUeimDYn8w9zz/MvV1Klgz61RDECsE\nHz3i1kGG51Ypyd+9HFpKp2Dgc3OvnrwUBpOaIf1V2Fec/GEgVyaXA1vhb4Ce\nY90XkY5UJEHSVxUEojqENgVsH2PIJ1kV/7d0CNuM2FlGXEBF1Ns91f8HPUvt\nNz2XFOT3aq1w76ailUg012O3Qfd+FVp39pPU3aijBvPmrKbFrSRNhbkHpNGd\nYkt87C0xlJbf8hQJYrZ8Tu/AYa8QldoYhNfjvDCM50owahHddUF3RfVPdv38\nyOaibQUlbvQouSiBqo0YlMgCIDNhzyL110pANpT5Unk7pOrQoXP8fIJi8KJL\np365\r\n=4ZO3\r\n-----END PGP SIGNATURE-----\r\n","size":6199},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_2.2.0_1581856841848_0.3659019222874129"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T15:25:17.639Z"},"3.0.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"3.0.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"https://github.com/1natsu172/wait-element"},"browserslist":["last 2 versions","not dead"],"type":"module","typings":"dist/types/index.d.ts","main":"dist/index.js","homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"dependencies":{"p-cancelable":"^2.0.0"},"devDependencies":{"@types/jsdom":"^16.2.6","ava":"^3.15.0","delay":"^5.0.0","esbuild":"0.8.46","jsdom":"^16.4.0","mutationobserver-shim":"^0.3.7","shx":"^0.3.3","ts-node":"^9.1.1","typescript":"^4.1.5","xo":"^0.37.1"},"scripts":{"test":"ava ./src/**/*","lint":"xo --prettier ./src/**/*","lint:format":"xo --fix --prettier ./src/**/*","clean":"shx rm -rf dist","prebuild":"npm run clean","build":"esbuild ./src/index.ts --bundle --format=esm --outdir=dist","postbuild":"tsc -p tsconfig.build.json"},"ava":{"extensions":["ts"],"require":["ts-node/register"],"failFast":true,"tap":false,"verbose":true},"xo":{"envs":["node","browser"],"rules":{"import/no-unassigned-import":0,"@typescript-eslint/no-floating-promises":0,"@typescript-eslint/promise-function-async":0,"@typescript-eslint/consistent-indexed-object-style":0,"unicorn/filename-case":0}},"licenseText":"MIT License\n\nCopyright (c) 1natsu172 (https://1natsu172.mit-license.org)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","_id":"@1natsu/wait-element@3.0.0","dist":{"shasum":"16919234675aac7489e5fcb59120894ed823fdf0","integrity":"sha512-USUXkz7Wfvg/FI5eyyTPJcaQMDDSDMf54d2PZck/519QRWHzy88R2DzOvvd0I3aR9G3iPPTQfZIvaitpS344og==","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-3.0.0.tgz","fileCount":10,"unpackedSize":13529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKpEoCRA9TVsSAnZWagAAJesP/jgIj7Ljsx3lTRrJ7npo\n4oO7OaOR+abthn98TBXBohJpWBikxXiC+O9nuQYkouqpSn2CrNJjqDW/p85J\nzQkhoa13JyiiRQAfN9Y5r2G5M8nd8M54dpgXL0BCu6yiwDHJ0IjB+aE2SHWV\no8PiemMn+/c4rscxi7HisH8XEXMAVZGd+X59+hKsLwZ687mjAfDU4kv621Jr\npaZkDa7BqPZn19RAcWT7s/j70n79Do2yb6ohXsLmvab1T4b3kLldHp1Bx2Ix\nlk+5Q26PaIxi0543XyLF8D0pS7UZaKn2765+jKi+u7IcuM2al6yT18vf9hIj\nCGhshu7fxL8rx1Oh8IIkphhvUYH3jfsse3In8a3MuL86X0y4RAAzIaiCVSoF\nWecwCAFwc8oLSTMRDZCvUEONShuy3XKyTbZyaW5H/NHV9Csm8S0LyJgA26hv\nN4ZfZcJTvXZp19DdW1bNx/3r8AjDRtyToCbJ9dFESxLS4oaCkI/mzyjSbfsg\nGfiK5DirXhuvGngkazpS1VLsHNz9jh15Vw58V54mXYj+XjLF2G+4Q6Gpr3la\nEFVTHCmUebQH6vRcmap5nixzdc/1dAWrVWtmnljc3EGC4ghgIb+RU+6NnGi9\n+DB7kFlp2h8G2YipyqcFD5mKJXTEB2wzq+zqW0nv1I4FgVtglHQuiWBRuyf0\n1WDG\r\n=GpQ0\r\n-----END PGP SIGNATURE-----\r\n","size":4947},"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_3.0.0_1613402408354_0.2922337205543202"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T15:25:18.515Z"},"4.0.0-beta.1":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"4.0.0-beta.1","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"browserslist":["fully supports abortcontroller","fully supports mutationobserver"],"type":"module","exports":{".":{"import":"./dist/index.mjs"},"./detectors":{"import":"./dist/detectors.mjs"}},"main":"./dist/index.mjs","typings":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4","many-keys-map":"^2.0.1"},"devDependencies":{"@biomejs/biome":"1.8.3","@types/jsdom":"21.1.7","@vitest/coverage-v8":"^2.0.5","@vitest/ui":"^2.0.5","jsdom":"25.0.0","typescript":"5.5.4","unbuild":"2.0.0","vitest":"2.0.5"},"scripts":{"test":"vitest","test-ci":"vitest run","coverage":"vitest --coverage --ui","biome":"biome check --write ./src","build":"unbuild","prerelease":"unbuild","release":"pnpm dlx np --test-script=test-ci"},"_id":"@1natsu/wait-element@4.0.0-beta.1","readmeFilename":"readme.md","_integrity":"sha512-ctROAPThX/3Y08SS2GS/NrFY61yshVX8kwdm7BfGdfladXwBSZXv972UyZRAdUlJA183rzX/ADQ5KsDiYcd8tA==","_resolved":"/private/var/folders/32/k_sfxm2d1xq5956ypp2nxskc0000gn/T/f097fb7b3242d984de7ddf23eb757e24/1natsu-wait-element-4.0.0-beta.1.tgz","_from":"file:1natsu-wait-element-4.0.0-beta.1.tgz","_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ctROAPThX/3Y08SS2GS/NrFY61yshVX8kwdm7BfGdfladXwBSZXv972UyZRAdUlJA183rzX/ADQ5KsDiYcd8tA==","shasum":"3afb9cbb526d6f8f146510712a5eed0f3e47d113","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-4.0.0-beta.1.tgz","fileCount":11,"unpackedSize":14070,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwabtJteECKmaGZHv1v+UtTgshxgh/CScT4vCECrCL3AiBoTFuEWxLQZLlWZkH6I+9KBY3UuRiv7LqCgr+08elqYg=="}],"size":4392},"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_4.0.0-beta.1_1724611212888_0.2533145171312372"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-25T18:40:13.031Z","publish_time":1724611213031,"_source_registry_name":"default"},"4.0.0-beta.2":{"name":"@1natsu/wait-element","version":"4.0.0-beta.2","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"author":{"name":"1natsu"},"license":"MIT","_id":"@1natsu/wait-element@4.0.0-beta.2","maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"contributors":[{"name":"1natsu"}],"homepage":"https://github.com/1natsu172/wait-element","bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"dist":{"shasum":"ce0fa5ac9e22abc293e2899f779b0405056909a9","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-4.0.0-beta.2.tgz","fileCount":11,"integrity":"sha512-hKhi16NAjcUY7xymxGh005f4TgGQwjyVRz2fkzLIvC8vErSgGdXWld51pegdkJRc4lCA5NVe0jZ85ZRMWKOpGw==","signatures":[{"sig":"MEUCIQCIdGcWUWf9fEL8GwGl7QsLp54Lz9kksdus4OmfiC4UCwIgWKPYDiZN3l1cVtH71krX8jNPazCLDR47Q+cI1N79ov8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16965,"size":4597},"main":"./dist/index.mjs","type":"module","_from":"file:1natsu-wait-element-4.0.0-beta.2.tgz","exports":{".":{"import":"./dist/index.mjs"},"./detectors":{"import":"./dist/detectors.mjs"}},"scripts":{"test":"vitest","biome":"biome check --write ./src","build":"unbuild","release":"pnpm dlx np --test-script=test-ci","test-ci":"vitest run","coverage":"vitest --coverage --ui","prerelease":"unbuild"},"typings":"./dist/index.d.ts","_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"_resolved":"/private/var/folders/32/k_sfxm2d1xq5956ypp2nxskc0000gn/T/32b16cc8f47dfb4bf7575e6b55f0d82d/1natsu-wait-element-4.0.0-beta.2.tgz","_integrity":"sha512-hKhi16NAjcUY7xymxGh005f4TgGQwjyVRz2fkzLIvC8vErSgGdXWld51pegdkJRc4lCA5NVe0jZ85ZRMWKOpGw==","repository":{"url":"git+https://github.com/1natsu172/wait-element.git","type":"git"},"_npmVersion":"10.8.2","description":"Detect the appearance of an element in the browser DOM","directories":{},"_nodeVersion":"22.7.0","browserslist":["fully supports abortcontroller","fully supports mutationobserver"],"dependencies":{"defu":"^6.1.4","many-keys-map":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jsdom":"25.0.0","vitest":"2.0.5","unbuild":"2.0.0","@vitest/ui":"^2.0.5","typescript":"5.5.4","@types/jsdom":"21.1.7","@biomejs/biome":"1.8.3","@vitest/coverage-v8":"^2.0.5"},"_npmOperationalInternal":{"tmp":"tmp/wait-element_4.0.0-beta.2_1724775752565_0.9440434606345198","host":"s3://npm-registry-packages"},"_cnpmcore_publish_time":"2024-08-27T16:22:32.712Z","publish_time":1724775752712,"_source_registry_name":"default"},"4.0.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"4.0.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"browserslist":["fully supports abortcontroller","fully supports mutationobserver"],"type":"module","exports":{".":{"import":"./dist/index.mjs"},"./detectors":{"import":"./dist/detectors.mjs"}},"main":"./dist/index.mjs","typings":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4","many-keys-map":"^2.0.1"},"devDependencies":{"@biomejs/biome":"1.8.3","@types/jsdom":"21.1.7","@vitest/coverage-v8":"^2.0.5","@vitest/ui":"^2.0.5","jsdom":"25.0.0","typescript":"5.5.4","unbuild":"2.0.0","vitest":"2.0.5"},"scripts":{"test":"vitest","test-ci":"vitest run","coverage":"vitest --coverage --ui","biome":"biome check --write ./src","build":"unbuild","prerelease":"unbuild","release":"pnpm dlx np --test-script=test-ci"},"_id":"@1natsu/wait-element@4.0.0","_integrity":"sha512-dxJbqMJFU0hAE4twCt4jXOupzHMa5Tpd9pWBH9pvs9ToLrBdnGhHavrUKIQ+kculCUsXsMd2TbKfb01enKgHFQ==","_resolved":"/private/var/folders/32/k_sfxm2d1xq5956ypp2nxskc0000gn/T/709c9b57867bd40fb0269a68a781c1ef/1natsu-wait-element-4.0.0.tgz","_from":"file:1natsu-wait-element-4.0.0.tgz","_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-dxJbqMJFU0hAE4twCt4jXOupzHMa5Tpd9pWBH9pvs9ToLrBdnGhHavrUKIQ+kculCUsXsMd2TbKfb01enKgHFQ==","shasum":"dd7e5bdeb809dc1d255b70fa37ba4df0ce995370","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-4.0.0.tgz","fileCount":11,"unpackedSize":16958,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDHTA8CPDh39uPx9PxxdsqaPi7Sh+olk489f1XlFj8hRAiEA5q7X4kaGlHczE8bNmxsCaWXh1OVY079IpAYGJ0g/6XI="}],"size":4592},"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_4.0.0_1724820704940_0.7809296487931929"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-28T04:51:45.092Z","publish_time":1724820705092,"_source_registry_name":"default"},"4.1.0":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"4.1.0","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"browserslist":["fully supports abortcontroller","fully supports mutationobserver"],"type":"module","exports":{".":{"import":"./dist/index.mjs"},"./detectors":{"import":"./dist/detectors.mjs"}},"main":"./dist/index.mjs","typings":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4","many-keys-map":"^2.0.1"},"devDependencies":{"@biomejs/biome":"1.9.4","@types/jsdom":"21.1.7","@vitest/coverage-v8":"2.1.4","@vitest/ui":"2.1.4","jsdom":"25.0.1","typescript":"5.6.3","unbuild":"2.0.0","vitest":"2.1.4"},"scripts":{"test":"vitest","test-ci":"vitest run","coverage":"vitest --coverage --ui","biome":"biome check --write ./src","build":"unbuild","prerelease":"unbuild","release":"pnpm dlx np --test-script=test-ci"},"_id":"@1natsu/wait-element@4.1.0","_integrity":"sha512-fw7BFAHFTADD4FBcfrQ+0SWLOKO7p7yP/SQoK5Pmu9waIHvqv3IPSUYtnosUTnaTTZ467vx4H4NOTzOZpxpUQA==","_resolved":"/private/var/folders/32/k_sfxm2d1xq5956ypp2nxskc0000gn/T/1cf667bf7895875b6156ddd3f6b11569/1natsu-wait-element-4.1.0.tgz","_from":"file:1natsu-wait-element-4.1.0.tgz","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-fw7BFAHFTADD4FBcfrQ+0SWLOKO7p7yP/SQoK5Pmu9waIHvqv3IPSUYtnosUTnaTTZ467vx4H4NOTzOZpxpUQA==","shasum":"ab5fa9fdffec6592f05150d2b77b9a77a9475fcb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-4.1.0.tgz","fileCount":11,"unpackedSize":17634,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAMdij9gS+YiQpVQMZBg3sTbM3Q3fbu8phC8oy9tr1kGAiBwusK3Canew2IVju3J/LB0wtwr2U8ZaPQbyeICa8KFcQ=="}],"size":4672},"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_4.1.0_1730866854353_0.22711346266444155"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-06T04:20:54.571Z","publish_time":1730866854571,"_source_registry_name":"default"},"4.1.1":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"4.1.1","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"browserslist":["fully supports abortcontroller","fully supports mutationobserver"],"type":"module","exports":{".":{"import":"./dist/index.mjs"},"./detectors":{"import":"./dist/detectors.mjs"}},"main":"./dist/index.mjs","typings":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4","many-keys-map":"^2.0.1"},"devDependencies":{"@biomejs/biome":"1.9.4","@types/jsdom":"21.1.7","@vitest/coverage-v8":"2.1.5","@vitest/ui":"2.1.5","jsdom":"25.0.1","typescript":"5.6.3","unbuild":"2.0.0","vitest":"2.1.5"},"scripts":{"test":"vitest","test-ci":"vitest run","coverage":"vitest --coverage --ui","biome":"biome check --write ./src","build":"unbuild","prerelease":"unbuild","release":"pnpm dlx np --test-script=test-ci"},"_id":"@1natsu/wait-element@4.1.1","_integrity":"sha512-uKM/fRcdTHhajQjlxj1/ShKd3iYcLJ3191/IE+GDili1oVq8m94JO4UNADoemK2z0buPu12jT8ozvl+zLy7Hzg==","_resolved":"/private/var/folders/lr/cj6fnj213bz0h9cc_l5t3m8m0000gn/T/bcde4653a77db90fc350139dd18ce4fd/1natsu-wait-element-4.1.1.tgz","_from":"file:1natsu-wait-element-4.1.1.tgz","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-uKM/fRcdTHhajQjlxj1/ShKd3iYcLJ3191/IE+GDili1oVq8m94JO4UNADoemK2z0buPu12jT8ozvl+zLy7Hzg==","shasum":"d72fad90e9a4d832861e7a077dd7cb2a0ae74498","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-4.1.1.tgz","fileCount":11,"unpackedSize":17647,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT9HMwZCqOgU01WKaojmfJVpkbuIolDZV0gFoHkl/efwIgRHswVPmaOvUMP6rzrBZNtuEhySnYgKhyy0o5AdX/QYQ="}],"size":4671},"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_4.1.1_1731927879686_0.15008584759172505"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-18T11:04:39.853Z","publish_time":1731927879853,"_source_registry_name":"default"},"4.1.2":{"name":"@1natsu/wait-element","description":"Detect the appearance of an element in the browser DOM","version":"4.1.2","publishConfig":{"access":"public"},"license":"MIT","author":{"name":"1natsu"},"contributors":[{"name":"1natsu"}],"bugs":{"url":"https://github.com/1natsu172/wait-element/issues","email":"1natsu172@users.noreply.github.com"},"repository":{"type":"git","url":"git+https://github.com/1natsu172/wait-element.git"},"homepage":"https://github.com/1natsu172/wait-element","keywords":["DOM","MutationObserver","Promise","element","selector","querySelector","detect","wait","await","check","exist","appearance"],"browserslist":["fully supports abortcontroller","fully supports mutationobserver"],"type":"module","exports":{".":{"import":"./dist/index.mjs"},"./detectors":{"import":"./dist/detectors.mjs"}},"main":"./dist/index.mjs","typings":"./dist/index.d.ts","dependencies":{"defu":"^6.1.4","many-keys-map":"^2.0.1"},"devDependencies":{"@biomejs/biome":"1.9.4","@types/jsdom":"21.1.7","@vitest/coverage-v8":"2.1.8","@vitest/ui":"2.1.8","jsdom":"25.0.1","typescript":"5.7.2","unbuild":"2.0.0","vitest":"2.1.8"},"scripts":{"test":"vitest","test-ci":"vitest run","coverage":"vitest --coverage --ui","biome":"biome check --write ./src","build":"unbuild","prerelease":"unbuild","release":"pnpm dlx np --test-script=test-ci"},"_id":"@1natsu/wait-element@4.1.2","_integrity":"sha512-qWxSJD+Q5b8bKOvESFifvfZ92DuMsY+03SBNjTO34ipJLP6mZ9yK4bQz/vlh48aEQXoJfaZBqUwKL5BdI5iiWw==","_resolved":"/private/var/folders/lr/cj6fnj213bz0h9cc_l5t3m8m0000gn/T/8f6ace2538631272a4f9076a19447079/1natsu-wait-element-4.1.2.tgz","_from":"file:1natsu-wait-element-4.1.2.tgz","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-qWxSJD+Q5b8bKOvESFifvfZ92DuMsY+03SBNjTO34ipJLP6mZ9yK4bQz/vlh48aEQXoJfaZBqUwKL5BdI5iiWw==","shasum":"f18b031dc9fb4ac22e114ed04daeef1fbde2217f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@1natsu/wait-element/-/wait-element-4.1.2.tgz","fileCount":11,"unpackedSize":17658,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyEquhgZ56NhJuw67ndXlxCBTREHqKYqqpgTCYJpsBJQIgV0drcJV6qQ/Kqkjy+ZvkC1jYxMPPbQDnHu7cL5/afis="}],"size":4680},"_npmUser":{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"1natsummer+support-npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-element_4.1.2_1733570475307_0.5984791098512199"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-07T11:21:15.467Z","publish_time":1733570475467,"_source_registry_name":"default"}},"dist-tags":{"beta":"4.0.0-beta.2","latest":"4.1.2"},"name":"@1natsu/wait-element","time":{"created":"2022-01-27T08:49:25.127Z","modified":"2024-12-07T11:22:00.736Z","1.2.0":"2018-03-07T13:44:50.674Z","2.0.0":"2018-03-10T06:33:30.926Z","2.1.0":"2018-11-10T06:55:31.267Z","2.2.0":"2020-02-16T12:40:41.940Z","3.0.0":"2021-02-15T15:20:08.466Z","4.0.0-beta.1":"2024-08-25T18:40:13.031Z","4.0.0-beta.2":"2024-08-27T16:22:32.712Z","4.0.0":"2024-08-28T04:51:45.092Z","4.1.0":"2024-11-06T04:20:54.571Z","4.1.1":"2024-11-18T11:04:39.853Z","4.1.2":"2024-12-07T11:21:15.467Z"},"readme":"# wait-element\n[![npm](https://img.shields.io/npm/v/@1natsu/wait-element.svg?style=for-the-badge)](https://www.npmjs.com/package/@1natsu/wait-element)\n![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@1natsu/wait-element.svg?style=for-the-badge)\n![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@1natsu/wait-element.svg?style=for-the-badge)\n\n\n> Detect the appearance of an element in the browser DOM\n\n## a.k.a promise-querySelector\n\n* Promise API\n* Driven by `MutationObserver`\n* Detect by `querySelecrtor`\n* Possible to abort with `AbortSignal`\n\nIf the target element already exists when execution of \"wait-element\", it immediately `resolve` and return the element.\n\n\n## Install\n\n```bash\nnpm install @1natsu/wait-element\n```\n```bash\nyarn add @1natsu/wait-element\n```\n```bash\npnpm add @1natsu/wait-element\n```\n```bash\nbun add @1natsu/wait-element\n```\n\n## Usage\n\n### Module specifiers\n\n```js\nimport { waitElement } from \"@1natsu/wait-element\";\n```\n\n#### Basically\n\n```js\nconst el = await waitElement(\".late-comming\");\nconsole.log(el);\n//=> example: \"<div class=\"late-comming\">I'm late</div>\"\n```\n\n#### Specify parent target element (specify MutationObserve target)\n\n```js\nconst parent = await waitElement(\"#parent\");\nconst el = await waitElement(\".late-comming\", { target: parent });\nconsole.log(el);\n//=> example: \"<div class=\"late-comming\">I'm late</div>\"\n```\n\n#### Setting timeout\n\n```js\nconst el = await waitElement(\".late-comming\", { signal: AbortSignal.timeout(1000) }).catch(err => console.log(err));\nconsole.log(el);\n//=> If detected element: \"<div class=\"late-comming\">I'm late</div>\"\n//=> If timeouted: DOMException: TimeoutError\n```\n\n#### Abort the waiting\n\n```js\ntry {\n\tconst waitAbortable = new AbortController();\n\n\tconst checkElement = waitElement(\".late-comming\", { signal: waitAbortable.signal });\n\n\twaitAbortable.abort(\"abort this time!\");\n\n} catch(error) {\n\t// After abort handling...\n}\n```\n\n#### Custom detect condition\n\n```js\nconst el = await waitElement(\"#animal\", {\n  detector: (element) =>\n\t\telement?.textContent === \"Tiger\"\n\t\t\t? { isDetected: true, result: element }\n\t\t\t: { isDetected: false },\n});\nconsole.log(el.textContent);\n//=> example: Tiger\n```\n\n```js\nimport { isNotExist } from \"@1natsu/wait-element/detectors\";\n\n// when resolve if “not exist” or “disappear” at the time of call\nconst result = await waitElement(\".hero\", { detector: isNotExist });\n//=> result: null\n```\n\n#### Unify waiting process\n\nUnifies the process of finding an element. If set `true`, increases efficiency. Unify the same arguments(includes options) with each other.\n\n```js\nconst A = waitElement(\".late-comming\", {\n\tunifyProcess: true,\n});\n\nconst B = waitElement(\".late-comming\", {\n\tunifyProcess: true,\n});\n\nconst C = waitElement(\".late-comming\", {\n\tunifyProcess: true,\n\tsignal: AbortSignal.timeout(1000)\n});\n\nconst D = waitElement(\".late-comming\", {\n\tunifyProcess: false,\n});\n\n// Unified:\n// A === B\n// B !== C\n// B !== D\n```\n\n\n## API\n\n### waitElement(selector, [options])\n\n#### selector\n\nType: `string`\n\nFormat is [CSS-selector](https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Selectors)\n\n#### options\n\nPassed options is merged with default configs.\n\n[See TS definition for detailed information](https://github.com/1natsu172/wait-element/blob/master/src/options.ts)\n\n### createWaitElement(initOptions)\n\nCustom waitElement function can be created.\n\n## Similar\n\nThe very similar library.\n\n* [element-ready](https://github.com/sindresorhus/element-ready)\n  * Implementation method is different from this library.\n\n## License\n\nMIT © [1natsu172](https://github.com/1natsu172)","users":{}}