{"versions":{"0.0.1":{"name":"dayjs-lunar","type":"module","version":"0.0.1","packageManager":"pnpm@9.5.0","description":"dayjs-lunar is a dayjs plugin to support chinese lunar","author":{"name":"bijinfeng","email":"bijinfeng1016@gmail.com"},"license":"MIT","homepage":"https://github.com/bijinfeng/dayjs-lunar#readme","repository":{"type":"git","url":"git+https://github.com/bijinfeng/dayjs-lunar.git"},"bugs":{"url":"https://github.com/bijinfeng/dayjs-lunar/issues"},"keywords":["dayjs","lunar"],"sideEffects":false,"exports":{".":{"types":"./typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.mjs","module":"./dist/index.mjs","types":"./typings/index.d.ts","typesVersions":{"*":{"*":["./typings/*","./typings/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit","prepare":"simple-git-hooks"},"dependencies":{"lunar-typescript":"^1.7.5"},"devDependencies":{"@antfu/eslint-config":"^2.23.0","@antfu/ni":"^0.22.0","@antfu/utils":"^0.7.10","@types/node":"^20.14.11","bumpp":"^9.4.1","dayjs":"^1.11.13","eslint":"^9.7.0","esno":"^4.7.0","lint-staged":"^15.2.7","pnpm":"^9.5.0","simple-git-hooks":"^2.11.1","typescript":"^5.5.3","unbuild":"^2.0.0","vite":"^5.3.4","vitest":"^2.0.3"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"_id":"dayjs-lunar@0.0.1","gitHead":"291e4c0b3a86b68f9489c3aa1e3706495ae67c8f","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-3uFTw2gV837NH45ZcXC0hr78VGajfMQpBFOfMdj7UMIN/11WKTa6lD7gK474AOuJbkrAHubjjb/S91wAYdJCCQ==","shasum":"10304a893ca6b293d43fae1a043fd8c001ab2430","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dayjs-lunar/-/dayjs-lunar-0.0.1.tgz","fileCount":6,"unpackedSize":7454,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dayjs-lunar@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4wz/PKe4knEiWh3P/2ZkpwzXoAIyrYRC6xmUNYoEzDgIgGFQKLITRicGDbjtujkZ5f3fvmVjg0gvQV3dNtAuE6Z4="}],"size":2787},"_npmUser":{"name":"anonymous","email":"bijinfeng1016@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"bijinfeng1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dayjs-lunar_0.0.1_1724828712711_0.6117866333609367"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-28T07:05:12.859Z","publish_time":1724828712859,"_source_registry_name":"default","contributors":[]},"0.0.2":{"name":"dayjs-lunar","type":"module","version":"0.0.2","packageManager":"pnpm@9.5.0","description":"dayjs-lunar is a dayjs plugin to support chinese lunar","author":{"name":"bijinfeng","email":"bijinfeng1016@gmail.com"},"license":"MIT","homepage":"https://github.com/bijinfeng/dayjs-lunar#readme","repository":{"type":"git","url":"git+https://github.com/bijinfeng/dayjs-lunar.git"},"bugs":{"url":"https://github.com/bijinfeng/dayjs-lunar/issues"},"keywords":["dayjs","lunar"],"sideEffects":false,"exports":{".":{"types":"./typings/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./typings/index.d.ts","typesVersions":{"*":{"*":["./typings/*","./typings/index.d.ts"]}},"scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit","prepare":"simple-git-hooks"},"dependencies":{"lunar-typescript":"^1.7.5"},"devDependencies":{"@antfu/eslint-config":"^2.23.0","@antfu/ni":"^0.22.0","@antfu/utils":"^0.7.10","@types/node":"^20.14.11","bumpp":"^9.4.1","dayjs":"^1.11.13","eslint":"^9.7.0","esno":"^4.7.0","lint-staged":"^15.2.7","pnpm":"^9.5.0","simple-git-hooks":"^2.11.1","typescript":"^5.5.3","unbuild":"^2.0.0","vite":"^5.3.4","vitest":"^2.0.3"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"_id":"dayjs-lunar@0.0.2","gitHead":"8683ea55af234ef0cdcbb8f15d736d4d0a7decc1","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Q00bQjFjjzQHxolTLJx+HukwpAh5medeH9yoD78zu9ApJIhAwURnmUwM2GYOiuSf+y0iNZzYLOxXseaeYKc25w==","shasum":"28f161e3a689b56c741baec87f8dc4953dcb23dd","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dayjs-lunar/-/dayjs-lunar-0.0.2.tgz","fileCount":6,"unpackedSize":7454,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dayjs-lunar@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYZ1rRkFJvZo65z9SoD6HRmcZhjobxbABnErkAerAsBgIhAJGX+tZnu8c0oPk5VPgauODUtWopom3bib2/YwLwW3wl"}],"size":2788},"_npmUser":{"name":"anonymous","email":"bijinfeng1016@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"bijinfeng1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dayjs-lunar_0.0.2_1724902078064_0.44457990419321214"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-29T03:27:58.211Z","publish_time":1724902078211,"_source_registry_name":"default","contributors":[]},"0.0.3":{"name":"dayjs-lunar","type":"module","version":"0.0.3","packageManager":"pnpm@9.5.0","description":"dayjs-lunar is a dayjs plugin to support chinese lunar","author":{"name":"bijinfeng","email":"bijinfeng1016@gmail.com"},"license":"MIT","homepage":"https://github.com/bijinfeng/dayjs-lunar#readme","repository":{"type":"git","url":"git+https://github.com/bijinfeng/dayjs-lunar.git"},"bugs":{"url":"https://github.com/bijinfeng/dayjs-lunar/issues"},"keywords":["dayjs","lunar"],"sideEffects":false,"exports":{".":{"types":"./typings/index.d.cts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./package.json":"./package.json","./esm":{"import":"./dist/index.mjs","types":"./typings/index.d.mts"}},"main":"./dist/index.cjs","module":"./dist/index.mjs","types":"./typings/index.d.cts","scripts":{"build":"unbuild","dev":"unbuild --stub","lint":"eslint .","prepublishOnly":"nr build","release":"bumpp","start":"esno src/index.ts","test":"vitest","typecheck":"tsc --noEmit","prepare":"simple-git-hooks"},"dependencies":{"lunar-typescript":"^1.7.5"},"devDependencies":{"@antfu/eslint-config":"^2.23.0","@antfu/ni":"^0.22.0","@antfu/utils":"^0.7.10","@types/node":"^20.14.11","bumpp":"^9.4.1","dayjs":"^1.11.13","eslint":"^9.7.0","esno":"^4.7.0","lint-staged":"^15.2.7","pnpm":"^9.5.0","simple-git-hooks":"^2.11.1","typescript":"^5.5.3","unbuild":"^2.0.0","vite":"^5.3.4","vitest":"^2.0.3"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*":"eslint --fix"},"_id":"dayjs-lunar@0.0.3","gitHead":"af4aa5a8bce41386f8293ba8bb05e6d0764f9ebd","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GbXLt1cODRkY3uFWEAdXM8Y0LO6aueCGdiGROhRyRtjBcOKSRN42nhobnRE7h29vlYMh18SmxlrhEsCRVDJyJg==","shasum":"ce4c009ff84fc52142d7de5e24e2fc58f9d16bd1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dayjs-lunar/-/dayjs-lunar-0.0.3.tgz","fileCount":7,"unpackedSize":7666,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/dayjs-lunar@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHE+e0xUxD3og03FCf9mU1O0a9Ka4DsfXXAlQcZw7/JEAiBkf/JhEogFjGF09HwJ8Mfb8tYtzlh1o6aHP1kPBlNxwg=="}],"size":2819},"_npmUser":{"name":"anonymous","email":"bijinfeng1016@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"bijinfeng1016@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dayjs-lunar_0.0.3_1726282697561_0.9376487073698416"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-14T02:58:17.712Z","publish_time":1726282697712,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.0.3"},"name":"dayjs-lunar","time":{"created":"2024-08-29T00:29:55.945Z","modified":"2024-09-14T02:58:55.254Z","0.0.1":"2024-08-28T07:05:12.859Z","0.0.2":"2024-08-29T03:27:58.211Z","0.0.3":"2024-09-14T02:58:17.712Z"},"readme":"# dayjs-lunar\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n[![License][license-src]][license-href]\n\ndayjs-lunar is a dayjs plugin to support chinese lunar\n\n## Install\n\n```bash\nnpm i dayjs-lunar\n```\n\n## Usage\n\n```javascript\nimport dayjs from 'dayjs'\nimport lunar from 'dayjs-lunar'\n\nconst day = dayjs('2010-10-20')\n\nconsole.log(day.lunar()) // \"二〇一〇年九月十三\"\nconsole.log(day.lunar('YYYY-MM-DD')) // \"2010-09-13\"\nconsole.log(day.lunar('年月日')) // \"二〇一〇年九月十三\"\n```\n\n## License\n\n[MIT](./LICENSE) License © 2024-PRESENT [Bijinfeng](https://github.com/bijinfeng)\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/dayjs-lunar?style=flat&colorA=080f12&colorB=1fa669\n[npm-version-href]: https://npmjs.com/package/dayjs-lunar\n[npm-downloads-src]: https://img.shields.io/npm/dm/dayjs-lunar?style=flat&colorA=080f12&colorB=1fa669\n[npm-downloads-href]: https://npmjs.com/package/dayjs-lunar\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/dayjs-lunar?style=flat&colorA=080f12&colorB=1fa669&label=minzip\n[bundle-href]: https://bundlephobia.com/result?p=dayjs-lunar\n[license-src]: https://img.shields.io/github/license/bijinfeng/dayjs-lunar.svg?style=flat&colorA=080f12&colorB=1fa669\n[license-href]: https://github.com/bijinfeng/dayjs-lunar/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669\n[jsdocs-href]: https://www.jsdocs.io/package/dayjs-lunar","users":{}}