{"_id":"@4n6h4x0r/stem-branch","_rev":"5-061bb20893693af4eb2b21fff42d2e25","name":"@4n6h4x0r/stem-branch","dist-tags":{"latest":"0.8.0"},"versions":{"0.2.0":{"name":"@4n6h4x0r/stem-branch","version":"0.2.0","keywords":["chinese-calendar","heavenly-stems","earthly-branches","stem-branch","four-pillars","bazi","solar-terms","five-elements","ten-relations","hidden-stems","chinese-zodiac","vsop87","astronomy"],"author":{"name":"h4x0r"},"license":"Apache-2.0","_id":"@4n6h4x0r/stem-branch@0.2.0","maintainers":[{"name":"4n6h4x0r","email":"albert@securityronin.com"}],"dist":{"shasum":"8705be6545104b5d6a8b23209104aa35fdd543be","tarball":"https://registry.npmjs.org/@4n6h4x0r/stem-branch/-/stem-branch-0.2.0.tgz","fileCount":9,"integrity":"sha512-f7SDKSFZnRu+SBpMvQRQwLja0DKVM08fGaWhhWGdXQmQiA9jR1zsYKRFHYv3RIFykdwAgOyH34Nw3Ddg+WGAOQ==","signatures":[{"sig":"MEQCIEE2b9+2g2uxxCmdaTdf4VX49sXaw/3quvvcmWyTub5kAiBFW8OBUI5NJd2oYcy+MtwC95oluypVc2zylTzP3R6SSA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4770558},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"975e6a940262fd69e45bd440e4fe198187df2975","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"tsup","prepare":"tsup","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","test:watch":"vitest","docs:preview":"vitepress preview docs","prepublishOnly":"npm run build"},"_npmUser":{"name":"4n6h4x0r","email":"albert@securityronin.com"},"_npmVersion":"11.4.2","description":"Chinese calendar, astronomy, and 干支 (Heavenly Stems & Earthly Branches) computation library","directories":{},"_nodeVersion":"24.4.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vitest":"^3.0.0","vitepress":"^1.6.4","typescript":"^5.7.0","@vitest/coverage-v8":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/stem-branch_0.2.0_1773837682819_0.7468808249405159","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@4n6h4x0r/stem-branch","version":"0.3.0","keywords":["chinese-calendar","heavenly-stems","earthly-branches","stem-branch","four-pillars","bazi","solar-terms","five-elements","ten-relations","hidden-stems","chinese-zodiac","vsop87","astronomy"],"author":{"name":"h4x0r"},"license":"Apache-2.0","_id":"@4n6h4x0r/stem-branch@0.3.0","maintainers":[{"name":"4n6h4x0r","email":"albert@securityronin.com"}],"homepage":"https://h4x0r.github.io/stem-branch/","bin":{"stem-branch":"dist/cli.cjs"},"dist":{"shasum":"65d711c2d8637845e8d41c456195c18915490c10","tarball":"https://registry.npmjs.org/@4n6h4x0r/stem-branch/-/stem-branch-0.3.0.tgz","fileCount":8,"integrity":"sha512-7JXAGxPu/H+FItDFv1OxSOEqVjseftLMST1hzA+8pCfUDRuyO7R7Qtcyfdmh0PfzKYKEOgSpLWESiwKYMWgCHw==","signatures":[{"sig":"MEUCIBiiF1ccZBwuTTNVmS4mvTUSDI+goFtrnYHAxtz4FADeAiEArOKwfvzR6oPUefVuUX0qc+SH8DAaLlGVedQT0PpzVic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8671441},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"tsup","prepare":"tsup","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","test:watch":"vitest","docs:preview":"vitepress preview docs","prepublishOnly":"npm run build"},"_npmUser":{"name":"4n6h4x0r","email":"albert@securityronin.com"},"_npmVersion":"11.4.2","description":"Chinese calendar, astronomy, and 干支 (Heavenly Stems & Earthly Branches) computation library","directories":{},"sideEffects":false,"_nodeVersion":"24.4.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","sweph":"^2.10.3-b-1","vitest":"^3.0.0","mermaid":"^11.13.0","vitepress":"^1.6.4","typescript":"^5.7.0","@vitest/coverage-v8":"^3.0.0","markdown-it-footnote":"^4.0.0","vitepress-plugin-mermaid":"^2.0.17"},"_npmOperationalInternal":{"tmp":"tmp/stem-branch_0.3.0_1781766883938_0.5674983818749264","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@4n6h4x0r/stem-branch","version":"0.4.0","keywords":["chinese-calendar","heavenly-stems","earthly-branches","stem-branch","four-pillars","bazi","solar-terms","five-elements","ten-relations","hidden-stems","chinese-zodiac","vsop87","astronomy"],"author":{"name":"h4x0r"},"license":"Apache-2.0","_id":"@4n6h4x0r/stem-branch@0.4.0","maintainers":[{"name":"4n6h4x0r","email":"albert@securityronin.com"}],"homepage":"https://h4x0r.github.io/stem-branch/","bin":{"stem-branch":"dist/cli.cjs"},"dist":{"shasum":"eab150ff9b79adf22e0d6b339c24332bc1e9f108","tarball":"https://registry.npmjs.org/@4n6h4x0r/stem-branch/-/stem-branch-0.4.0.tgz","fileCount":8,"integrity":"sha512-iZQEE21p9wLT+/9XpcX8ey6kxvqj0kVo3ixprr0JnKUVu7DwcMRNUR7syRiCFz/HMHa15jr6Haw8xjIW9MuIiQ==","signatures":[{"sig":"MEYCIQDNgDCyWrySQ0nxksYXiHFoL45JEngzye5oF0IMXwZt4wIhAMqfiD4JQOQ/oB5ySLCPWDIceBDy5LgIef1sfqzhnhFX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8765307},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"c1cbe000f06552a259f30916dc9b147671d852a8","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"tsup","prepare":"tsup","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","test:watch":"vitest","docs:preview":"vitepress preview docs","prepublishOnly":"npm run build"},"_npmUser":{"name":"4n6h4x0r","email":"albert@securityronin.com"},"_npmVersion":"11.4.2","description":"Chinese calendar, astronomy, and 干支 (Heavenly Stems & Earthly Branches) computation library","directories":{},"sideEffects":false,"_nodeVersion":"24.4.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","sweph":"^2.10.3-b-1","vitest":"^3.0.0","mermaid":"^11.13.0","vitepress":"^1.6.4","typescript":"^5.7.0","@vitest/coverage-v8":"^3.0.0","markdown-it-footnote":"^4.0.0","vitepress-plugin-mermaid":"^2.0.17"},"_npmOperationalInternal":{"tmp":"tmp/stem-branch_0.4.0_1782711902346_0.1738928521581946","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@4n6h4x0r/stem-branch","version":"0.7.0","keywords":["chinese-calendar","heavenly-stems","earthly-branches","stem-branch","four-pillars","bazi","solar-terms","five-elements","ten-relations","hidden-stems","chinese-zodiac","vsop87","astronomy"],"author":{"name":"h4x0r"},"license":"Apache-2.0","_id":"@4n6h4x0r/stem-branch@0.7.0","maintainers":[{"name":"4n6h4x0r","email":"albert@securityronin.com"}],"homepage":"https://h4x0r.github.io/stem-branch/","bin":{"stem-branch":"dist/cli.cjs"},"dist":{"shasum":"3d767d40b53ae36aab4bee12bda7ce74d5b6c45d","tarball":"https://registry.npmjs.org/@4n6h4x0r/stem-branch/-/stem-branch-0.7.0.tgz","fileCount":8,"integrity":"sha512-HdkKNTdl9y3Hxnt0o+ovQDsjT/AjIVYuxrIHR9WtuGL+S0XjkUKQlVu2EElPLTiGCepMhHuSAPKEELkdhgSqRA==","signatures":[{"sig":"MEUCIQDlW4n/E+zVLv7sawml3FT67L/842mXZkHGmt/E/zrDSgIgQgm5QloCMmtNMFjAnFUSkQNSLeZwl6/SRDCM6At2MDs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8776893},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"798986e99ecbb3944e224662c5aaab70820690dc","scripts":{"lint":"tsc --noEmit","test":"vitest run","build":"tsup","prepare":"tsup","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","test:watch":"vitest","docs:preview":"vitepress preview docs","prepublishOnly":"npm run build"},"_npmUser":{"name":"4n6h4x0r","email":"albert@securityronin.com"},"_npmVersion":"11.4.2","description":"Chinese calendar, astronomy, and 干支 (Heavenly Stems & Earthly Branches) computation library","directories":{},"sideEffects":false,"_nodeVersion":"24.4.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","sweph":"^2.10.3-b-1","vitest":"^3.0.0","mermaid":"^11.13.0","vitepress":"^1.6.4","typescript":"^5.7.0","@vitest/coverage-v8":"^3.0.0","markdown-it-footnote":"^4.0.0","vitepress-plugin-mermaid":"^2.0.17"},"_npmOperationalInternal":{"tmp":"tmp/stem-branch_0.7.0_1782735099007_0.009564968186292155","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@4n6h4x0r/stem-branch","version":"0.8.0","description":"Chinese calendar, astronomy, and 干支 (Heavenly Stems & Earthly Branches) computation library","homepage":"https://h4x0r.github.io/stem-branch/","repository":{"type":"git","url":"git+https://github.com/h4x0r/stem-branch.git"},"type":"module","sideEffects":false,"main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"bin":{"stem-branch":"dist/cli.cjs"},"scripts":{"build":"tsup","prepare":"tsup","test":"vitest run","test:watch":"vitest","lint":"tsc --noEmit","prepublishOnly":"npm run build","docs:dev":"vitepress dev docs","docs:build":"vitepress build docs","docs:preview":"vitepress preview docs"},"keywords":["chinese-calendar","heavenly-stems","earthly-branches","stem-branch","four-pillars","bazi","solar-terms","five-elements","ten-relations","hidden-stems","chinese-zodiac","vsop87","astronomy"],"author":{"name":"h4x0r"},"license":"Apache-2.0","devDependencies":{"@vitest/coverage-v8":"^3.0.0","markdown-it-footnote":"^4.0.0","mermaid":"^11.13.0","sweph":"^2.10.3-b-1","tsup":"^8.4.0","typescript":"^5.7.0","vitepress":"^1.6.4","vitepress-plugin-mermaid":"^2.0.17","vitest":"^3.0.0"},"gitHead":"154f232c96930d12c5c4031e4cc1ecbdac440755","_id":"@4n6h4x0r/stem-branch@0.8.0","bugs":{"url":"https://github.com/h4x0r/stem-branch/issues"},"_nodeVersion":"22.23.1","_npmVersion":"12.0.1","dist":{"integrity":"sha512-UPmmRJMQNums/rE/dRTU9bT5OFHje4/lzrWj2SP0PRRrpYBLLaeeU6aVEv0Y72/cRkKxHzkiR2xm3+ZFGOEilg==","shasum":"078d551ff98a1bc36b1f10bc4a46fed1117d0904","tarball":"https://registry.npmjs.org/@4n6h4x0r/stem-branch/-/stem-branch-0.8.0.tgz","fileCount":8,"unpackedSize":8783572,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@4n6h4x0r%2fstem-branch@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIH4/1qCtWBwxP8QcRGNcajdWefkp+hb6Z7c/YV/Qv1TYAiATxFfvbDqqQIGkL+5wUd4NAywTDadS1cy5J0H3urEq7Q=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:8b421f96-34e2-4471-a5ff-70f8e1f64169"}},"directories":{},"maintainers":[{"name":"4n6h4x0r","email":"albert@securityronin.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stem-branch_0.8.0_1783932014927_0.23228273395055066"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-18T12:41:22.723Z","modified":"2026-07-13T08:40:15.449Z","0.2.0":"2026-03-18T12:41:23.045Z","0.3.0":"2026-06-18T07:14:44.124Z","0.4.0":"2026-06-29T05:45:02.580Z","0.7.0":"2026-06-29T12:11:39.217Z","0.8.0":"2026-07-13T08:40:15.194Z"},"author":{"name":"h4x0r"},"license":"Apache-2.0","homepage":"https://h4x0r.github.io/stem-branch/","keywords":["chinese-calendar","heavenly-stems","earthly-branches","stem-branch","four-pillars","bazi","solar-terms","five-elements","ten-relations","hidden-stems","chinese-zodiac","vsop87","astronomy"],"description":"Chinese calendar, astronomy, and 干支 (Heavenly Stems & Earthly Branches) computation library","maintainers":[{"name":"4n6h4x0r","email":"albert@securityronin.com"}],"readme":"# stem-branch\n\nThe most accurate open-source Chinese calendar engine. Solar terms verified to **1.05 seconds mean** against JPL DE441 across 2,300 years of history. Zero dependencies. TypeScript.\n\n[![npm](https://img.shields.io/npm/v/%404n6h4x0r%2Fstem-branch)](https://www.npmjs.com/package/@4n6h4x0r/stem-branch)\n[![license](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)\n[![coverage](https://img.shields.io/badge/coverage-100%25-brightgreen)]()\n[![TypeScript](https://img.shields.io/badge/TypeScript-5.7+-blue)](https://www.typescriptlang.org/)\n\n## Accuracy\n\nEvery result is computed from first principles — full VSOP87D (2,425 terms) with a DE441-fitted correction polynomial, IAU2000B nutation, and Meeus Ch. 49 lunar algorithms — then validated against JPL's numerical ephemeris.\n\n**vs JPL DE441 (primary reference):**\n\n| Test | Range | Result |\n|------|-------|--------|\n| Solar term timing | 209–2493 CE (1,008 terms) | mean **1.05 s**, max 3.05 s |\n| Equation of Time | 2024 (366 days) | max **0.03 s** |\n| Planetary longitude | 1900–2100 (808 epochs) | **1–14″** mean |\n| Lunar phase timing | 2000–2024 (594 phases) | **3.6″** mean elongation error |\n\n**vs [sxwnl](https://github.com/sxwnl/sxwnl) (寿星万年历, the most widely-cited open-source alternative):**\n\n| Metric | stem-branch | sxwnl |\n|--------|-------------|-------|\n| Mean solar term error (vs JPL) | **1.05 s** | 2.38 s |\n| Max solar term error (vs JPL) | **3.05 s** | 7.18 s |\n| Validated range | **209–2493 CE** | 1900–2100 CE |\n| Extended computation | **10,392 terms, 0 failures** | — |\n| Timeline where equal or better | **98.9%** | 1.1% |\n\nFull methodology with 14 charts, polynomial analysis, and 7,000-year extended range data: **[Accuracy Report](https://h4x0r.github.io/stem-branch/accuracy)**\n\n## Install\n\n```bash\nnpm install @4n6h4x0r/stem-branch\n```\n\nZero production dependencies. Works in Node.js, browsers, and edge runtimes.\n\n## Quick Examples\n\n### Four Pillars (四柱八字)\n\n```typescript\nimport { computeFourPillars } from '@4n6h4x0r/stem-branch';\n\nconst pillars = computeFourPillars(new Date(2024, 1, 10, 14, 30));\n// → year: 甲辰, month: 丙寅, day: 壬午, hour: 丁未\n```\n\n### Daily Almanac (日曆總覽)\n\nOne call, everything at once — four pillars, lunar date, solar terms, zodiac, day fitness, flying stars, almanac flags, Six Ren chart, eclipses, and element analysis:\n\n```typescript\nimport { dailyAlmanac } from '@4n6h4x0r/stem-branch';\n\nconst a = dailyAlmanac(new Date(2024, 5, 15));\n// a.pillars      → year/month/day/hour stem-branch pairs\n// a.lunar        → { year: 2024, month: 5, day: 10, isLeapMonth: false }\n// a.dayFitness   → { fitness: '成', auspicious: true }\n// a.almanacFlags → [{ name: '天乙貴人', english: 'Heavenly Noble', ... }, ...]\n// a.sixRen       → { method: '賊剋', lessons: [...], ... }\n// a.flyingStars  → { year: {...}, month: {...}, day: {...}, hour: {...} }\n```\n\n### Seven Governors (七政四餘)\n\nChinese sidereal astrology — 11 celestial bodies placed in 28 lunar mansions and 12 palaces:\n\n```typescript\nimport { getSevenGovernorsChart } from '@4n6h4x0r/stem-branch';\n\nconst chart = getSevenGovernorsChart(\n  new Date('1990-01-15T00:30:00Z'),\n  { lat: 25.033, lon: 121.565 },\n);\n// chart.bodies.sun     → { siderealLon, mansion, mansionDegree, palace }\n// chart.palaces         → 12 palaces with roles relative to ascendant\n// chart.aspects         → inter-body aspects (合/沖/刑/三合)\n// chart.dignities       → per-body dignity (廟/旺/平/陷)\n```\n\n## What's Inside\n\n### Astronomy\n\n| Export | Description |\n|--------|-------------|\n| `getSolarTermsForYear(year)` | All 24 solar terms with exact UTC times |\n| `gregorianToLunar(date)` | Gregorian → lunar date conversion |\n| `getEclipsesForYear(year)` | Solar and lunar eclipses (−1999 to 3000 CE) |\n| `equationOfTime(date)` | Equation of Time in minutes |\n| [+ 14 more →](https://h4x0r.github.io/stem-branch/api/astronomy) | |\n\n### Stem-Branch System (干支)\n\n| Export | Description |\n|--------|-------------|\n| `STEMS` / `BRANCHES` | 天干地支 arrays |\n| `allSixtyStemBranch()` | All 60 valid pairs in cycle order |\n| `getElementRelation(from, to)` | Five Elements relationship (生/剋/比和) |\n| `getCycleElement(sb)` | 納音 element for a stem-branch pair |\n| [+ 12 more →](https://h4x0r.github.io/stem-branch/api/stem-branch) | |\n\n### Four Pillars & Derivations (四柱八字)\n\n| Export | Description |\n|--------|-------------|\n| `computeFourPillars(date)` | Year, month, day, and hour pillars |\n| `computeMajorLuck(date, gender)` | 大運 ten-year luck periods |\n| `getAlmanacFlags(date)` | All active 神煞 for a date |\n| `getTenRelation(dayStem, other)` | Ten Relations (十神) |\n| [+ 45 more →](https://h4x0r.github.io/stem-branch/api/four-pillars) | |\n\n### Almanac Features (曆書)\n\n| Export | Description |\n|--------|-------------|\n| `getDayFitnessForDate(date)` | 建除十二神 fitness + auspicious flag |\n| `getFlyingStars(date)` | 紫白九星 year/month/day/hour stars |\n| `getChineseZodiac(date)` | 生肖 with configurable year boundary |\n| `getPengZuTabooForDate(date)` | 彭祖百忌 daily taboos |\n| [+ 15 more →](https://h4x0r.github.io/stem-branch/api/almanac) | |\n\n### Divination Systems (三式)\n\n| Export | Description |\n|--------|-------------|\n| `computeSixRenForDate(date)` | 大六壬 full chart |\n| `computeQiMenForDate(date)` | 奇門遁甲 full chart |\n| `computeZiWei(birthData)` | 紫微斗數 full chart |\n| [+ 15 more →](https://h4x0r.github.io/stem-branch/api/divination) | |\n\n### Seven Governors (七政四餘)\n\n| Export | Description |\n|--------|-------------|\n| `getSevenGovernorsChart(date, location)` | Complete natal chart with all 11 bodies |\n| `toSiderealLongitude(lon, date)` | Tropical → sidereal conversion (3 modes) |\n| `getRahuPosition(date)` | 羅睺 Moon's ascending node |\n| `getMansionForLongitude(lon)` | Map to one of 28 lunar mansions |\n| [+ 6 more →](https://h4x0r.github.io/stem-branch/api/seven-governors) | |\n\n### Timezone & Location (時區)\n\n| Export | Description |\n|--------|-------------|\n| `localToUtc(y, m, d, h, min, tz)` | Wall clock → UTC with historical DST |\n| `wallClockToSolarTime(...)` | Full true solar time pipeline |\n| `searchCities(query)` | Search 143 cities by name or pinyin |\n| [+ 10 more →](https://h4x0r.github.io/stem-branch/api/timezone) | |\n\n## Rust port\n\nA native Rust port of the solar ephemeris core lives in [`rust/`](rust/) — no\nJavaScript, no dependencies. `solar_ecliptic_state(jde_tt)` returns the Sun's\ngeocentric ecliptic longitude (mean and apparent) and Sun–Earth distance from\nthe full VSOP87D Earth series, the DE441-fitted correction, and IAU2000B\nnutation.\n\n```rust\nuse stembranch::solar_ecliptic_state;\nlet s = solar_ecliptic_state(2451545.0); // JDE (TT)\n// s.apparent_longitude_degrees ≈ 280.368  (J2000.0)\n```\n\nIts VSOP87D and nutation coefficient tables are generated from this repo's\nTypeScript source, so the two implementations share one source of truth and\ncannot silently drift. Validated against **JPL DE441** to a max **0.081″** over\n1900–2100 CE — see [`rust/README.md`](rust/README.md) for the residual table and\nmethodology.\n\n## Documentation\n\n- **[Getting Started](https://h4x0r.github.io/stem-branch/getting-started)** — install, examples, and \"What's Inside\" overview\n- **[API Reference](https://h4x0r.github.io/stem-branch/api/astronomy)** — full export tables and TypeScript types\n- **[Reference Tables](https://h4x0r.github.io/stem-branch/reference/almanac-flags)** — 神煞, 建除十二神, 天德月德, 神煞方位 lookup tables\n- **[Algorithms](https://h4x0r.github.io/stem-branch/algorithms/overview)** — how solar longitude, four pillars, and lunisolar calendar are computed\n- **[Accuracy Report](https://h4x0r.github.io/stem-branch/accuracy)** — full validation against JPL DE441, Swiss Ephemeris, and sxwnl\n- **[Seven Governors](https://h4x0r.github.io/stem-branch/seven-governors)** — 七政四餘 computation methods and historical context\n- **[Rust binding](rust/README.md)** — native Rust port of the solar ephemeris core, validated against JPL DE441 (max 0.081″)\n\n## License\n\n[Apache-2.0](LICENSE)\n","readmeFilename":"README.md","repository":{"type":"git","url":"git+https://github.com/h4x0r/stem-branch.git"},"bugs":{"url":"https://github.com/h4x0r/stem-branch/issues"}}