{"_id":"@cinacalendar/luxon2","name":"@cinacalendar/luxon2","dist-tags":{"latest":"6.1.20"},"versions":{"6.1.20":{"name":"@cinacalendar/luxon2","version":"6.1.20","title":"CinaCalendar Luxon 2 Plugin","description":"Enhanced date formatting, conversion, and named time zone functionality with Luxon 2","keywords":["calendar","event","full-sized","cinacalendar","luxon","luxon2","timezone"],"homepage":"https://cinacalendar.com/docs/luxon2","peerDependencies":{"@cinacalendar/core":"~6.1.20","luxon":"^2.0.0"},"type":"module","dependencies":{},"bugs":{"url":"https://github.com/cinagroup/cinacalendar/issues"},"repository":{"type":"git","url":"git+https://github.com/cinagroup/cinacalendar.git","directory":"packages/luxon2"},"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/luxon2@6.1.20","gitHead":"6605d2991684995de6223f99227a16e13967c1f9","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-1q1oFwcNfI8MG21uL2uJ7Krhc7lLw+Hw+5Sru8CO2ptSX+q5k8dxIrwiskeaugAy89zIFhE5gh4CJg99sx8dWQ==","shasum":"a88be39bd217d6324ae5b5bcffbf5b64986d1b23","tarball":"https://registry.npmjs.org/@cinacalendar/luxon2/-/luxon2-6.1.20.tgz","fileCount":8,"unpackedSize":17920,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCsvdQC7dmYZor6HJSKC0elCKi0+IvODT2k/rZqa1/BygIhALqJ1HSC5dMADOEN9jrb8Ke9x0DXN7KZrYaoqvVYFDjt"}]},"_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/luxon2_6.1.20_1779092316267_0.5755886365501099"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-18T08:18:36.172Z","6.1.20":"2026-05-18T08:18:36.402Z","modified":"2026-05-18T08:18:36.644Z"},"maintainers":[{"name":"cinagroup","email":"yeht@qq.com"}],"description":"Enhanced date formatting, conversion, and named time zone functionality with Luxon 2","homepage":"https://cinacalendar.com/docs/luxon2","keywords":["calendar","event","full-sized","cinacalendar","luxon","luxon2","timezone"],"repository":{"type":"git","url":"git+https://github.com/cinagroup/cinacalendar.git","directory":"packages/luxon2"},"author":{"name":"CinaGroup","email":"info@cinagroup.com","url":"https://cinagroup.com"},"bugs":{"url":"https://github.com/cinagroup/cinacalendar/issues"},"license":"MIT","readme":"\n# CinaCalendar Luxon 2 Plugin\n\nEnhanced date formatting, conversion, and [named time zone](https://cinacalendar.com/docs/timeZone#named-time-zones) functionality with [Luxon](https://moment.github.io/luxon/) 2\n\n## Installation\n\nFirst, ensure Luxon is installed:\n\n```sh\nnpm install luxon@2\n```\n\nThen, install the CinaCalendar core package, the Luxon plugin, and any other plugins (like [daygrid](https://cinacalendar.com/docs/month-view)):\n\n```sh\nnpm install @cinacalendar/core @cinacalendar/luxon2 @cinacalendar/daygrid\n```\n\n## Usage\n\nInstantiate a Calendar with the necessary plugin:\n\n```js\nimport { Calendar } from '@cinacalendar/core'\nimport luxon2Plugin from '@cinacalendar/luxon2'\nimport dayGridPlugin from '@cinacalendar/daygrid'\n\nconst calendarEl = document.getElementById('calendar')\nconst calendar = new Calendar(calendarEl, {\n  plugins: [\n    luxon2Plugin,\n    dayGridPlugin\n  ],\n  initialView: 'dayGridMonth',\n  titleFormat: 'LLLL d, yyyy', // use Luxon format strings\n  timeZone: 'America/New_York' // enhance named time zones\n})\n\ncalendar.render()\n```\n","readmeFilename":"README.md","_rev":"1-4205e29096e5e1dff53a38460406a2d8"}