{"_id":"calendar-base","_rev":"27-7057490804b5ec96369aea832421c366","name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","dist-tags":{"latest":"2.0.1","beta":"1.2.0-beta.0"},"versions":{"0.0.1":{"name":"calendar-base","version":"0.0.1","description":"Base methods for generating calendars using JavaScript.","main":"lib/calendar-base.js","scripts":{"test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0"},"gitHead":"9994bffa4bf66d07085d5c789f6df24a129e0cca","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base","_id":"calendar-base@0.0.1","_shasum":"18b70f75e694c21582d4c8c1cb15ef11879d133b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"18b70f75e694c21582d4c8c1cb15ef11879d133b","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.0.1.tgz","integrity":"sha512-w5YvkQ5zbZ09KXHNO8OSaKErBGeVSdGHL+7Z5Mmy8/1MQ4RDx3OuCtVjkB31iE/x1znGYGXkMteyUqDvOugiEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvJLsxSu57W1tl85yn6/+QzlWtpuSgZQ3xF7FoPGbxPAiEA5KSh5S6kStIyEgTnZcSPwmYK/SQWLYzArtBK1qeh9qE="}]},"directories":{}},"0.0.2":{"name":"calendar-base","version":"0.0.2","description":"Base methods for generating calendars using JavaScript.","main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"2b25a34e82bd6c15ca44dc3f48190b5e8cc21568","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base","_id":"calendar-base@0.0.2","_shasum":"a3f6b2847dfe061d5610fee4ace7656e33932c33","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"a3f6b2847dfe061d5610fee4ace7656e33932c33","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.0.2.tgz","integrity":"sha512-Y6Bk7cLQ1X5nOJlfH+4MSVnXtIGRQF3HWDhPpvZf8fgXlyNpUtck8C/ynzTbxmHDMnmHD3Fwn9oRHsCVKr+xdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjPkN9wqO6YbDLiBiqvLo96mg5ZE1JGRN9rI4CkkOOZgIgXhYvjgyax+tpttlHSXZGOYHGLZW8tClVhEktuFtKrfM="}]},"directories":{}},"0.0.3":{"name":"calendar-base","version":"0.0.3","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"7e5f1240eadaaf0a461717bdc66e99623561e0c1","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base","_id":"calendar-base@0.0.3","_shasum":"6eb55e82deb451387d06c1226a8a003eded5e8a6","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"6eb55e82deb451387d06c1226a8a003eded5e8a6","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.0.3.tgz","integrity":"sha512-iHINi5xcgLYTqXVHUsq/ZK7Os6xbBR5bkZsu17Eph1HtwJ+8aTL33KoDL1Fc8HbotT+x8y6KgkC16vywWWmJmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDp2mXKYDzVpLNZ4mkDAJFMcJi8oLtmBK5/mkmwPhUMKAiBu8hIS1huSpFCMotcJMz/Wniq+AKXUbXnYFlRKk8WQPQ=="}]},"directories":{}},"0.0.4":{"name":"calendar-base","version":"0.0.4","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"0440de986ce69072f2c5619b73dc7a1049c94256","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.0.4","_shasum":"6135b89b242fcf77a56bff23dc863223b017f4dc","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"6135b89b242fcf77a56bff23dc863223b017f4dc","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.0.4.tgz","integrity":"sha512-7+yJJY2zIRm7oOD16Kqua56Y4S+KQ03X1YCINpQ7vRa/u3WpaOdWu07aPI0TCyAo6E5fxoXfxfk+OrLV8NjxXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtZMphP2ZxGcraSuqkj11Wzkbp/Ka7s7CJ7MPBd2HrCAiEAiI4vuofEN57bTnBpExqmtkxL9/oXaWoe0md20+Em86s="}]},"directories":{}},"0.0.5":{"name":"calendar-base","version":"0.0.5","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"tonicExampleFilename":"examples/node-js/sample-calendar.js","author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"fc4c54bc036bfcc2b7a467c631a352d526f18b5f","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.0.5","_shasum":"affa387886226c8ee65322861b7413453f2c20dd","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"affa387886226c8ee65322861b7413453f2c20dd","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.0.5.tgz","integrity":"sha512-zIzaJ8X9ciYqMPkCXDcOinmTq4Brf5v+v6SdA+IMmXkGlhJQDhigWzHkK5VCsWszk/4zvVRoDsAFmmqyB2T7FQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo7re1dU2ZoHpjlMHVNRUVaZKSpjgyZ/SSoJZXaooUkQIgTwt1STZCM6ZtVjzUT5A+SpCShKsDf9dIed57DgU9dw8="}]},"directories":{}},"0.0.6":{"name":"calendar-base","version":"0.0.6","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"tonicExampleFilename":"examples/node-js/simple-calendar.js","author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"ee09edcc2cb4e02e7d748dd3d3bd4aa3c85e4481","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.0.6","_shasum":"128096f693faee8f58e72aa539cc6821d80dfe58","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"128096f693faee8f58e72aa539cc6821d80dfe58","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.0.6.tgz","integrity":"sha512-4IwS4k2WPyxPNlxaJPcpmHzZmT/4JW8vnXqTxez0l58yytOSvpIlTYrpQmcrkaH/8nQgWnjgSN19Ii7E/Oj4Sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9FIriWBFXjoDa/7lmHZiGv0JHl662F75JtLH7y4hhPwIhAI0KJj3llTczy3dtIIN8sjxe+1O1hVYV3rCjVZqUZyhM"}]},"directories":{}},"0.1.0":{"name":"calendar-base","version":"0.1.0","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"tonicExampleFilename":"examples/node-js/simple-calendar.js","author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"d1750ea6adf720ebe8acc40153dc74a9e6fb6c34","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.1.0","_shasum":"73188f2bd99f1a9f01e8d845a23fb67637ba746f","_from":".","_npmVersion":"3.3.8","_nodeVersion":"4.2.0","_npmUser":{"name":"wesleydesouza","email":"npm@wex.vc"},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"dist":{"shasum":"73188f2bd99f1a9f01e8d845a23fb67637ba746f","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.1.0.tgz","integrity":"sha512-Ezb6dKQrlgYscxtiaIptftWYlpqWK32c+bOCHgKafBePm2UKC4u2aZ2q344v7BRxtCy5EKS+DYnceGitHOd1cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICHxKDkLXOracPZKNs43PXeF5m/PAWhEOMs5htyU7QRWAiEAuA47gXVgpolYtl3IiftHmxhH0juG0mMqQDsrnTdQkYk="}]},"directories":{}},"0.2.0":{"name":"calendar-base","version":"0.2.0","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"tonicExampleFilename":"examples/node-js/simple-calendar.js","author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"bfc6abee212822910b010b6ab809f957f2b53b63","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.2.0","_shasum":"71af1a3c6e9b0a3b67f0bfa3627b9e3737a3111c","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"wesleydesouza","email":"npm@wesley.so"},"dist":{"shasum":"71af1a3c6e9b0a3b67f0bfa3627b9e3737a3111c","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.2.0.tgz","integrity":"sha512-s5mDE4+SIl5OYb/fvCvoW5r+yDpJ89++yXa+Y/lK7ADXZA9opSPvgQZRYjt9IwhAclWGgz+8MZMQWLyDCDL5pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvwsqgfRSXoAAohpzvq2uwOKhpXB+VxYb7ag59EMu1wwIhAPUzYsBLygEPEwZ+oFLXX0VSmtET1ZbToKq/Df1NoQdl"}]},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"directories":{}},"0.2.1":{"name":"calendar-base","version":"0.2.1","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"tonicExampleFilename":"examples/node-js/simple-calendar.js","author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"aa045becbb0cb50650270a9a460eeb16b4ed116b","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.2.1","_shasum":"cecefc827901aca2082f847db8cd2f1c26bf1596","_from":".","_npmVersion":"3.5.2","_nodeVersion":"5.3.0","_npmUser":{"name":"wesleydesouza","email":"npm@wesley.so"},"dist":{"shasum":"cecefc827901aca2082f847db8cd2f1c26bf1596","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.2.1.tgz","integrity":"sha512-cCdp1PRro3kPjH6CdoIMq6PRRWSz4rKchJ4C+7ja7ZL0OaFmmcrF8w4qCvY2W2UbunkrE/Pea3ey8LTneEzPDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyl6h66xd1STKY0Ggnyxv95/SBJL+4a2quPtdoYF3L/wIhAJtuWFOt0GThZWXI8rIVtphygr6arhUxFhB9SB8JEysr"}]},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"directories":{}},"0.3.0":{"name":"calendar-base","version":"0.3.0","description":"Base methods for generating calendars using JavaScript.","keywords":["calendar","generation","base","core"],"main":"lib/calendar-base.js","scripts":{"build":"cat lib/calendar-base.js | umd calendar-base --commonJS | uglifyjs > dist/calendar-base.min.js","test":"mocha --reporter spec test/index.js"},"repository":{"type":"git","url":"git+https://github.com/WesleydeSouza/calendar-base.git"},"tonicExampleFilename":"examples/node-js/simple-calendar.js","author":{"name":"Wesley de Souza","email":"npm@wesley.so"},"license":"MIT","devDependencies":{"mocha":"^2.1.0","uglify-js":"^2.4.16","umd":"^3.0.0"},"gitHead":"2ef5ab2a64aca98bbb6c55dcae56f5048c2ee8e2","bugs":{"url":"https://github.com/WesleydeSouza/calendar-base/issues"},"homepage":"https://github.com/WesleydeSouza/calendar-base#readme","_id":"calendar-base@0.3.0","_shasum":"483d3d07c5befedf9969a9a81a6a845794a6e251","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"wesleydesouza","email":"npm@wesley.so"},"dist":{"shasum":"483d3d07c5befedf9969a9a81a6a845794a6e251","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-0.3.0.tgz","integrity":"sha512-zWwHQvAlt67nWqTSv86DDdpJODuu2DnMM+vGLl0mpxjVT7ujeYFSTBureKOT96ty6rR+QjKK6ePAwEJKZHEwvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdXD7WjnMPhs/jLIkn4FCX7S4J60HJ17nG2GavUIHrNgIhAOkw1CCs+WEWweBmQVM0fiRhOb77L+elWg/peRRdpkE0"}]},"maintainers":[{"name":"wesleydesouza","email":"npm@wex.vc"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/calendar-base-0.3.0.tgz_1470922527228_0.905226799659431"},"directories":{}},"1.0.0":{"name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"1.0.0","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"main":"dist/index.js","module":"dist/calendar-base.esm.js","typings":"dist/index.d.ts","scripts":{"build":"tsdx build --name CalendarBase --format cjs,esm,umd","lint":"tsdx lint src test","prepare":"yarn run build","start":"tsdx watch","test":"tsdx test"},"dependencies":{},"devDependencies":{"@types/jest":"^25.1.3","tsdx":"^0.12.3","tslib":"^1.11.1","typescript":"^3.8.3"},"peerDependencies":{},"eslintConfig":{"parser":"@typescript-eslint/parser","extends":["plugin:@typescript-eslint/recommended","prettier/@typescript-eslint","plugin:prettier/recommended"],"parserOptions":{"ecmaVersion":2018,"sourceType":"module"},"rules":{"@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-use-before-define":"off","no-duplicate-imports":"error","curly":"error"}},"jest":{"globals":{"ts-jest":{"diagnostics":{"warnOnly":true}}}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@1.0.0","dist":{"shasum":"f43adc289c46a57e334ed7fcd5702353634de503","integrity":"sha512-+SOqK7UsdUY4mx32zzcziwY9SBe7yxV+mPPffjBq9rF2EvjRCDrDzFRiK9ctAxkuGq6hi9y18mrbEWYoXLPAjQ==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-1.0.0.tgz","fileCount":19,"unpackedSize":128190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYHGJCRA9TVsSAnZWagAAku0P/1XyBPGGI72mbeXyf0da\n261muWuICw33Kf1tFP5ZfRpY4JGil84iwsOjUSHxHWz3PRg7y2DPsZ+kgLTQ\nzfGPg9JGiGSSMU2dSolBRS3UqI7j7oEgJrJc0DtwRjz/7qUPYZ1Btjla86xA\noxc75Wkw/MOUHLrc2nINsOk1BkrvHGvW+lN9gRnW/5W+O8K5mFwopJqVWxL6\ntCUgjivuFcg9rGINejkhmwytlMjEesHzd8pTErLus1+8V9I3eR5rGQcMFHpa\npq8r3u+Ab16mcYpP+JyFaiyLU8cK91qkBVgeyOJNoGII35URwBhNUsKgfPJ/\nFZebRelKvg9kez4O7PY6/2JkH/Ta5sPGKtpHx6jUILwdiQwQ46lQEKZ8wtaZ\nT7PO3NU3KY1o2AGe12kCvJR7q4R6rLCaLUxumH2zhz9Zq+Gc/ZPXqlPRCWFa\nLkMqmQAzVuT2X3vnQcptH9C1aGKcveCHD3SsClhX6yLx2Kf0Vogx3dMGND0W\ngdXd8LnC8iXjrnVsvCznAKUyOSHbmmWeXTmE89wEpwhgHpGl2jeEkdpdSVZl\n1X7TVF7yT/oyORkcXpt4Kkkh2O9SLHLdAI1damiybEL7CBQioZJJaYWpZq7F\nJUYNz5unhBvYrGgeoLFCFVwiecGUEQdNtvXJDcjgJCyh8r0FXKc3zYj7kg2W\ncijf\r\n=VDtk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+vOKm/acpTqAxcAY+t4tfy1+MS/IcUIJCBCxbkdJxTwIgbjlltQu4VHIs0OGZWoBvvPwe6YsF42yGiiLay2JEhrU="}]},"maintainers":[{"email":"hey@wes.dev","name":"wessouza"}],"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_1.0.0_1583378824892_0.6388841754060521"},"_hasShrinkwrap":false},"1.1.0":{"name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"1.1.0","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"main":"dist/index.js","module":"dist/calendar-base.esm.js","typings":"dist/index.d.ts","scripts":{"build":"tsdx build --name CalendarBase --format cjs,esm,umd","lint":"tsdx lint src test","prepare":"yarn run build","start":"tsdx watch","test":"tsdx test"},"dependencies":{},"devDependencies":{"@types/jest":"^25.2.1","tsdx":"^0.13.2","tslib":"^1.11.1","typescript":"^3.8.3"},"peerDependencies":{},"eslintConfig":{"parser":"@typescript-eslint/parser","extends":["plugin:@typescript-eslint/recommended","prettier/@typescript-eslint","plugin:prettier/recommended"],"parserOptions":{"ecmaVersion":2018,"sourceType":"module"},"rules":{"@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-use-before-define":"off","no-duplicate-imports":"error","curly":"error"}},"jest":{"globals":{"ts-jest":{"diagnostics":{"warnOnly":true}}}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@1.1.0","dist":{"shasum":"28f05b766cd1e4fbc898e60151493790159003c5","integrity":"sha512-986B7aA5i5INQsOKPVDVuVHNHLkx9mFyB14Vs9hiorXdVOnu58gz+JRF8QIGXU8BvWBkp9+Q/oRKIwjWXi+eDA==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-1.1.0.tgz","fileCount":17,"unpackedSize":128191,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJert17CRA9TVsSAnZWagAAACsQAJdFEb/nJ/EeAQhxdnj5\nPDcYA3iUt3wYjnagCvtM3C1hri19E6hSDXYbbPP33FDUN1LpnopfVIzGmjPy\nffS4ming3TfRlnYF4E4ebsrydxurVYwjuyeBoiP2fpTY/tDcdhERZTb56CQB\n/q7BxP0wKfNGw/P51b9CL8kus5e7sniDPRZovsUBJsPRbLAeeSCcLAlnGNQW\nxGYU7NLynoMQach89qgKbbA+Z9cbXn7Og+X/5s6YfMejTHbA3oeNUJFjpA4H\n0vUJzDxgVXu6+fgmkjhtU6NYXjkNy3eMaPBS8huJF/X0qp7uJxNLej//+WOl\n4M5QLuPyyaxpQiL2uPRz1ti1gyFPPN9AGUUIg10kloZi/dCmZ+BEBOlgSuJf\nbCCHnWEJ+4HpnzJdCB22sVVachsX8VV6Fwc8gTxsUrzdNCL76tMfDumxOP8y\nh3nXr/n/euxDWUqAPrvOcZ33qqpjI57Y98CXRoY0Fy06gbMuKqiFdK3IzMZ/\n3rCH//eOpnefv3AL8xBOhwrOzTBMNgXhbNL9Hyr1lZC5hyu71C8DaUsUxID+\n01wut3nsBQSyGcBjGInJfo+V+5ZIiCXk3CczB53YRx0rvA5z0vdxNTvk2PbW\n7erb7MJ2T3NlfOKKVtfqfe6fOaQQKLG90DbzeyhTwdvX04pSn8ABXkxmcv9E\n9wQS\r\n=RTVP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAr33OGTvgSO15zWMQZzvxfqvXiPmgtEoHBs5gN2YmjQIgBtPLukFf5y2AHVKJIVeiHLnlhcHb260S/u3PFgU5iP0="}]},"maintainers":[{"email":"hey@wes.dev","name":"wessouza"}],"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_1.1.0_1588518266906_0.7491600269269794"},"_hasShrinkwrap":false},"1.1.1":{"name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"1.1.1","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"main":"dist/index.js","module":"dist/calendar-base.esm.js","typings":"dist/index.d.ts","runkitExampleFilename":"examples/node-js/simple-calendar.js","scripts":{"build":"tsdx build --name CalendarBase --format cjs,esm,umd","lint":"tsdx lint src test","prepare":"yarn run build","start":"tsdx watch","test":"tsdx test"},"dependencies":{},"devDependencies":{"@types/jest":"^25.2.1","tsdx":"^0.13.2","tslib":"^1.11.1","typescript":"^3.8.3"},"peerDependencies":{},"eslintConfig":{"parser":"@typescript-eslint/parser","extends":["plugin:@typescript-eslint/recommended","prettier/@typescript-eslint","plugin:prettier/recommended"],"parserOptions":{"ecmaVersion":2018,"sourceType":"module"},"rules":{"@typescript-eslint/explicit-function-return-type":"off","@typescript-eslint/no-empty-function":"off","@typescript-eslint/no-use-before-define":"off","no-duplicate-imports":"error","curly":"error"}},"jest":{"globals":{"ts-jest":{"diagnostics":{"warnOnly":true}}}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@1.1.1","dist":{"shasum":"4e26e25592c580ec6dd943e84718151047a2fa3d","integrity":"sha512-9WICUWhnOMb2ywPwgKejq/VlYz/AeLVn/IE99vRcSHMEQL6YQmTmk0seqZM2ZbcD7ufWDMe21ZxXphDC7QAlxQ==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-1.1.1.tgz","fileCount":17,"unpackedSize":128231,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeruFLCRA9TVsSAnZWagAAAJYP/jq5lPJm9xzJAsx6H3q5\nT7n+KLYEBI96LYNJfnNzeJ922KIm9X2bQHSXHcSiuxViBVnM/jEEzRPJ0Wjb\n44S/HTgvT4VchmlOXjZhUEBFoEDKXCje7GHC+t3uHoCwquCIzHYZBRHYhnuE\nDxc5N3A6p/qHx8LSKAIQnZsFU+DZJ8fD3BGIJS3ERfOiyoi9VLLPlVBHFOeH\nsDcGzAjxXYcYIUBTDCLEgA1Ua+wT1Xo+7+0d+hcQwmubODvJZM1iD4vp2Vfi\n7/lR5DRQZh9+sfoFyLhfBFJPF33JFBKpBSSTyy6EtddPagZyHQTjj0Z5844O\nGBCNLtVJCGxsPCfqArY2QKbWCQunkVOr3BNpjsZg1IpAWfs8cGsbVrAL0Nk9\nbCL4xIYG4ylBXa/ZhcuEEOqA8uEcBPsTQK2o5/MZfbyeyg6na4fa1tO37IyS\nO8MJXdrwhCzi+Rk0E5Hk4HYlR6bOR6iEsK0OCKRUqtDgKCbSaij+dAAa3ROf\nQbt8ZmihSDRLrWjiFP252xv5bDZCmFH3WLszed329Qkeq/UwiuG0Zf3n+xub\nT+SMDk9HiY7vBKQu/6y4+tOPQzZkpfIYudWfQ1yiXvV7XPYSCAU0ZVcC4feT\npcMznBFi6d9PSwj2NO1Fz74Xvsw/A1wDFg9MY15yDQWyVq6T6n0WexxxD4t2\nYXaG\r\n=XhVo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDmMSPYEl72uJo3HXefAP6jy6n7orakBFXnMUl+RSTrDAiAxTyxOhEyyaETHLnbxS28KJ+s66qAqhU34n25wpYjh4w=="}]},"maintainers":[{"email":"hey@wes.dev","name":"wessouza"}],"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_1.1.1_1588519243570_0.24312679763843392"},"_hasShrinkwrap":false},"1.2.0-beta.0":{"scripts":{"lint":"eslint .","test":"jest","build":"rollup -c","prepare":"yarn run build","check:types":"tsc --noEmit"},"devDependencies":{"@rollup/plugin-typescript":"^8.3.4","@types/jest":"^28.1.6","@types/node":"^18.6.2","@typescript-eslint/eslint-plugin":"^5.31.0","@typescript-eslint/parser":"^5.31.0","esbuild":"^0.14.51","eslint":"^8.20.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","import-sort-style-wes":"^3.0.2","jest":"^28.1.3","prettier":"2.7.1","prettier-plugin-import-sort":"^0.0.7","rollup":"^2.77.2","rollup-plugin-esbuild":"^4.9.1","rollup-plugin-replace":"^2.2.0","ts-jest":"^28.0.7","ts-node-dev":"^2.0.0","typescript":"^4.7.4"},"importSort":{".js, .jsx":{"parser":"babylon","style":"wes"},".ts, .tsx":{"parser":"typescript","style":"wes"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"1.2.0-beta.0","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"runkitExampleFilename":"examples/node-js/simple-calendar.js","readmeFilename":"README.md","readme":"# Calendar Base\n\n[![CI Tests status badge](https://github.com/WesSouza/calendar-base/workflows/CI%20Tests/badge.svg)](https://github.com/WesSouza/calendar-base/actions?query=branch%3Amaster+workflow%3A%22CI+Tests%22) [![npm version](https://badge.fury.io/js/calendar-base.svg)](https://www.npmjs.com/package/calendar-base)\n\nBase methods for generating calendars using JavaScript.\n\nOutput is ES5 compatible.\n\n## Installation\n\n```bash\n# using npm\nnpm install calendar-base\n\n# or yarn\nyarn add calendar-base\n```\n\n## Usage\n\n```js\nconst Calendar = require('calendar-base').Calendar;\nconst cal = new Calendar();\n\ncal.getCalendar(2020, 0);\n/*\nReturns an Array with the calendar for January 2020, including empty spaces for\ndays from the previous and next months:\n\n[\n  false,\n  false,\n  { day: 1, weekDay: 3, month: 0, year: 2020 },\n  { day: 2, weekDay: 4, month: 0, year: 2020 },\n  { day: 3, weekDay: 5, month: 0, year: 2020 },\n  { day: 4, weekDay: 6, month: 0, year: 2020 },\n  { day: 5, weekDay: 0, month: 0, year: 2020 },\n  ...\n]\n*/\n```\n\n[Check an online example](https://npm.runkit.com/calendar-base) or browse the\n[`examples`](./examples/) folder for some simple use cases.\n\n### Date object notation\n\nEvery returned day or date argument follows this notation:\n\n```js\n{\n  day: 14,\n  month: 9,\n  year: 1986,\n  weekDay: 4,\n  selected: false,\n  siblingMonth: false,\n  weekNumber: 42\n}\n```\n\nProperties `month` and `weekDay` respect JavaScript’s\n[`Date.prototype`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype).\n\nOnly `day`, `month`, and `year` are necessary as input parameters for methods\nthat require a date.\n\n#### `Calendar(options)`\n\nConstructor for a new calendar generator.\n\nThe object `options` may have the following properties:\n\n- `startDate`: current selected starting date (default `undefined`)\n- `endDate`: current selected ending date (default `undefined`)\n- `siblingMonths`: whether to include the previous and next months’ days before\n  and after the current month when generating a calendar (default `false`)\n- `weekNumbers`: whether to include the week number on each day\n- `weekStart`: day of the week, respects\n  [`Date.prototype.getDay`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay) (default `0`, Sunday)\n\n#### `Calendar.diff(dateOne, dateTwo)`\n\nReturns the difference in days between `dateOne` and `dateTwo` as a `Number`.\n\n```js\n> Calendar.diff({ year: 2010, month: 0, day: 1 }, { year: 2010, month: 0, day: 10 });\n-9\n```\n\n#### `Calendar.interval(dateOne, dateTwo)`\n\nReturns the amount of days between `dateOne` and `dateTwo` as a `Number`.\n\n```js\n> Calendar.interval({ year: 2010, month: 0, day: 1 }, { year: 2010, month: 0, day: 10 });\n10\n```\n\n#### `Calendar.compare(leftDate, rightDate)`\n\nCompares two date objects, returns:\n\n- `-1` if `leftDate` < `rightDate`\n- `0` if `leftDate` == `rightDate`\n- `1` if `leftDate` > `rightDate`\n\nUseful for quick comparisons such as sorting an array of dates.\n\n```js\n> Calendar.compare({ year: 2010, month: 0, day: 1 }, { year: 2010, month: 0, day: 10 });\n1\n```\n\n#### `Calendar.daysInMonth(year, month)`\n\nReturns the amount of days in the given month as a `Number`.\n\n```js\n> Calendar.daysInMonth(2010, 0);\n31\n```\n\n#### `Calendar.isLeapYear(year)`\n\nReturns whether the given year is a leap year, as a `Boolean`.\n\n```js\n> Calendar.isLeapYear(2100);\nfalse\n```\n\n#### `Calendar.calculateWeekNumber(date)`\n\nReturns the week number for the specified date.\n\n```js\n> Calendar.calculateWeekNumber({year: 1986, month: 9, day: 14 });\n42\n```\n\n#### `Calendar.prototype.getCalendar(year, month)`\n\nReturns an `Array` of dates with the days from the given month, always starting\nat the configured week day.\n\nIf sibling months is disabled, paddings are added as `false` to align the week\ndays, otherwise the respective days from the previous or next months are\nincluded.\n\n```js\n> var cal = new Calendar({ siblingMonths: true });\n> cal.getCalendar(2015, 5);\n[ { day: 31, weekDay: 0, month: 4, year: 2015, siblingMonth: true },\n  { day: 1, weekDay: 1, month: 5, year: 2015 },\n  { day: 2, weekDay: 2, month: 5, year: 2015 },\n  ...\n  { day: 4, weekDay: 6, month: 6, year: 2015, siblingMonth: true } ]\n```\n\n#### `Calendar.prototype.setDate(date)`\n\nAlias to `Calendar.prototype.setStartDate`.\n\n#### `Calendar.prototype.setStartDate(date)`\n\nSets the current selected starting date.\n\n```js\n> cal.setStartDate({ year: 2015, month: 0, day: 1 });\n```\n\n#### `Calendar.prototype.setEndDate(date)`\n\nSets the current selected ending date.\n\n```js\n> cal.setEndDate({ year: 2015, month: 0, day: 31 });\n```\n\n#### `Calendar.prototype.isDateSelected(date)`\n\nChecks whether the given date is inside the selected dates interval, returns a\n`Boolean`.\n\n```js\n> cal.isDateSelected({ year: 2015, month: 0, day: 10 });\ntrue\n```\n\n## Important note on week numbers\n\nWeek numbers are calculated based on the ISO 8601 standard, which assumes\ncalculations based on weeks starting on Mondays. Be extra careful displaying the\nweek number if your calendar doesn't start on a Monday.\n\n## Development\n\nThis library uses `wes-cli`, which simplifies configuration setup. Instead of\nusing `yarn install`, you should use `npx wes-cli install`, which will create\nall configuration files and run `yarn install`.\n\n[Read more about `wes-cli`.](https://github.com/WesSouza/wes-cli/#wes-install)\n\n## License\n\nMIT, https://wes.dev/LICENSE.txt\n","licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@1.2.0-beta.0","dist":{"shasum":"c3996f19b5c12b9bfe90422ce00602a0966e40f5","integrity":"sha512-jFM3cMfyvY/cnOpU3mHSBU+9Ew2EnXa81y2l7RckphB1GdtOSuefO3VCJpppaMGsuYfu6FKXRCEcAvtwDpSrag==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-1.2.0-beta.0.tgz","fileCount":25,"unpackedSize":153726,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICnoO0fOccmUBLw9sFpdkW0bQDQNoaCOtpyac1z9Q04NAiBWTwNt6mSdcRfYWSx4ipzOTZ4WxjmlOvbJfRfqAs0iZQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5F6PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqkrg//WaYiZcfGZKQKBzOGjIMehb7XN1XDPoDwS+6BCgHTwi3zvOOw\r\nIWB942m1qEEuMEagPOlTIGz1EEDnK+PCbyaAVFbufQPMAlmGGFCeBv6ulaN5\r\nK0TY+yLk2ik0pPikWnOAK6F9l50vbZ8osAWvnWtff7OLnVxd+/e9B1EDSFnN\r\nssgPI4pCNDVxbO0N38QpiRPzQ5Dfcw1D/G+fRirJeL5x6X9KchpCo/AfqA9h\r\ntUMGjPmYmksFqfFiEDBTiiPAu0pWUB9a3ZBNZLNP7oF/mPKU4BiA+MHJ0Zie\r\n+MJf4pqaR4sZPu5PvzCD4+ippaCFsv0rHje24wiObGoO54ab4ptF6pmOJk0U\r\nW59IZcqBdlx8KVvI93KYUbQvXx52k1R064AaPASAVrtb6DdpS7GFrRM6nxTK\r\nWgrws47zUPdV4kw6fAwx4SBOHy1RCIBja0y6YKXaJWhA4fKSaPDvQrJPiTeC\r\nPabEuCrXaNDJ2wcdilOCad5HsyaSixmmTkbyoe+eYqx0tsxH7jGTjEt57Kxq\r\nZKk6cBDruZticfIxKKGKtz+ztczxs0qvHYSB5trj0Fv+MxqIE6W+JZxvzCec\r\nfB2OpJAPCyjYNKmNZdwvawyubbsvwSkKE8xWJ+RjlfAmKKp4RcoKASUl7m/r\r\nSfBICsqwJ8JA/ueFxClMcOX/8TL7dacRNyE=\r\n=nKHd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"maintainers":[{"name":"wessouza","email":"hey@wes.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_1.2.0-beta.0_1659133583069_0.1295914818413435"},"_hasShrinkwrap":false},"1.2.0":{"scripts":{"lint":"eslint .","test":"jest","build":"rollup -c","prepare":"yarn run build","check:types":"tsc --noEmit"},"devDependencies":{"@rollup/plugin-typescript":"^8.3.4","@types/jest":"^28.1.6","@types/node":"^18.6.2","@typescript-eslint/eslint-plugin":"^5.31.0","@typescript-eslint/parser":"^5.31.0","esbuild":"^0.14.51","eslint":"^8.20.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","import-sort-style-wes":"^3.0.2","jest":"^28.1.3","prettier":"2.7.1","prettier-plugin-import-sort":"^0.0.7","rollup":"^2.77.2","rollup-plugin-esbuild":"^4.9.1","rollup-plugin-replace":"^2.2.0","ts-jest":"^28.0.7","ts-node-dev":"^2.0.0","typescript":"^4.7.4"},"importSort":{".js, .jsx":{"parser":"babylon","style":"wes"},".ts, .tsx":{"parser":"typescript","style":"wes"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"1.2.0","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"runkitExampleFilename":"examples/node-js/simple-calendar.js","licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@1.2.0","dist":{"shasum":"736c35cd27e0096da0d6ba97a24b88c3e6e403bc","integrity":"sha512-uHI3Rtpj0Ijj/aP6cQywJzGWWAh3O+YZCP9kLBXh5thE3Z57yQUGuogB2cn6P47UU8pRQbFNpyJDIcu/2VUjjQ==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-1.2.0.tgz","fileCount":25,"unpackedSize":153712,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFQVDhULQwFCquaw6k0PJR+Jlal1t7M+gWXqRdBykHe7AiEA7z9GEWzex5ZlLKdxbpNs0UoHXAUEsXVUdYc15XJCwTI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5F/qACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo9OQ//fjZ1NC0mNpMYPKZscGUO+W5Z7ciPEBjG2Hircs5F+Fasx5nM\r\n6Rn5Z8pXxfCtJVFBQA99PEM4gUrbpEoBravQwpetYn7U/mdv99f+Qm5VezlS\r\ntzpuSK/Xl0Ida0QOQXBy2+4/nKY6oEjdJ5oolum2Qt/rlkn7f0MBmI2D+U4Y\r\nVHcu8+6NJo2UmQL/kBfTeV3BhsR4Cbx4Z6jFmjhxI8u8H7l3zOvJD1x400Vc\r\nN8fBQ+gXRHcrdZQjlUD/dPjgc1gtriTsiHihkFIwAUpt1Af9WJfYvtX4r9f7\r\nxP+Lg5Le1tNhi03pxQlicGjzANT+v1LZKeYMz4EmnNGB92ypXcUx4L0XBTyj\r\ne9zmHCLivR9QMcj+fVQJu2ACkNklLfMGFqZeF3GQCjOBUmK1/MP/zXwdMHXD\r\nJSzoOI32iLQWHpEooXMlQaXbYrEIyl0qqrYGHAwbG4aAUTwDHpbZ6nHHGOqh\r\nqliMWLKjmyQCm17MFMegPLvSLVXgYyvgWGjbACEsAT9fmdDj7M+anbDP0TMQ\r\nWTxLAokcoO70B/kw5PKzVQ8NRbK6rPb+ybEqonTnAXv/SaK4IZH9PJlcqzuT\r\nGpri+TKPPV6tH+7+KqtfrQMhunuWqZxYysTQLR7+JKclBQshiq3qLQHsisTK\r\nLdSuN1hmjoiSkBJvgz4InXeiapa1dnwNwjM=\r\n=cS4m\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"maintainers":[{"name":"wessouza","email":"hey@wes.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_1.2.0_1659133930209_0.48607396212740395"},"_hasShrinkwrap":false},"2.0.0":{"scripts":{"lint":"eslint .","build":"rollup -c","prepare":"yarn run build","check:types":"tsc --noEmit","coverage":"vitest run --coverage","test":"vitest run","test:ci":"vitest run --coverage","test:ui":"vitest watch --ui","test:watch":"vitest watch"},"devDependencies":{"@rollup/plugin-typescript":"^8.3.4","@types/node":"^18.7.6","@typescript-eslint/eslint-plugin":"^5.33.1","@typescript-eslint/parser":"^5.33.1","@vitest/coverage-c8":"^0.22.0","@vitest/ui":"^0.22.0","esbuild":"^0.15.5","eslint":"^8.22.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","import-sort-style-wes":"^3.0.2","prettier":"2.7.1","prettier-plugin-import-sort":"^0.0.7","rollup":"^2.78.0","rollup-plugin-esbuild":"^4.9.3","rollup-plugin-replace":"^2.2.0","ts-node-dev":"^2.0.0","typescript":"^4.7.4","vite":"^3.0.8","vitest":"^0.22.0"},"importSort":{".js, .jsx":{"parser":"babylon","style":"wes"},".ts, .tsx":{"parser":"typescript","style":"wes"}},"main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","type":"module","name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"2.0.0","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesleydeSouza/calendar-base"},"runkitExampleFilename":"examples/node-js/simple-calendar.js","licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@2.0.0","dist":{"shasum":"b928e1882b54224cb96ae40a0b6e852ba072a824","integrity":"sha512-joOA/oJPp1Kqu29r3IGVzY3jaRDoO9a+4SSRsqyqm/ST/4h+Gf3ZiSS4cw/JDMtW9gXCNEMIJPedsAh4T3MVDA==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-2.0.0.tgz","fileCount":15,"unpackedSize":37624,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1tRoVD/xTrAIP0slD6RJRsI2W/LkimYl2QlxZQKKllAIhALP8Fyof7h8saK5IU7jJQERMPL4ib6V4xwlyHPPp15HZ"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi/i17ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqwkg//WSiIGOVUmjZEdnGCL0QkCu0zjaP8v6yzVdJrft6utyIZ//Lv\r\nRl6QyAAOsNGBVgaxZj0EERFb5gZAuKlGNnO/DWVePYmU3DXnpxBM8has1nAR\r\nwW8iaSldHyCLLUBmSoqVKZVNjPwbPLhApcTPHczkzcGy7RGhB4f3gg5aj+Fk\r\nJ5zvcP1lnViZ/CZde9kj4Td+bc37L3AWu1nJkXWMKAEejZIcO5vJAXHKEiHZ\r\n5hzp8WiDhotV0s6xZWtjWBFa49SAQF+dqkBXtk9A9Puu5ztdpYnHX1OWuWDN\r\nJK//tG5pNFXGHic1sh9Cv0qxFQT8I1aTQv6P2WAkN21B86AnoP6t0XEPuWTA\r\nAIp8pj5qEOfnK3CgUo01CjZDR5VfbJ6gdIGTHWqWoxsUYv6RrzrewQhrU4n5\r\nPFWV1a669kCMdW9vPvoS1NhKQTKWx4htOjAXiZYyH2WpC86OzRv35OaSCbPB\r\neZ5cFIFbIdxTGis/bCEfVFqRMp43DgaMyU5VTzsDv4dpUwZMV7yWHx1aGCkC\r\nrmFu5cnHP9fTnJQ+HRUcAN4W2N0NLRD/rw1Br5ZGSbEMEMu+ymv1DFbwTulb\r\nghzdUsOwWvi3Qq7cLVrffRvMjfW1ogMR4oZveMQXoEOZRkT9qJ9sx+Mh4Cpt\r\nDVxywEqPvgmkclef2m9McvekjkjNHKevQtA=\r\n=uoXX\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"maintainers":[{"name":"wessouza","email":"hey@wes.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_2.0.0_1660824954873_0.19026143970491094"},"_hasShrinkwrap":false},"2.0.1":{"scripts":{"lint":"eslint .","build":"rollup -c","prepare":"yarn run build","check:types":"tsc --noEmit","coverage":"vitest run --coverage","test":"vitest run","test:ci":"vitest run --coverage","test:ui":"vitest watch --ui","test:watch":"vitest watch"},"devDependencies":{"@rollup/plugin-typescript":"^11.0.0","@types/node":"^18.14.0","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","@vitest/coverage-c8":"^0.28.5","@vitest/ui":"^0.28.5","esbuild":"^0.17.10","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","import-sort-style-wes":"^3.0.2","prettier":"2.8.4","prettier-plugin-import-sort":"^0.0.7","rollup":"^3.17.2","rollup-plugin-esbuild":"^5.0.0","rollup-plugin-replace":"^2.2.0","ts-node-dev":"^2.0.0","typescript":"^4.9.5","vite":"^4.1.3","vitest":"^0.28.5"},"importSort":{".js, .jsx":{"parser":"babylon","style":"wes"},".ts, .tsx":{"parser":"typescript","style":"wes"}},"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"name":"calendar-base","description":"Base methods for generating calendars using JavaScript.","version":"2.0.1","author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","keywords":["calendar","generation","base","core"],"repository":{"type":"git","url":"https://github.com/WesSouza/calendar-base"},"licenseText":"Copyright © Wes Souza <hey@wes.dev>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the “Software”), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"calendar-base@2.0.1","dist":{"shasum":"73725be0862ba65da7fd047c5e0bc274691d2258","integrity":"sha512-LD155Rg0kF52k3v0XE1FSBkns/jUZFoG97riESoBvHP+9jcjvQFRqcC0NIxG41yhNRGTTleoplhyzmaS6m7/kQ==","tarball":"https://registry.npmjs.org/calendar-base/-/calendar-base-2.0.1.tgz","fileCount":17,"unpackedSize":55895,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0LnbF2SrdU1z5aWIcddZpJvWljPl2UPlaXi9uUiznegIhAKzdPH8Wme2oLRF7V4xtBfOkA//ZAapNQDoH7quW2SZa"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9NmNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpoAg/9FD/TlTNXbTuXUY+p5PVzV4q7jf4vhhtjcr1SXW13SYwbP+7R\r\n41sSTGjJusHlnyKbXJ/pvryE8QdhUhk+ItiaPB/gXSVPbnzpFRov19BCtTQq\r\nq2Mb/tPH5XUfcPeHezpH8Ow4zvYN+OTE8c1It+J836JrXoy8WwAwWvFDUUQC\r\nRsmyxk80l+B/aRd2nuLIc8ls3b0YXxVwANY04VSF69HYm+KLHtCq+dq4RS3K\r\nHm+o2+A/BocXbizlsBaz9QQwLKGDAkYt2Jjv+/0kbLzo0ZtrLiqVfmkAzKVe\r\n0ylnl6sAbyThMO9Oy6PraRR6g5iCfKvydgB1eRCfVGE2dBxuf5KfL/YdB7q/\r\nFHjEVHRZMxnrdz7lu962FH/+0mDIDb6tbi2LY5f1qwjN7AG23VIOri6hRt7u\r\nszLkrFLhRHWer2OsWdFNUc0OctIYOT5OGLfs1gFo9GU/Bpeq5HMO60C5D/rj\r\na1CpBPnd24P5pPxpdRnGQTezTrH3eexd7cggpVGlSjmG+C1oy1HFUpLD5g7G\r\nabJpyB+ceYfYaMs3VeIAoaR+gt3fNX4HGyCNbbRpwZL6B8RLBo3jwlv+5x4r\r\npyXRej39l8VZkHTdkPgZOriKyTGbtfLjr2wZ+tYVg03zP+afJvkUSR812L8k\r\nqHxWAQt0UqzIQbuPQ4OJrQsUEx3rMTnXdG4=\r\n=RIjV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wessouza","email":"hey@wes.dev"},"directories":{},"maintainers":[{"name":"wessouza","email":"hey@wes.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/calendar-base_2.0.1_1676990861665_0.14742345093540155"},"_hasShrinkwrap":false}},"readme":"# Calendar Base\n\n[![Lint, Type Check, Test, Build](https://github.com/WesSouza/calendar-base/actions/workflows/lint-typecheck-test-build.yml/badge.svg)](https://github.com/WesSouza/calendar-base/actions/workflows/lint-typecheck-test-build.yml) [![npm version](https://badge.fury.io/js/calendar-base.svg)](https://www.npmjs.com/package/calendar-base)\n\nBase methods for generating calendars using JavaScript.\n\nOutput is ES5 compatible.\n\n## Installation\n\n```bash\n# using npm\nnpm install calendar-base\n\n# or yarn\nyarn add calendar-base\n```\n\n## Usage\n\n```js\nconst Calendar = require('calendar-base').Calendar;\nconst cal = new Calendar();\n\ncal.getCalendar(2020, 0);\n/*\nReturns an Array with the calendar for January 2020, including empty spaces for\ndays from the previous and next months:\n\n[\n  false,\n  false,\n  { day: 1, weekDay: 3, month: 0, year: 2020 },\n  { day: 2, weekDay: 4, month: 0, year: 2020 },\n  { day: 3, weekDay: 5, month: 0, year: 2020 },\n  { day: 4, weekDay: 6, month: 0, year: 2020 },\n  { day: 5, weekDay: 0, month: 0, year: 2020 },\n  ...\n]\n*/\n```\n\n[Check an online example](https://stackblitz.com/edit/js-ad7edj?file=index.js)\nor browse the [`examples`](./examples/) folder for some simple use cases.\n\n### Date object notation\n\nEvery returned day or date argument follows this notation:\n\n```js\n{\n  day: 14,\n  month: 9,\n  year: 1986,\n  weekDay: 4,\n  selected: false,\n  siblingMonth: false,\n  weekNumber: 42\n}\n```\n\nProperties `month` and `weekDay` respect JavaScript’s\n[`Date.prototype`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/prototype).\n\nOnly `day`, `month`, and `year` are necessary as input parameters for methods\nthat require a date.\n\n#### `Calendar(options)`\n\nConstructor for a new calendar generator.\n\nThe object `options` may have the following properties:\n\n- `startDate`: current selected starting date (default `undefined`)\n- `endDate`: current selected ending date (default `undefined`)\n- `siblingMonths`: whether to include the previous and next months’ days before\n  and after the current month when generating a calendar (default `false`)\n- `weekNumbers`: whether to include the week number on each day\n- `weekStart`: day of the week, respects\n  [`Date.prototype.getDay`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay) (default `0`, Sunday)\n\n#### `Calendar.diff(dateOne, dateTwo)`\n\nReturns the difference in days between `dateOne` and `dateTwo` as a `Number`.\n\n```js\n> Calendar.diff({ year: 2010, month: 0, day: 1 }, { year: 2010, month: 0, day: 10 });\n-9\n```\n\n#### `Calendar.interval(dateOne, dateTwo)`\n\nReturns the amount of days between `dateOne` and `dateTwo` as a `Number`.\n\n```js\n> Calendar.interval({ year: 2010, month: 0, day: 1 }, { year: 2010, month: 0, day: 10 });\n10\n```\n\n#### `Calendar.compare(leftDate, rightDate)`\n\nCompares two date objects, returns:\n\n- `-1` if `leftDate` < `rightDate`\n- `0` if `leftDate` == `rightDate`\n- `1` if `leftDate` > `rightDate`\n\nUseful for quick comparisons such as sorting an array of dates.\n\n```js\n> Calendar.compare({ year: 2010, month: 0, day: 1 }, { year: 2010, month: 0, day: 10 });\n1\n```\n\n#### `Calendar.daysInMonth(year, month)`\n\nReturns the amount of days in the given month as a `Number`.\n\n```js\n> Calendar.daysInMonth(2010, 0);\n31\n```\n\n#### `Calendar.isLeapYear(year)`\n\nReturns whether the given year is a leap year, as a `Boolean`.\n\n```js\n> Calendar.isLeapYear(2100);\nfalse\n```\n\n#### `Calendar.calculateWeekNumber(date)`\n\nReturns the week number for the specified date.\n\n```js\n> Calendar.calculateWeekNumber({year: 1986, month: 9, day: 14 });\n42\n```\n\n#### `Calendar.prototype.getCalendar(year, month)`\n\nReturns an `Array` of dates with the days from the given month, always starting\nat the configured week day.\n\nIf sibling months is disabled, paddings are added as `false` to align the week\ndays, otherwise the respective days from the previous or next months are\nincluded.\n\n```js\n> var cal = new Calendar({ siblingMonths: true });\n> cal.getCalendar(2015, 5);\n[ { day: 31, weekDay: 0, month: 4, year: 2015, siblingMonth: true },\n  { day: 1, weekDay: 1, month: 5, year: 2015 },\n  { day: 2, weekDay: 2, month: 5, year: 2015 },\n  ...\n  { day: 4, weekDay: 6, month: 6, year: 2015, siblingMonth: true } ]\n```\n\n#### `Calendar.prototype.setDate(date)`\n\nAlias to `Calendar.prototype.setStartDate`.\n\n#### `Calendar.prototype.setStartDate(date)`\n\nSets the current selected starting date.\n\n```js\n> cal.setStartDate({ year: 2015, month: 0, day: 1 });\n```\n\n#### `Calendar.prototype.setEndDate(date)`\n\nSets the current selected ending date.\n\n```js\n> cal.setEndDate({ year: 2015, month: 0, day: 31 });\n```\n\n#### `Calendar.prototype.isDateSelected(date)`\n\nChecks whether the given date is inside the selected dates interval, returns a\n`Boolean`.\n\n```js\n> cal.isDateSelected({ year: 2015, month: 0, day: 10 });\ntrue\n```\n\n## Important note on week numbers\n\nWeek numbers are calculated based on the ISO 8601 standard, which assumes\ncalculations based on weeks starting on Mondays. Be extra careful displaying the\nweek number if your calendar doesn't start on a Monday.\n\n## Development\n\nThis library uses `wes-cli`, which simplifies configuration setup. Instead of\nusing `yarn install`, you should use `npx wes-cli install`, which will create\nall configuration files and run `yarn install`.\n\n[Read more about `wes-cli`.](https://github.com/WesSouza/wes-cli/#wes-install)\n\n## License\n\nMIT, https://wes.dev/LICENSE.txt\n","maintainers":[{"name":"wessouza","email":"hey@wes.dev"}],"time":{"modified":"2023-02-21T14:47:41.919Z","created":"2015-02-22T10:27:36.837Z","0.0.1":"2015-02-22T10:27:36.837Z","0.0.2":"2015-02-23T22:11:02.475Z","0.0.3":"2015-02-23T22:44:21.187Z","0.0.4":"2015-11-21T10:58:21.775Z","0.0.5":"2015-11-21T11:08:37.702Z","0.0.6":"2015-11-21T11:16:04.185Z","0.1.0":"2015-11-21T12:46:05.676Z","0.2.0":"2015-12-29T08:50:44.947Z","0.2.1":"2015-12-29T13:27:25.731Z","0.3.0":"2016-08-11T13:35:28.769Z","1.0.0":"2020-03-05T03:27:05.165Z","1.1.0":"2020-05-03T15:04:27.026Z","1.1.1":"2020-05-03T15:20:43.680Z","1.2.0-beta.0":"2022-07-29T22:26:23.238Z","1.2.0":"2022-07-29T22:32:10.357Z","2.0.0":"2022-08-18T12:15:55.066Z","2.0.1":"2023-02-21T14:47:41.839Z"},"repository":{"type":"git","url":"https://github.com/WesSouza/calendar-base"},"author":{"name":"Wes Souza","email":"hey@wes.dev","url":"https://wes.dev/"},"license":"MIT","readmeFilename":"README.md","keywords":["calendar","generation","base","core"],"users":{"novikov":true,"jcottam":true}}