{"_id":"get-ready","_rev":"20-5c415c2fc618d774dc681977f02e80c9","name":"get-ready","dist-tags":{"latest":"3.4.0"},"versions":{"1.0.0":{"name":"get-ready","version":"1.0.0","keywords":["ready","once","event"],"author":{"url":"http://fengmk2.com","name":"fengmk2","email":"m@fengmk2.com"},"license":"MIT","_id":"get-ready@1.0.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/ready#readme","bugs":{"url":"https://github.com/node-modules/ready/issues"},"dist":{"shasum":"f91817f1e9adecfea13a562adfc8de883ab34782","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-1.0.0.tgz","integrity":"sha512-mFXCZPJIlcYcth+N8267+mghfYN9h3EhsDa6JSnbA3Wrhh/XFpuowviFcsDeYZtKspQyWyJqfs4O6P8CHeTwzw==","signatures":[{"sig":"MEUCIHi6eORpMO3dhLsxIK/kbU5BBuvyTaELUE7FLmis5bbuAiEArRmcyYGN+gtPBNmdThbBzFIEV45vYcflKr49fKfau8I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"f91817f1e9adecfea13a562adfc8de883ab34782","gitHead":"f0b30352a084ee65bc44d493ab2e2629a3d8a5d8","scripts":{"lint":"eslint index.js test","test":"mocha -r thunk-mocha test/*.test.js","test-cov":"istanbul cover node_modules/.bin/_mocha -- -r thunk-mocha test/*.test.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/ready.git","type":"git"},"_npmVersion":"2.14.4","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"4.1.1","dependencies":{},"devDependencies":{"mocha":"2","eslint":"1","should":"7","istanbul":"0","thunk-mocha":"0"}},"2.0.0":{"name":"get-ready","version":"2.0.0","keywords":["ready","once","event"],"author":{"url":"http://fengmk2.com","name":"fengmk2","email":"m@fengmk2.com"},"license":"MIT","_id":"get-ready@2.0.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"homepage":"https://github.com/node-modules/ready#readme","bugs":{"url":"https://github.com/node-modules/ready/issues"},"ci":{"version":"4, 6, 7"},"dist":{"shasum":"82332f1af687f182c4e9e7663b7ea27a330b1e10","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-2.0.0.tgz","integrity":"sha512-jdb+vkWtwRMIV2VGnDxXhOBcOOlPTGkdQqZPgMI2iCKaIc6PiRLUsVR7T0rwtrfPN3XMe6Blmse/8To052+WTQ==","signatures":[{"sig":"MEQCIE84Ffjd09EPhvLt2tALqXk0ZasKxmkIyuIdEVe/3vcEAiBz+GruoJaid95bZKm6k7egN74Ra4/G64/nnqoBXHikow==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"82332f1af687f182c4e9e7663b7ea27a330b1e10","engines":{"node":">= 4.0.0"},"gitHead":"f65ca11a589454c4e0d5b03f89a00f10201279b0","scripts":{"ci":"npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint && egg-bin test","autod":"autod"},"_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"repository":{"url":"git://github.com/node-modules/ready.git","type":"git"},"_npmVersion":"3.10.8","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"6.9.1","dependencies":{"is-type-of":"^1.0.0"},"devDependencies":{"egg":"^0.11.0","autod":"^2.7.1","egg-ci":"^1.1.0","eslint":"^3.15.0","egg-bin":"^2.0.2","eslint-config-egg":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/get-ready-2.0.0.tgz_1486543289411_0.716877901693806","host":"packages-12-west.internal.npmjs.com"}},"2.0.1":{"name":"get-ready","version":"2.0.1","keywords":["ready","once","event"],"author":{"url":"http://fengmk2.com","name":"fengmk2","email":"m@fengmk2.com"},"license":"MIT","_id":"get-ready@2.0.1","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"homepage":"https://github.com/node-modules/ready#readme","bugs":{"url":"https://github.com/node-modules/ready/issues"},"ci":{"version":"4, 6, 7"},"dist":{"shasum":"a48c418753e39cf4d01f3a420cf1b757ddcc648f","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-2.0.1.tgz","integrity":"sha512-q2zoHPGbHognNvofksty0SOrviWowfUVxYcv3j3+Mf1BRRMHmq6q/1pciravEf8jkSL5iovloMWnonEc2QOpqA==","signatures":[{"sig":"MEUCIQCziL/qnNG4CIwrc0DMJEc8TvnMvrktTcZVFmiRERGyRgIgCTRlXG2DbHIbBRU+vgfenZcQG0BKUsBjrJ46sDYSyE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","files":["index.js"],"_shasum":"a48c418753e39cf4d01f3a420cf1b757ddcc648f","engines":{"node":">= 4.0.0"},"gitHead":"39471fbb793054f13a27604718ff14c0c99599c3","scripts":{"ci":"npm run lint && npm run cov","cov":"egg-bin cov","lint":"eslint .","test":"npm run lint && egg-bin test","autod":"autod"},"_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"repository":{"url":"git://github.com/node-modules/ready.git","type":"git"},"_npmVersion":"3.10.8","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"6.9.1","dependencies":{"is-type-of":"^1.0.0"},"devDependencies":{"egg":"^0.11.0","autod":"^2.7.1","egg-ci":"^1.1.0","eslint":"^3.15.0","egg-bin":"^2.0.2","eslint-config-egg":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/get-ready-2.0.1.tgz_1486647439186_0.6103857874404639","host":"packages-12-west.internal.npmjs.com"}},"3.0.0":{"name":"get-ready","version":"3.0.0","keywords":["ready","get-ready","once","event"],"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"get-ready@3.0.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"homepage":"https://github.com/node-modules/get-ready#readme","bugs":{"url":"https://github.com/node-modules/get-ready/issues"},"dist":{"shasum":"6d8495bb4f90e6745cce7a20c1d01bb58f7c5087","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-3.0.0.tgz","fileCount":5,"integrity":"sha512-0JNvz6IFnP6pHWbukMxNrtkHMg9uHZDHDqkVJi2yLpMeDPi8pUlnZKeSEmLbXFBHlHGetdzbX8mllGZVggxTBg==","signatures":[{"sig":"MEYCIQDscPP5f0mv2gQGWWb6g14ESNM0UcZCNdSPnT6mO28IewIhAMmwmNcN+RoWw0xpfV86/akjtXX6FpqbehB4xpp1Rp73","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/get-ready@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"unpackedSize":9059},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">= 16.13.0"},"gitHead":"82c07e5bdc79b0bedc8f9a79de05cb5980ea0f6b","scripts":{"ci":"egg-bin cov && npm run tsc","tsc":"tsc","lint":"eslint .","test":"npm run lint && egg-bin test","clean":"tsc -b --clean","prepublishOnly":"npm run tsc"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/get-ready.git","type":"git"},"_npmVersion":"9.5.1","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"18.16.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.42.0","egg-bin":"^6.4.1","typescript":"^5.1.3","@types/node":"^20.2.5","@types/mocha":"^10.0.1","@eggjs/tsconfig":"^1.3.3","eslint-config-egg":"^12.2.1"},"_npmOperationalInternal":{"tmp":"tmp/get-ready_3.0.0_1685945058815_0.41709897168811194","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"get-ready","version":"3.1.0","keywords":["ready","get-ready","once","event"],"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"get-ready@3.1.0","maintainers":[{"name":"gxkl","email":"gxkl203@gmail.com"},{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"}],"homepage":"https://github.com/node-modules/get-ready#readme","bugs":{"url":"https://github.com/node-modules/get-ready/issues"},"dist":{"shasum":"b514464be5fb235ca3fbce4dace8a95936b3cc53","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-3.1.0.tgz","fileCount":10,"integrity":"sha512-bNeor5yksFR0s9z/WFisFPy133XBGnVK8adLFu6f68Cuf1DNH7QFzRDS45L3uacHecL5gA+7GJOBicI2cHFyog==","signatures":[{"sig":"MEQCIHNg398epcCLIqrscvT+Ek1m44vjm0DXi2bHjg0N1i3oAiBGY62YQeIhu/0pUDSq2mS2LyrpWQUVNKLgP813N1FAng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/get-ready@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18834},"tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","engines":{"node":">= 16.13.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"63dc788434dd4dff071ba3c4c52eae20c8a48b68","scripts":{"ci":"egg-bin cov && npm run prepublishOnly && npm pack","lint":"eslint src test --ext ts","test":"npm run lint && egg-bin test","clean":"tsc -b --clean","contributor":"git-contributor","prepublishOnly":"tshy && tshy-after"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/get-ready.git","type":"git"},"_npmVersion":"9.8.1","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"18.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tshy":"^1.2.2","eslint":"^8.51.0","egg-bin":"^6.4.1","tshy-after":"^1.0.0","typescript":"^5.2.2","@types/node":"^20.8.4","@types/mocha":"^10.0.2","@eggjs/tsconfig":"^1.3.3","git-contributor":"^2.1.5","eslint-config-egg":"^13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-ready_3.1.0_1696953460610_0.8496362205221635","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"get-ready","version":"3.2.0","keywords":["ready","get-ready","once","event"],"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"get-ready@3.2.0","maintainers":[{"name":"gxkl","email":"gxkl203@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"},{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"akitasummer","email":"644171127@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"homepage":"https://github.com/node-modules/get-ready#readme","bugs":{"url":"https://github.com/node-modules/get-ready/issues"},"dist":{"shasum":"5a2da798db89e1551e1f65dd671664fb1058d012","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-3.2.0.tgz","fileCount":11,"integrity":"sha512-M0pVKv4hSnY723wUBA6xyzGkTn0i8CiAML8XwN//0xGVQwPWA1VGJw+P/LNOezaGbK8Dcamkbvpt0hWjfUP4Bg==","signatures":[{"sig":"MEUCIQC4+sdmKVS2BNAD0aBwyaFBZw4/kS7BMTD6iq6WAP1w/AIgAmweH5MUrb4lCuc5nT4y2kJL9K06U8WtL+aXjUjUbLg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/get-ready@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20970},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">= 16.13.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"e771131f7e4d35e9ef5bb42ac52e02c7d7780804","scripts":{"ci":"egg-bin cov && npm run prepublishOnly && npm pack","lint":"eslint src test --ext ts","test":"npm run lint && egg-bin test","clean":"tsc -b --clean","prepublishOnly":"tshy && tshy-after"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/get-ready.git","type":"git"},"_npmVersion":"10.8.2","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"18.20.5","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tshy":"3","eslint":"^8.51.0","egg-bin":"^6.4.1","tshy-after":"^1.0.0","typescript":"^5.2.2","@types/node":"^20.8.4","@types/mocha":"^10.0.2","@eggjs/tsconfig":"^1.3.3","eslint-config-egg":"^13.0.0"},"_npmOperationalInternal":{"tmp":"tmp/get-ready_3.2.0_1734264340063_0.1281779856377292","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"get-ready","version":"3.3.0","keywords":["ready","get-ready","once","event"],"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"get-ready@3.3.0","maintainers":[{"name":"gxkl","email":"gxkl203@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"},{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"akitasummer","email":"644171127@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"homepage":"https://github.com/node-modules/get-ready#readme","bugs":{"url":"https://github.com/node-modules/get-ready/issues"},"dist":{"shasum":"49efbc9d8c66836f2efb963152a438b27ebb7e63","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-3.3.0.tgz","fileCount":11,"integrity":"sha512-qHVAQWeui8Xsz9PEcUju/trcSg8R02zsTOr1DvLaxLKly04SfNvzlwP7BFxMdtjqf+FhV1XmYIohcDMCDR0cAg==","signatures":[{"sig":"MEQCIHLLO657oGUyeknD0jxzHso9XJ+OJ95GQ/GYtQ6ZqZf8AiBSem05jdsfR+xtxSC8A7mQ/EtwWPOIv3qz/HBngZYucA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/get-ready@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22816},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">= 16.13.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"7f7b0a966e3dc7055b2627e4c598f596b8e639d4","scripts":{"ci":"egg-bin cov && npm run prepublishOnly && attw --pack","lint":"eslint src test --ext ts","test":"npm run lint && egg-bin test","clean":"tsc -b --clean","prepublishOnly":"tshy && tshy-after"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/get-ready.git","type":"git"},"_npmVersion":"10.8.2","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"18.20.5","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tshy":"3","eslint":"^8.51.0","egg-bin":"^6.4.1","tshy-after":"^1.0.0","typescript":"^5.2.2","@types/node":"^20.8.4","@types/mocha":"^10.0.2","@eggjs/tsconfig":"^1.3.3","eslint-config-egg":"^13.0.0","@arethetypeswrong/cli":"^0.17.1"},"_npmOperationalInternal":{"tmp":"tmp/get-ready_3.3.0_1734488342201_0.8671321206884344","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"get-ready","version":"3.4.0","keywords":["ready","get-ready","once","event"],"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","_id":"get-ready@3.4.0","maintainers":[{"name":"gxkl","email":"gxkl203@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"wanghx","email":"whxaxes@gmail.com"},{"name":"hyj1991","email":"yeekwanvong@gmail.com"},{"name":"killagu","email":"killa07071201@gmail.com"},{"name":"coolme200","email":"2001-wms@163.com"},{"name":"mansonchor.zzw","email":"mansonchor1987@gmail.com"},{"name":"hubcarl","email":"hubcarl@126.com"},{"name":"gemwuu","email":"gemwuu@gmail.com"},{"name":"akitasummer","email":"644171127@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"homepage":"https://github.com/node-modules/get-ready#readme","bugs":{"url":"https://github.com/node-modules/get-ready/issues"},"dist":{"shasum":"cf70308520e804c7ae82e4f982a9dfb93fd9a5fc","tarball":"https://registry.npmjs.org/get-ready/-/get-ready-3.4.0.tgz","fileCount":11,"integrity":"sha512-D7N1WED4f5rQUveyl19GxfJupMeR+y106EVK6na/zI+w34FcTAShvetX0X2k61x+lJXCEiOnGHk0xro6YRyrjQ==","signatures":[{"sig":"MEYCIQD1nskrGVYh3McdIcKgDLKYUD2lVMiV5NEO+OVNiRWJ6wIhAKw9AWSvdct/YJhevFZyTVkSpEd1VPqlonVbiYgjeTuu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/get-ready@3.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24079},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">= 16.13.0"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"528b1bbce44c5c97ab5596d333a8165795de8f0c","scripts":{"ci":"egg-bin cov && npm run prepublishOnly && attw --pack","lint":"eslint src test --ext ts","test":"npm run lint && egg-bin test","clean":"tsc -b --clean","prepublishOnly":"tshy && tshy-after"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git://github.com/node-modules/get-ready.git","type":"git"},"_npmVersion":"10.8.2","description":"mixin to add one-time ready event callback handler","directories":{},"_nodeVersion":"18.20.5","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"tshy":"3","eslint":"^8.51.0","egg-bin":"^6.4.1","tshy-after":"^1.0.0","typescript":"^5.2.2","@types/node":"^20.8.4","@types/mocha":"^10.0.2","@eggjs/tsconfig":"^1.3.3","eslint-config-egg":"^13.0.0","@arethetypeswrong/cli":"^0.17.1"},"_npmOperationalInternal":{"tmp":"tmp/get-ready_3.4.0_1734505100948_0.44965828485669546","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2015-09-29T07:58:00.717Z","modified":"2026-06-30T15:30:36.268Z","1.0.0":"2015-09-29T07:58:00.717Z","2.0.0":"2017-02-08T08:41:29.688Z","2.0.1":"2017-02-09T13:37:19.404Z","3.0.0":"2023-06-05T06:04:18.975Z","3.1.0":"2023-10-10T15:57:40.868Z","3.2.0":"2024-12-15T12:05:40.268Z","3.3.0":"2024-12-18T02:19:02.471Z","3.4.0":"2024-12-18T06:58:21.126Z"},"bugs":{"url":"https://github.com/node-modules/get-ready/issues"},"author":{"url":"https://github.com/fengmk2","name":"fengmk2","email":"fengmk2@gmail.com"},"license":"MIT","homepage":"https://github.com/node-modules/get-ready#readme","keywords":["ready","get-ready","once","event"],"repository":{"url":"git://github.com/node-modules/get-ready.git","type":"git"},"description":"mixin to add one-time ready event callback handler","maintainers":[{"email":"gxkl203@gmail.com","name":"gxkl"},{"email":"fengmk2+eggjs@gmail.com","name":"eggjs-admin"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"atian25@qq.com","name":"atian25"},{"email":"yeekwanvong@gmail.com","name":"hyj1991"},{"email":"killa07071201@gmail.com","name":"killagu"},{"email":"2001-wms@163.com","name":"coolme200"},{"email":"644171127@qq.com","name":"akitasummer"},{"email":"elrrrrrrr@gmail.com","name":"elrrrrrrr"},{"email":"ljracm@gmail.com","name":"niania"},{"email":"sakura9515@gmail.com","name":"popomore"}],"readme":"# get-ready\n\n[![NPM version][npm-image]][npm-url]\n[![CI](https://github.com/node-modules/get-ready/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/get-ready/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![npm download][download-image]][download-url]\n[![Node.js Version](https://img.shields.io/node/v/get-ready.svg?style=flat)](https://nodejs.org/en/download/)\n\n[npm-image]: https://img.shields.io/npm/v/get-ready.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/get-ready\n[codecov-image]: https://codecov.io/github/node-modules/get-ready/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/node-modules/get-ready?branch=master\n[download-image]: https://img.shields.io/npm/dm/get-ready.svg?style=flat-square\n[download-url]: https://npmjs.org/package/get-ready\n\n**Fork from [supershabam/ready](https://github.com/supershabam/ready)**\n\none-time ready event object.\n\n## Usage\n\nCreate `ready` event object.\n\n```ts\nimport { Ready } from 'get-ready';\n\nconst obj = new Ready();\n\n// register a callback\nobj.ready(() => console.log('ready'));\n\n// mark ready\nobj.ready(true);\n```\n\n### Register\n\nRegister a callback to the callback stack, it will be called when mark as ready, see example above.\n\nIf the callback is undefined, register will return a promise.\n\n```ts\nobj.ready().then(() => console.log('ready'));\nobj.ready(true);\n```\n\nIf it has been ready, the callback will be called immediately.\n\n```ts\n// already ready\nobj.ready(true);\nobj.ready().then(() => console.log('ready'));\n```\n\n### ReadyEventEmitter\n\n```ts\nimport { ReadyEventEmitter } from 'get-ready';\n\nclass MyClass extends ReadyEventEmitter {\n  // your handler here\n}\n```\n\n**Warning: the callback is called after nextTick**\n\n### Emit\n\nMark it as ready, you can simply using `.ready(true)`.\n\nYou can also mark it not ready.\n\n```ts\nobj.ready(true);\n// call immediately\nobj.ready(() => console.log('ready'));\n\nobj.ready(false);\nobj.ready(() => throw 'don\\'t run');\n```\n\nWhen exception throws, you can pass an error object, then the callback will receive it as the first argument.\n\n```ts\nobj.ready(err => console.log(err));\nobj.ready(new Error('err'));\n```\n\n## License\n\n[MIT](LICENSE)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=node-modules/get-ready)](https://github.com/node-modules/get-ready/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","readmeFilename":"README.md","users":{"tiancheng9":true}}