{"id":24652210,"url":"https://github.com/laclys/dayjs-jp-calendar","last_synced_at":"2026-05-06T10:39:52.168Z","repository":{"id":226926007,"uuid":"767583169","full_name":"laclys/dayjs-jp-calendar","owner":"laclys","description":"day.js plugin for Wareki(Japanese Calendar) 向け和暦","archived":false,"fork":false,"pushed_at":"2025-01-15T07:38:50.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-07T05:45:25.976Z","etag":null,"topics":["dayjs","dayjs-plugin"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/dayjs-jp-calendar","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/laclys.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-05T14:57:05.000Z","updated_at":"2025-04-24T09:52:34.000Z","dependencies_parsed_at":"2024-04-29T08:29:07.620Z","dependency_job_id":"a9175970-2083-4e87-9de7-46e986ccbe3e","html_url":"https://github.com/laclys/dayjs-jp-calendar","commit_stats":null,"previous_names":["laclys/dayjs-jp-calendar"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/laclys/dayjs-jp-calendar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laclys%2Fdayjs-jp-calendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laclys%2Fdayjs-jp-calendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laclys%2Fdayjs-jp-calendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laclys%2Fdayjs-jp-calendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laclys","download_url":"https://codeload.github.com/laclys/dayjs-jp-calendar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laclys%2Fdayjs-jp-calendar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32689653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T08:33:17.875Z","status":"ssl_error","status_checked_at":"2026-05-06T08:33:17.221Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["dayjs","dayjs-plugin"],"created_at":"2025-01-25T19:14:17.251Z","updated_at":"2026-05-06T10:39:52.149Z","avatar_url":"https://github.com/laclys.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## dayjs-jp-calendar\n\n![](https://img.shields.io/npm/v/dayjs-jp-calendar.svg?style=flat)\n[![](https://img.shields.io/npm/dm/dayjs-jp-calendar)](https://www.npmjs.com/package/dayjs-jp-calendar)\n![GitHub](https://img.shields.io/github/license/laclys/dayjs-jp-calendar)\n\n\u003e Jpanese Calendar Plugin for Day.js\n\n### Installation\n\n```bash\nnpm i dayjs-jp-calendar --save\n# OR\npnpm i dayjs-jp-calendar\n\n```\n\n### Usage\n\n```typescript\nimport dayjs from 'dayjs'\nimport jpCalendar from 'dayjs-jp-calendar'\n// OR\nimport { jpCalendar } from 'dayjs-jp-calendar'\n\ndayjs.extend(jpCalendar)\n\nconst date = '2023-11-13'\n\ndayjs(date).format('RRRR') // --\u003e 令和5\ndayjs(date).format('RRR') // --\u003e 令和\ndayjs(date).format('RR') // --\u003e R5\ndayjs(date).format('R') // --\u003e R\n\ndayjs(date).format('rr') // --\u003e ㋿5\ndayjs(date).format('r') // --\u003e ㋿\n\ndayjs(date).format('YYYY(RR)/MM/DD') // --\u003e 2023(R5)/11/13\ndayjs(date).format('YYYY(rr)/MM/DD') // --\u003e 2023(㋿5)/11/13\n```\n\n### Test Coverage\n\n```\n % Coverage report from v8\n----------|---------|----------|---------|---------|\nFile      | % Stmts | % Branch | % Funcs | % Lines |\n----------|---------|----------|---------|---------|\nAll files |    92.3 |    85.71 |     100 |    92.3 |\n index.ts |    92.3 |    85.71 |     100 |    92.3 |\n----------|---------|----------|---------|---------|\n```\n\n### For Dev\n\n```bash\n#Install\npnpm i\n#Test\npnpm run test\n#Build\npnpm run build\n```\n\n### Example case\n\n\u003e [Link](https://github.com/laclys/dayjs-jp-calendar/tree/master/demo)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaclys%2Fdayjs-jp-calendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaclys%2Fdayjs-jp-calendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaclys%2Fdayjs-jp-calendar/lists"}