{"id":27290927,"url":"https://github.com/kabeep/lunar-date-fns","last_synced_at":"2026-02-14T00:02:21.373Z","repository":{"id":262968737,"uuid":"888162435","full_name":"kabeep/lunar-date-fns","owner":"kabeep","description":"🗓️ A JavaScript lunar date utility library.","archived":false,"fork":false,"pushed_at":"2025-02-24T10:49:39.000Z","size":131,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T02:19:06.984Z","etag":null,"topics":["browser","date","fns","lunar","nodejs","uitlity"],"latest_commit_sha":null,"homepage":"https://kabeep.github.io/lunar-date-fns/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kabeep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-13T23:23:32.000Z","updated_at":"2025-04-08T09:34:54.000Z","dependencies_parsed_at":"2026-02-14T00:01:27.002Z","dependency_job_id":null,"html_url":"https://github.com/kabeep/lunar-date-fns","commit_stats":null,"previous_names":["kabeep/lunar-date-fns"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/kabeep/lunar-date-fns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Flunar-date-fns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Flunar-date-fns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Flunar-date-fns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Flunar-date-fns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kabeep","download_url":"https://codeload.github.com/kabeep/lunar-date-fns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kabeep%2Flunar-date-fns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29424561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T22:20:51.549Z","status":"ssl_error","status_checked_at":"2026-02-13T22:20:49.838Z","response_time":78,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser","date","fns","lunar","nodejs","uitlity"],"created_at":"2025-04-11T21:39:36.510Z","updated_at":"2026-02-14T00:02:21.346Z","avatar_url":"https://github.com/kabeep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ch1\u003elunar-date-fns\u003c/h1\u003e\n\nA JavaScript lunar date utility library\n\n[![NodeJS][node-image]][node-url]\n[![License][license-image]][license-url]\n[![NPM][npm-image]][npm-url]\n[![Codecov][codecov-image]][codecov-url]\n[![Codacy Badge][codacy-image]][codacy-url]\n[![CircleCI][circleci-image]][circleci-url]\n\nEnglish | [简体中文][zh-cn-url]\n\n![Insights][insights-url]\n\n\u003c/div\u003e\n\n## 📖 Introduction\n\n\u003e This repository was created because my family's custom is to use the lunar calendar for birthdays, and many people can\n\u003e easily remember them except for me. I prefer the Gregorian calendar for birthdays.\n\u003e\n\u003e Therefore, this package is currently mainly used for the mutual conversion between the Gregorian calendar and the\n\u003e lunar calendar. It will not output i18n, the Chinese zodiac, the 24 solar terms, the heavenly stems and .etc.\n\nA lightweight, precise and zero-dependency utility library using Kim Larson's algorithm.\n\nSee [documentation][docs-url].\n\n## ⚙️ Installation\n\n```bash\nnpm install @kabeep/lunar-date-fns --save\n```\n\n```bash\nyarn add @kabeep/lunar-date-fns\n```\n\n```bash\npnpm add @kabeep/lunar-date-fns\n```\n\n## 🚀 Usage\n\nCommonJS\n\n```javascript\nconst { toLunar, toSolar } = require('@kabeep/lunar-date-fns');\n```\n\nESModule\n\n```javascript\nimport { toLunar, toSolar } from '@kabeep/lunar-date-fns';\n```\n\n## 🤝 Contribution\n\nContributions via Pull Requests or [Issues][issues-url] are welcome.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE][license-url] file for details.\n\n[node-image]: https://img.shields.io/node/v/%40kabeep%2Flunar-date-fns?color=lightseagreen\n[node-url]: https://nodejs.org/docs/latest/api/\n[npm-image]: https://img.shields.io/npm/d18m/%40kabeep%2Flunar-date-fns?color=cornflowerblue\n[npm-url]: https://www.npmjs.com/package/@kabeep/lunar-date-fns\n[codecov-image]: https://img.shields.io/codecov/c/github/kabeep/lunar-date-fns?logo=codecov\u0026color=mediumvioletred\n[codecov-url]: https://codecov.io/gh/kabeep/lunar-date-fns\n[codacy-image]: https://app.codacy.com/project/badge/Grade/2004f81266e04420ba10c8bc0f966e18\n[codacy-url]: https://app.codacy.com/gh/kabeep/lunar-date-fns/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade\n[circleci-image]: https://dl.circleci.com/status-badge/img/gh/kabeep/lunar-date-fns/tree/master.svg?style=shield\n[circleci-url]: https://dl.circleci.com/status-badge/redirect/gh/kabeep/lunar-date-fns/tree/master\n[insights-url]: https://repobeats.axiom.co/api/embed/a875f66209182f0a6b3ddf99ebd1bffa7b604162.svg\n[docs-url]: https://kabeep.github.io/lunar-date-fns\n[issues-url]: https://github.com/kabeep/lunar-date-fns/issues\n[license-image]: https://img.shields.io/github/license/kabeep/lunar-date-fns?color=slateblue\n[license-url]: LICENSE\n[en-us-url]: README.md\n[zh-cn-url]: README.zh-CN.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkabeep%2Flunar-date-fns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkabeep%2Flunar-date-fns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkabeep%2Flunar-date-fns/lists"}