{"_id":"@actionmanifest/temporal","name":"@actionmanifest/temporal","dist-tags":{"next":"0.9.0-rc.0","latest":"0.9.0-rc.0"},"versions":{"0.9.0-rc.0":{"name":"@actionmanifest/temporal","version":"0.9.0-rc.0","description":"Deterministic Japanese/English temporal and modality parsing. Unknown stays unknown.","license":"Apache-2.0","type":"module","sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"engines":{"node":">=20"},"repository":{"type":"git","url":"git+https://github.com/hello-ai-company/ActionManifest.git","directory":"packages/temporal"},"homepage":"https://github.com/hello-ai-company/ActionManifest/tree/main/packages/temporal#readme","bugs":{"url":"https://github.com/hello-ai-company/ActionManifest/issues"},"publishConfig":{"access":"public"},"dependencies":{"@actionmanifest/core":"0.9.0-rc.0"},"scripts":{"build":"tsc -b"},"_id":"@actionmanifest/temporal@0.9.0-rc.0","_integrity":"sha512-apy1b1+qESURKhXXB+95BVwoIt520cXki0n6P4hiYFwBGAvEdYjHKlyuuklir5H6c166Dm0Oa1iIEQBQzvq3fA==","_resolved":"/tmp/actionmanifest-canonical-publish.06nY0g/tarballs/actionmanifest-temporal-0.9.0-rc.0.tgz","_from":"file:/tmp/actionmanifest-canonical-publish.06nY0g/tarballs/actionmanifest-temporal-0.9.0-rc.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-apy1b1+qESURKhXXB+95BVwoIt520cXki0n6P4hiYFwBGAvEdYjHKlyuuklir5H6c166Dm0Oa1iIEQBQzvq3fA==","shasum":"c545f25a95b639925ab3a917cf05fc1468ad6e5f","tarball":"https://registry.npmjs.org/@actionmanifest/temporal/-/temporal-0.9.0-rc.0.tgz","fileCount":16,"unpackedSize":57482,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDnGwDuwizOciOcYCR1tZKJVfoQPu5Y0gfbQfW9AMdWGAIhAPHZfkIe3oPn4zb96tmLzYTg4RFLaOKVafbWUQs6ahhL"}]},"_npmUser":{"name":"yuki-s-code","email":"yukitokinako3@gmail.com"},"directories":{},"maintainers":[{"name":"yuki-s-code","email":"yukitokinako3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/temporal_0.9.0-rc.0_1789125136756_0.17309541130006223"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-11T11:12:16.561Z","0.9.0-rc.0":"2026-09-11T11:12:16.897Z","modified":"2026-09-11T11:12:17.120Z"},"maintainers":[{"name":"yuki-s-code","email":"yukitokinako3@gmail.com"}],"description":"Deterministic Japanese/English temporal and modality parsing. Unknown stays unknown.","homepage":"https://github.com/hello-ai-company/ActionManifest/tree/main/packages/temporal#readme","repository":{"type":"git","url":"git+https://github.com/hello-ai-company/ActionManifest.git","directory":"packages/temporal"},"bugs":{"url":"https://github.com/hello-ai-company/ActionManifest/issues"},"license":"Apache-2.0","readme":"# @actionmanifest/temporal\n\nDeterministic Japanese/English temporal and modality parsing.\n**Unknown stays unknown** — this package never invents a date\n(「10月頃」 does not become `2026-10-01`).\n\n> **Release status:** release-candidate preparation — not yet published to\n> npm. First release: `0.9.0-rc.1`.\n\n```bash\nnpm install @actionmanifest/temporal  # once published\n```\n\nRequires Node.js >= 20.\n\n## Usage\n\n```ts\nimport { parseTemporals, primaryTemporal, detectModality } from \"@actionmanifest/temporal\";\n\nconst hits = parseTemporals(\"令和8年10月15日に提出してください。\");\nconst primary = primaryTemporal(\"令和8年10月15日に提出してください。\");\nconst { modality, conditions } = detectModality(\"必ず提出してください\");\n```\n\n## Key exports\n\n- Parsing: `parseTemporals`, `primaryTemporal`, `extractYearContext`\n- Japanese era conversion: `reiwaToGregorian`, `heiseiToGregorian`,\n  `showaToGregorian`\n- Cues: `isApproximateCue`, `isNegation`, `isCancellationContext`,\n  `isReferenceContext`, `isPastCompletedContext`, `isCorrectionContext`,\n  `correctionCueIndex`\n- Classification: `detectModality`, `detectKind`\n\nFull reference: [docs/API.md](../../docs/API.md).\n\n## Links\n\n- Repository: <https://github.com/hello-ai-company/ActionManifest> (this\n  package: `packages/temporal`)\n\nApache-2.0.\n","readmeFilename":"README.md","_rev":"1-b9651e5379cf881f99b7a53aed03934a"}