{"_id":"@cinacalendar/moment","name":"@cinacalendar/moment","dist-tags":{"latest":"6.1.20"},"versions":{"6.1.20":{"name":"@cinacalendar/moment","version":"6.1.20","title":"CinaCalendar Moment Plugin","description":"Enhanced date formatting and conversion with Moment","keywords":["calendar","event","full-sized","cinacalendar","moment"],"homepage":"https://cinacalendar.com/docs/moment-plugin","peerDependencies":{"@cinacalendar/core":"~6.1.20","moment":"^2.29.1"},"type":"module","dependencies":{},"bugs":{"url":"https://github.com/cinagroup/cinacalendar/issues"},"repository":{"type":"git","url":"git+https://github.com/cinagroup/cinacalendar.git","directory":"packages/moment"},"license":"MIT","author":{"name":"CinaGroup","email":"info@cinagroup.com","url":"https://cinagroup.com"},"copyright":"2024 Adam Shaw; 2026 CinaGroup","types":"./index.d.ts","main":"./index.cjs","module":"./index.js","unpkg":"./index.global.min.js","jsdelivr":"./index.global.min.js","exports":{"./package.json":"./package.json","./index.cjs":"./index.cjs","./index.js":"./index.js",".":{"types":"./index.d.ts","require":"./index.cjs","import":"./index.js"}},"sideEffects":false,"_id":"@cinacalendar/moment@6.1.20","gitHead":"6605d2991684995de6223f99227a16e13967c1f9","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-z3t3Fs0NRi7VRSnQxYKjLYY+M0uWGVrerGimDk32i48s1hAOCpjtjmXt39owhIeJp0Yu7fDLc8ZBSWT1FI7+2w==","shasum":"e66c9eed290ca99ae82f8ad49df77ba14e3d928a","tarball":"https://registry.npmjs.org/@cinacalendar/moment/-/moment-6.1.20.tgz","fileCount":8,"unpackedSize":16814,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCbkeypYP1IOfIkzrmtRDiJsA8UWxNWrRCBn3rGVI+GMQIgeGOMDzXOX0FJ/toazgb1fDe1zELQD9nMR7c91b2ZTbk="}]},"_npmUser":{"name":"cinagroup","email":"yeht@qq.com"},"directories":{},"maintainers":[{"name":"cinagroup","email":"yeht@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/moment_6.1.20_1779092322144_0.9065240926268257"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-18T08:18:42.051Z","6.1.20":"2026-05-18T08:18:42.291Z","modified":"2026-05-18T08:18:42.487Z"},"maintainers":[{"name":"cinagroup","email":"yeht@qq.com"}],"description":"Enhanced date formatting and conversion with Moment","homepage":"https://cinacalendar.com/docs/moment-plugin","keywords":["calendar","event","full-sized","cinacalendar","moment"],"repository":{"type":"git","url":"git+https://github.com/cinagroup/cinacalendar.git","directory":"packages/moment"},"author":{"name":"CinaGroup","email":"info@cinagroup.com","url":"https://cinagroup.com"},"bugs":{"url":"https://github.com/cinagroup/cinacalendar/issues"},"license":"MIT","readme":"\n# CinaCalendar Moment Plugin\n\nEnhanced date formatting and conversion with [Moment](https://momentjs.com/)\n\n## Installation\n\nFirst, ensure Moment is installed:\n\n```sh\nnpm install moment\n```\n\nThen, install the CinaCalendar core package, the Moment plugin, and any other plugins (like [daygrid](https://cinacalendar.com/docs/month-view)):\n\n```sh\nnpm install @cinacalendar/core @cinacalendar/moment @cinacalendar/daygrid\n```\n\n## Usage\n\nInstantiate a Calendar with the necessary plugin:\n\n```js\nimport { Calendar } from '@cinacalendar/core'\nimport momentPlugin from '@cinacalendar/moment'\nimport dayGridPlugin from '@cinacalendar/daygrid'\n\nconst calendarEl = document.getElementById('calendar')\nconst calendar = new Calendar(calendarEl, {\n  plugins: [\n    momentPlugin,\n    dayGridPlugin\n  ],\n  initialView: 'dayGridMonth',\n  titleFormat: 'MMMM D, YYYY' // use Moment format strings\n})\n\ncalendar.render()\n```\n","readmeFilename":"README.md","_rev":"1-a474cd95c09f86df3898848c7755e47a"}