{"_id":"k-lotto","_rev":"2-6fa154051fa4555a9848a19e19ad49d2","name":"k-lotto","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"k-lotto","version":"0.1.0","keywords":["k-skill","korea","lotto","dhlottery"],"license":"MIT","_id":"k-lotto@0.1.0","maintainers":[{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"}],"dist":{"shasum":"04f7d235c0e14024cb944ac92e749f013e6bf85f","tarball":"https://registry.npmjs.org/k-lotto/-/k-lotto-0.1.0.tgz","fileCount":4,"integrity":"sha512-ij3aIvKdRluWrpHC8NxZ6JP/XeT6X+MjPvzjZBi21zJJKG7b18aazf+UL3ERDCptD992FKYuWXyQKktB2THP/Q==","signatures":[{"sig":"MEQCIECryzVsXO4te2pxy5j9kfaG9PhXEQ5iExlH3BtcQoDAAiA2+ld4m6a54PRGBIDFCos8cmXnJrJYczu2EUozu0QD/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9297},"main":"src/index.js","engines":{"node":">=18"},"gitHead":"ec41ff08dc5f1754c10f1c3b7dc5b5418276efc6","scripts":{"lint":"node --check src/index.js && node --check src/parse.js && node --check test/index.test.js","test":"node --test"},"_npmUser":{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"},"_npmVersion":"10.9.4","description":"Official dhlottery-backed client for Korean Lotto results","directories":{},"_nodeVersion":"22.22.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/k-lotto_0.1.0_1774447821771_0.7058124836238178","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"k-lotto","version":"0.2.0","description":"Official dhlottery-backed client for Korean Lotto results","license":"MIT","main":"src/index.js","engines":{"node":">=18"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/NomaDamas/k-skill.git"},"keywords":["k-skill","korea","lotto","dhlottery"],"scripts":{"lint":"node --check src/index.js && node --check src/parse.js && node --check test/index.test.js","test":"node --test"},"gitHead":"bd6997d1332ab4937521bb607dec0e7a776e7f98","_id":"k-lotto@0.2.0","bugs":{"url":"https://github.com/NomaDamas/k-skill/issues"},"homepage":"https://github.com/NomaDamas/k-skill#readme","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-6Wd1Wbf3ihK/MVgIFdwG0mXcxb7IyUE3plzKrntSMhzWg9OeIn6dRw5kmUszn5U0oQFXXPmmKvsM2GhPl4HvQg==","shasum":"74fcf63262ebcae0d20a363e9eb907d6063236c2","tarball":"https://registry.npmjs.org/k-lotto/-/k-lotto-0.2.0.tgz","fileCount":4,"unpackedSize":9397,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/k-lotto@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICZQxP0SJaAJIRaje8toJkOXvauMVjR6XbeTxLlvgUaXAiBZHwKkzXYhgClKBOL2yp8v0XP1DlGw2Q5ucHe/+l+hhQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:17960abc-51c6-47f5-a55d-364981b3596e"}},"directories":{},"maintainers":[{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/k-lotto_0.2.0_1774878098812_0.7052718111674128"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-25T14:10:21.671Z","modified":"2026-03-30T13:41:39.253Z","0.1.0":"2026-03-25T14:10:21.920Z","0.2.0":"2026-03-30T13:41:38.944Z"},"license":"MIT","keywords":["k-skill","korea","lotto","dhlottery"],"description":"Official dhlottery-backed client for Korean Lotto results","maintainers":[{"name":"vkehfdl1","email":"vkehfdl1@gmail.com"}],"readme":"# k-lotto\n\n동행복권 공식 결과 페이지와 JSON 응답을 이용해 한국 로또 6/45 당첨 결과를 조회하는 Node.js 패키지입니다.\n\n## 설치\n\n배포 후:\n\n```bash\nnpm install k-lotto\n```\n\n이 저장소에서 개발할 때:\n\n```bash\nnpm install\n```\n\n## 사용 예시\n\n```js\nconst lotto = require(\"k-lotto\");\n\nasync function main() {\n  const latestRound = await lotto.getLatestRound();\n  const detail = await lotto.getDetailResult(latestRound);\n  const checked = await lotto.checkNumber(latestRound, [3, 10, 14, 15, 23, 24]);\n\n  console.log({ latestRound, detail, checked });\n}\n\nmain().catch((error) => {\n  console.error(error);\n  process.exitCode = 1;\n});\n```\n\n## 공개 API\n\n- `getLatestRound()`\n- `getResult(round)`\n- `getDetailResult(round)`\n- `checkNumber(round, ticketNumbers)`\n- `evaluateTicket(detailResult, ticketNumbers)`\n","readmeFilename":"README.md","homepage":"https://github.com/NomaDamas/k-skill#readme","repository":{"type":"git","url":"git+https://github.com/NomaDamas/k-skill.git"},"bugs":{"url":"https://github.com/NomaDamas/k-skill/issues"}}