{"_id":"business-days-js","_rev":"38-51b2d066f79b84f3c54e8a11ad0b0586","name":"business-days-js","dist-tags":{"latest":"2.3.0","alpha":"2.3.2-alpha.1"},"versions":{"1.0.0":{"name":"business-days-js","version":"1.0.0","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","main":"src/index.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"eslint":"^7.14.0","jest":"^26.6.3"},"scripts":{"test":"jest"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"ISC","gitHead":"229cc95034e845d1d93adde41d87bd76278ba5b2","_id":"business-days-js@1.0.0","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Q89tgVYI79ZnAZjML27xsFY3e90ZXWHYKUPdd7jvVVk8UqMqth3aBs+jmSxSFtJLmNdHy4VcoibXsaq5JG9zrg==","shasum":"a583789dbc616a65ad1922c4870b8f57bd62b757","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.0.tgz","fileCount":6,"unpackedSize":11611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwTtCRA9TVsSAnZWagAA8RoQAJFRHNVWuQp90gOjYhDK\nQYkmtTDa81rzcQG79bXRSaUqnwXTA9osg7ZeIX4DYpSH2cm0ArArtAGZTyh6\nAqpjasy7q2bldA9QBz0UaTAyg/O/9BnpFB/YuTqgONKWoilS0e5T9p1j/dGU\nBtFW9+8iujg6X8x1/Zp/ZO7hWi8bYzsxcE/KyjlE4w7wwcRQ7tTwoUZHWkhE\nJ9lBv8/e53MZkZobX3zLw0JF5jbAbEpu0Wbf5WtznlbiAcnlzZ+HnaIqtmph\nEu8N61iPh/hUW/soj4WaCl5P63TwweV784XLj+Iw3yAQyAbawEUPRQyOfYHg\nN+J2KqRrOb/puUksPtUhbjiQFmd8vmd+Ya8RpYEam1K8NzEoFzjTy7e9ehJC\nnLqQuuNvS73VEntRuNFy8sKKcB+uVbix2CjEw92Ly96Csqui9tTtr0mAbBb4\n2lyWvYD5q1x7alIHW7ziPFbwVgINPMcEYMwFLPvYQS31wsZSnsi5nDx3OEIP\nS5WFqSR75gXn8JV+gH8xCmglB23pieFvHmFgQOdOl8wnYPQFAOJKU0ZcfiOI\nP+ltmU0ldNkEUdgladxiDqtbAIKMyvY7yyLLAZraaILX+EfbFKVFv+CZ4buW\nQ3NeXycaTWq7gxmc0+yCZayjJzVdGtgHi6Ibhd+gSa23l27RppMiF/VqHFFV\nW5WH\r\n=c3SO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpBy6KhCw6fcSz60NaMBLQGZlmudyL74BjRvL8qF04sgIhAI8S0msbiyWxanjkTvuixZEQtGeWFun8k3VmhQcXS6rz"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.0_1606092012904_0.672898161678217"},"_hasShrinkwrap":false},"1.0.1":{"name":"business-days-js","version":"1.0.1","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","main":"src/index.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"eslint":"^7.14.0","jest":"^26.6.3"},"scripts":{"test":"jest"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"ISC","gitHead":"13f483a4742055c1f524eb8f1f4aa6c579e4646a","_id":"business-days-js@1.0.1","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-qPwcQN0jirFT9pem1bPZ85QTClA/whGP9JGz/XMNB/PXXeOR9Wy0L7hqwb2TMN9G+kBeR4HKwqpu9bk4DB1O/w==","shasum":"961711c6d48d293cdc0285c24fcdd30c48cd8f13","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.1.tgz","fileCount":6,"unpackedSize":11553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwYVCRA9TVsSAnZWagAAaCEP/jr6VgJLztrR8EYL1v5W\nY5TYeJatzguaFO9HXAzsxzaG1Qmkuj3T22Bszfz96GMvKubMVShPdh7/KxzJ\n7Ci7bzNVifuQ5ZNO3xIJ8yKjTHkf3EgXxxZzTfSMtszdvWL2N46uzlbZna3k\nrMeZceLrGuiPA42K9m3+0+gpseyRmr/cVBIdsfNDQz6Fsgy7A8LZkbfMkE1b\noEwy2642R7FNJqCSONZkdZYqPaOcRXyFamtf6yWSdejknWgJYUqNjdCfyMI+\nDOacIq4yuEDif29PcF02APMFpi4fapSrO6K5GXWi+gpw/N+08enfYvvnKa63\n1dWJAabuR4GyVFDaQbl00X/Mzxll8HyJFwBJn3i4sd3/fDvsiSaF01zvUmk+\nDYUkTu/I9a7UWPkNPq4biGPwwlSLcmfC0wdJeu4RXrnYV3r+GSWZLY2vW7Kg\nW20S0j1Wn/1T1yXjzgEJJ+Be9fmzpbXk/Hjcwit/7UMcG+AYN9eK0x7D/Otb\n0u6A9iaOWbSaicNydR1YBDBQ9ufdGek0hBDmHEaVvFoWmlZgx1PEtaEEOk1+\nTeS47t44BmOAxJf7XW6hM3q/hcB3GErj/tz1XTvsJWFJR6BW4TrfySWvnFyv\njuvH+YWp63HUY8p92Hoq9zABme9TaVWqTYxMJadjcpWRk4Tb6OYMSm322b7A\ncknU\r\n=pCJn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaP/O0lAzoh1RKEprbr8I6nGefsB0jgtcuIJ/HEVR+kAIgVJb3llQxFMhnFuUBwUhpeCpvieG39+cM8M3k5M8y5Pc="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.1_1606092308858_0.12970512815415258"},"_hasShrinkwrap":false},"1.0.2":{"name":"business-days-js","version":"1.0.2","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","main":"src/index.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"eslint":"^7.14.0","jest":"^26.6.3"},"scripts":{"test":"jest"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"ISC","gitHead":"1625f875212c8dc6f91fda039176b4857ea132ee","_id":"business-days-js@1.0.2","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-vMRzepaJTf+78sWUhx80PgtYjBW9eA37iFjor3Wh5tdTJLM14MJHK8t/oRoWM/GhaN3WbkFo1PceVVuZ0CWoOA==","shasum":"495dfa883e6b11a479de1dc825cca65be803a170","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.2.tgz","fileCount":7,"unpackedSize":12845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwegCRA9TVsSAnZWagAA4dgP/2nK1gc6ZOx8/Uj6Qncs\nxrnsyEi/bU2W8b+/9q2R43BWkpeTJNUc77NkuHuBAb+x64pJnzy8zQN45WhJ\nKpyHGTwzjQjQo9GSDX9AAS6m1x6jfUqnxEf/1qcz3v31WRkNyDSGIbT4siRq\nbIwAm5THdBQvPiBY9UtK04hrn75nos1F7Nxq38NcqeSFdb1kjZY0284QTcmQ\nuEwPYZTIARz0A3SdxCuU4ki54T6+U2tLGUtPc7ad94ZRAFzUvvOL2LRgWG0l\nEL+lDW8on5uiHstQSKjmL7ZHLqr4BaJBNmbHX2Bti9jwmVPAn4UAV1Nj9nlD\nmZ1YyL2EAVMLziEf8/cLZ8KHLfzFk7DfYVd03gGt4Jtgito1feiFsn8ZouFO\nqivM6Y7f99wUNQbLKv8rcJ0BoQecXjecut5yZvGlMrdQVyriaUIj/wmVpbVc\nXrDfC1+67h8QEsUkdqRrw0rFlS+VIgSjSfu3FTw8q2QlKlPoexPPb9n79FHD\n9B1kmVXafls/JE9CJKzYgnrdu0iMNvaG4dk2eQa9dHgSuIA/aFbN3iiqZSfU\nIBVcbaKTBRZ/RIdUUOtyPvJYnw1StL7hriLcDEbRG+GSLUpSyPD6L6CqjjX3\nplLDBaWGzxp957QCcQTGP0/2T5w/NfKaLghKYC/Csbvj/gvbOA9p4UNmp7eo\nSErd\r\n=aH3y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ/o+SGH72qPpjtd5OVyO3dvwsPCzOfO3BVNsrtnN7xgIhAJjotZRSzplpgteG1kZHjScqn/DqWa205sOwjwzQa+b8"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.2_1606092704348_0.41552189882945956"},"_hasShrinkwrap":false},"1.0.3":{"name":"business-days-js","version":"1.0.3","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","main":"src/index.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"eslint":"^7.14.0","jest":"^26.6.3"},"scripts":{"test":"jest"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"ISC","keywords":["business","dates","holidays","dayjs"],"gitHead":"1ebfd23cd67239bed94d96dd4b3d8004f2ef3486","_id":"business-days-js@1.0.3","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-xunzr5wY/wYdVEfoH4XCIBh04rDifFYvPlOllVmDORiR9NVLBtsqsoLGkKV/61Y6BIQ36nAEG0UTzQW1aesQ3Q==","shasum":"aa797b4a0f1b5d38ed17b0685ae4d1d771d8cd64","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.3.tgz","fileCount":7,"unpackedSize":13063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwsmCRA9TVsSAnZWagAAP7MP/jITfvoBTfrOnMAN/zJd\nFswd6wHJ8osamBomHC81i2RJE2CYHD0ys/k7D+e3gdqaWOZIxwYx0mSEP8un\ndZ/HEjyHJB6JeDzhMoRgbsxVEUX3BwtucQNopsj9lYAGNF2HO6HrOK2ldLI6\nh5lQQENT5F6H4UXpuhZ7rp6t06IWQA5LE7qO9Q7FpaGW4L4r5yZ7JLLLLRFY\nvYcR6gluds4c9yJ3iQvtbBUN7cqn4ORuAEzFXDvBJNd7AgEY2Ww9UhxGK6cE\n2HGMk+1gvETICVFMXxX75y4mosBytn5Yg/cjeWGGjgdVkML/6bXbYtAoiZfm\nCEgeYmc/HHRs4OsopgbM7C5Lsyvb+E8kPBky3NzcHJq9qXu75UhjLlRPoKjZ\nnVzmPhpy7IgBj+LIy1vB5Cw3zTGtfSifOJEwfhHNQ3coBjfrPmgJuNivHJRz\ntfXhTe0AMVADvHUuv9WOxyorWMyXsGfgUNppc7ncty0WlF8OmqZbDuTZorwh\nCVDnvGkKEuFCfGNXt6wnJc7MJqZNyqtyOvgv7wZgX9AxlhecQ/o4ZHX4sijA\nl0Y2GHYyP90hbu9SL9iTv0MFPy3uFjBk6H82T/+xlmSWnr1dYz3w1CaLIat1\nx2yWRMaawU3tdOQ+zU9BTTVzvbmf7chgV6a4pNK1kxPXx6LX69KKbQaTc+68\nJDlB\r\n=pRlf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmPk8QRcSY4pr650vBgcAV03o0F9Ywt6pwNzBOLPBykAiBQ96PoEMz74BdrI/8VVWjkzB9d6o53GqmUojZGvJBEkw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.3_1606093605773_0.771055679741437"},"_hasShrinkwrap":false},"1.0.4":{"name":"business-days-js","version":"1.0.4","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","main":"src/index.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"eslint":"^7.14.0","jest":"^26.6.3"},"scripts":{"test":"jest"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"fa8e551a57d849c9ff692d88ae4bf45ab89ad2a3","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.4","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-gHfotjndkySBw8Es/KvyWvCGNlkx687JK7GuFwdd3VzhElIlbkdb6OE8ja79VPGqQKHytbMRkYCe8L7csYEKGQ==","shasum":"561e3038605f5c43e659a8acc8bcf21f27768343","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.4.tgz","fileCount":7,"unpackedSize":13068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuwwGCRA9TVsSAnZWagAAno0QAJIawxYH0qqlJgKohx/N\nDsZ2FUJiT+9CeEr143P3DTKdsz6Jo5Y62UeEN/ldAP+s5Tj37qltrE2Qbll0\ncALUB7BiIF4N2NuHOcpsswbab5nJWuoQjE3uaeJLpFSnelr+Utza02QaUdKg\nf686oJc6apNW+7jIiZdJ3UBkl8aqdkBOQdduXI6FIPRzCQQ6wAUGW/7w923R\nNArmsYEiQPldWB7QopsA2Etze0TfF/5pODlMdFCJm+ZV11CxMgJDzupogDri\nDZbgd+htFXFSNbFTmqGc1bpKZf2xjRwsKQ5uBw72POgZe82Evj0VbHwOVaj/\n0GPmZGNgFScbdU8hmkBTJ8ZszP3xGPKdyO4zzoTSvRMrrEe/peqdHq2omUCT\nGhlH/PaNEj6B97Che2c64ARKijWUH3Igqi+xWtI8YHOrHy0cKPX9TI6NTadr\noqSIG4MPVf4uj5+IMvtKI2y+cebryvN5ivtszL6Pigsmli0SZVbx23Ol50Gr\nHTlTLI2AHJ6KAiTCQA/B45aN4g2d45j5Ox+04aD1wnP10yCGM72N3ewNky8R\nSIbknKDDDdrHY9SqazorLEAHNKWnvCRK8geJddhxR86AaoOMB1jeyg1129Ei\nnlMpbD7mklxN55zZb04DRcrgJ2+GTpzrMUQ5ONK2uA7iGcdZ3rb6FAv41liu\nmI1p\r\n=c6uR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqM3V/IsbWgE6E2XKdHw0GoCUiK+wo0KPNiY4jVirQEwIgFzB2E3JfRP0DZAOzyAkKLLMxkDZq5Chz5IlIrY6gpyk="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.4_1606093830206_0.10184528775159984"},"_hasShrinkwrap":false},"1.0.5":{"name":"business-days-js","version":"1.0.5","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","main":"src/index.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"eslint":"^7.14.0","jest":"^26.6.3"},"scripts":{"test":"jest"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"8aeefb0a259f5466b0d7b2a38f824a54c7bcf17b","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.5","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-R/zfzE6wgPRSLNZswoHG6IuGQxMX6qxnJh7lk/W7wM4aHFBwwomDN77520Kyjs7sO1k9kUnxErC+moDk9xYyOg==","shasum":"fd1b0b962496e9a5f45a76d87693991b347f043c","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.5.tgz","fileCount":7,"unpackedSize":13116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvXPxCRA9TVsSAnZWagAAtikP/3G7TZZCEFe3Smgb9CuH\niPn1pAhC7T7Y0ZSUh+1dGuVIapw4dg9W0FH36+zVxP1BIBVXPmOWMK04kjX9\nWPmDwVQbYmQw2qxtTMcK8bp4tdm4aAH/VkR/RYaV6pU1LX2FbZC7mlMvPlfM\nkmmM4xie4aXpzGHASMI6PF0qXh3bpBlP/MaSo6Js9GN0/4O3AA5/osdkQ1Tw\nPlz+FztaQmFL46y819v/YoH+Zy28OOMeTVvXFN6ojFhSzmqdzfWR2kY4wJO6\nfyjDpcFt5HrQTUik0PaCpkyhthyq9r5elZcYqGylXE7Z18MB9a6avVEgkNN7\nRk5J0hGQhDaLtcobHXdk8toJJkqu/7JzCIPeROXxMeSPKU7zo8D5tOxjE40D\nN6wGuHtGdmjj/qhU0fTHBvKhDy2VVJ20yjWY1Agd385BA+lplJ7mPwtFmJ+t\npGg4KjEFRYer/r8Y1PS+iIwA8As2OmrjeuFZGZkX+teNCquzof/19e7J+sx+\naQ9/VmpGsqzyQR7dtJr9I8x17VeYLc1Pa/1WAqzlSWztC53HxfXG/tKPLILv\n1hFewb9aN3qER4jYc+1yKTkcJWutAggMqMEnY65ytSFzEs/+BbDo4qhS2/AY\nQ2E0V5Pvo+hg9OaoBKU/JmYw6VmagHXUoKVz615FSId1Cm2SHknffdgLMbGI\n+6Be\r\n=MlVK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+YDiyMmhVqQWGjFV/Zmd+XpjhSF9pDUCJVoH3aDBNywIgZ1RwuOlFJfVDmxINPMEDlhVMQ269T1PReFLFENnNKDA="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.5_1606251504772_0.5718900147798514"},"_hasShrinkwrap":false},"1.0.6":{"name":"business-days-js","version":"1.0.6","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"9fa5a8a013f29e4c0e46274b093c4ed18c08cc77","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.6","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-VP3ieBKCG4r0EHgMMK2/2IQFAEWlUcibFaYDSkljeplMUaXQTBF8QgZjltq1P/S4f1LHmSiZyCKvcZNPir5YrA==","shasum":"b547493e7971252e6fab99ea9af454ccd6e48754","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.6.tgz","fileCount":16,"unpackedSize":23671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvYd+CRA9TVsSAnZWagAARBoP/0FueY+L/5rW2ZDd7mo+\nI+EfHd5Xno4/gj5fGNGl5Lyszd4WKQ6R8cG92q8mKuooyRlWS+lB37kx/ujR\nUkhXxvoYG6vf609/DeYesRgo6rlQFlGbdGB2myGwOTLnHiGAnVO2PMlq+bAB\nGjRReKVQt8nfv+CNe8MeZAgEdrIS9rubluhvG8tkY13KZg0rI+tUQkxSerNG\nvP+2tJaaFLDO1LDWkO+c60BsWKVZKlABMfO1J3hQjrflAEZG0jx4oyehGgDK\nnfEP3s2QLyYpWxrv+p2TxYM6WRqFZO8tH4S7lgsr0AoWnjjD1Ehfl6FEZtBd\nOtKt1rG4RZz2Juhzs119MT9FpWPCJsmjKV8C14Y91aLybgQ3jKcHj4UzpuJq\nr4QQhXxMMg08srlUOqPoWy2T02yvAO/j698HOGtccH2v2MBvogzRO3oRf97s\nhW3vAkkXSlmF41Eh0VxMDYUc8gaviDDM3DvyZowxdVEr7324KXXqsnajNZJR\nj4NpMZXvtmvFredsAkpzLsdKP45oT0Lpmn5UAf8aB5CqJdn3xiQVh4Mvizaz\nrDY9Ha8uJGhBeTMV4CwY0ECOqJqk7iXcUy/fw+7kz5hpvaCNn5Pm7Jpa+ADs\nCA2VsO+v3ZzT6Om/MLIg0Oq1Q3/2Nt+fghxUpujoVNc29cxZeID/eX9KXTRz\nL1Y3\r\n=0QE6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWo21npH6XgL/C8dONZRgcdiLaIIashEAVCBRXvNvMsAiEA1/eak0JLl2/wp34ExKI9XJF0M4fXgOrsT7qQnUpBcgE="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.6_1606256509978_0.3728896984903409"},"_hasShrinkwrap":false},"1.0.7":{"name":"business-days-js","version":"1.0.7","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"9d08bbe34ca857418ccd6104df309f7c4052c07c","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.7","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-Z3q3cAdEB0gsY9Cj/IGdkdDu/l9+YWR/m1bNHtxGgoes4zEUcBOkGuHbTq9qdBHl7+C0QJuVAPEM81oA4K0XRg==","shasum":"d9ad6b0c49379ab5f7866f1d5a239124682f3b80","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.7.tgz","fileCount":16,"unpackedSize":23713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvYoxCRA9TVsSAnZWagAANboP+wY8CdEJrew4YPLsB8xd\nmsVLK9RGaMGNrHFkZ61ox74s31P8fVl/70FLyIMrO5x4jsz+m1J9hLBqcKNl\nQl0dp7LPfCK7UiMiujaOkHFHW2YPi2AeeS0+6mnBgT9zy2ydhhndi6TIMBDN\nisGp3qjHsnfsjSVZdMIxoCbF8itHj+06fmDRJ+3XD5ZZt9aWdu/4ej/JCo4Y\nRdoCG9SeJ9jyn5WWSIXpsjKw4Y/BnKGQ6HISPZiEsoY12AMvCuiE1AO1dDsQ\nhpHYjkUxx0JRFo20d+w7enBd7xyUqyygikkWo1HaoSMHZW4Glay6bJNZHRW6\nhxIQnbLfyfgUBUcx7ybF3/TyeDensfn1elCtqvkE7cbwVxK/R3M4cWAOZ1nJ\ni1eszwQ5D3VXQSnMP1odlTtZiLKy/rE1EFDk5fcHNByLlPC42zd8qkSFWxIi\nCUSqh3KhKHHGdq9wGiE7m/bnpi8zW7KqhbLtGst/Ec/8UdhGqWg1mym/Give\nt1SXdMKYt23wuIEhHQEH97pnmxUmFQ60Zb7R95sUV/wDT00OOXoYX2xrILPQ\nLR7z/rj8BM0cDdCsXhHQVk4tFEKlriuj78Rf5sUMkS2n7ZLzk+BqqoOtLLbN\n82eY0vz2I6tfaJaj+Vq5ArTVfzQTnNTN95GI7b+wIsbxfbxbSr8RwOn5UXYD\nJp5C\r\n=B1J4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWU4vokju3M2UJeaNz8geMyiYPosN0h6jwJB1Bpur/vQIgf51oEaMPHHdZA2WOenu5RTYwMEPhlZoqVudp6fyz6Bg="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.7_1606257201532_0.9306183521737412"},"_hasShrinkwrap":false},"1.0.8":{"name":"business-days-js","version":"1.0.8","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"b97278b3328daee26abd38d6a4a873a90f6d1107","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.8","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-xIWjlGm1fRV2LoCx7gskxrnIzkywLzPG4kDC8iWWbnP1ewPhoIk++hdCHK94cQl+/LaN3QR5uEudNGBCdCSYbQ==","shasum":"3a21986857cb0865ae34a8787d6b517e95f0159b","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.8.tgz","fileCount":16,"unpackedSize":23713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvYrZCRA9TVsSAnZWagAAcHwP/0hLgoTB2xtT8ln4/lra\nUWGYZKI1X2L5GXqkxoHUXEU6nE9Rtm+Tt15KI8sMoH1z3kO9upqEIXf4Th5e\nmX1tsJo436xYwJpojkuKgRScr0Bsbb7o7atD35jloIv6N/AJ3WanqbDttcSR\nX6uhhNTCPG7PxZ+I//jGok8AFiIGQQ2FCaW4DAOTzkvV4RJ+EhULoZIcYazo\nPUCPo5cHG20lF4r9uyK6t+8CuoOzfMaEtD8GVLdmigkxFbfD+MVHhlVGKboJ\n5QPGkREZVqjH6dssT+eqgxqwBwZBnLfjp6ECcEA4BiMEhWjPLxHAcfX18WAd\nliNo2gAHOJQPMwUmIN3bzYfYfz0Qq8FhxJ2sjuFxJv7Dy4fJV13dJ8uwsUdF\nNbyVq89VkNMy3jJLERNOrUQQEd4h7BOe66EC/2j2XsIZmKE8WIZ/U1cfsUfs\nbg7jCpmUm9VPW2Eu/Hp3mEdoxZTwtr2dND+pAmkECyngHvGF9s+d0E2VMUwv\n9foyNfPiHyVllXlXRTXRfzUjDwvw2+igP44Wju8zkDwj966hgBAHIk4pvNlA\n7DGo1O3HL+QG1J3pLlLvjc+yTqIOdhazbto6yZJzjtlOkwOhNunBG12Etv5I\nmKWBv25xO3HVdkHakg/z0JjBHIsgfNf9iJy39qENQ4xX+Zgh5G08UALSZRj3\nTDc8\r\n=/DAI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3WmgXKRcaUnP5r9719u7e5QTvKqtcL9PDkECxRZbjbAiEAirawApLRQfcpMlpmZ+y4VruTLRklt4KNccDh++p5Z1o="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.8_1606257369204_0.3626890155217992"},"_hasShrinkwrap":false},"1.0.9":{"name":"business-days-js","type":"module","version":"1.0.9","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"091c949782c03fb410ec810da53c0edc01067ded","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.9","_nodeVersion":"13.12.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-AfQi9D4OjMQTnrffj4Rzbhy0VBy/eUIjI7JXwdLON2z9EbSN7KJ6bJ9WCSmuqr1G175PEER9gC6FnKSZsZPRGA==","shasum":"606fb67b4f3431be6410fc375ac695156277ac25","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.9.tgz","fileCount":16,"unpackedSize":23733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvYuPCRA9TVsSAnZWagAA4RgP/1xKGjuFFg9oHIjJBwD1\nm516rT4y07A+JGxcIEiAxsuvfmiSjTJMbY+j5xE+6k8jKzhB6z7/lvH/qADP\na0ab+iQTGtWkGkaKqtopsmbxJGi5FJO24rGsZxZPxpInfCckyIVP6wpzPUTH\n1cNltgVHtavHdJ1MixDrAvyV6AUD0/64lJl0kOqpiG4PnGT9dvERBSQPLkNQ\nERA/h85wpQDjB+Ngch/Z8PEyBZBhCFYGVThiPW1gk662vXbpiMwf0EYLnI8U\n4bmdH7mqLEXNHi0P47IVOhMsPUHvBVbkE6danolx4DMJea8wC6ktXsADTeGF\ned/oqlGpqmW5DtTwv6FSWbYBJf5jFuM1Kl59nzIX7rHLWE9mmNtWB3h1Tf9e\nD8F921TPSXPgeOticjAzRJbhdwQ2AX0gK3Lf8iiWBI5IRYaWH1yZBlcMLoDX\nnd679l9pyrPFFeOsMXbxBHa6VJ3uF/JH1V6flQXe2ZaYVpKyMa3MjDbJhFF8\nWO3d9pcHwv5h+kt5kXcn95UVX/Ora0D7cS/P49ttg9Vkon4e7QvWajmXj8qy\nRMkxvB3PAecQKP6z4+Wqcnx077ov7wc8BtYp1v+UC33XOqe3faQ//pwa4iK/\nJcjMHVbBf+Sy7cuWttU00HRRzV9nvx0yKgqzHrUhInYqX5zNMTOIOBTWBabp\nN7Yc\r\n=8toO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeVSS0lWSv9CrSyFfeSgL06zjrUWTFMYX16vbVlSB5rwIhANSm9B+9STwO2O2oQLkG8bbawT0c79UMB/+ompx+ijwl"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.9_1606257551493_0.3720773113435154"},"_hasShrinkwrap":false},"1.0.10":{"name":"business-days-js","version":"1.0.10","description":"Checks whether a date is on a weekend or a holiday in Pennsylvania.","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"b037a7e312450c56b5271757385a96539287dc98","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.10","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-mlm9MdarRHSoKP2qB9oPt8lvPveuJm4PdFzCGbie5k9RoWD6BQmLrZXnAsyvq+c7WmJJJvvnnqY7T1CTWIqpjQ==","shasum":"3c246628b0d65c0602569a5c28962578a461a7e9","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.10.tgz","fileCount":17,"unpackedSize":23977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvZHiCRA9TVsSAnZWagAAVJUQAJrsrm5zGxknYo3J+uid\nIZNLKcNI6SR+aAIEKsPAMw90JMKSMnQQNOXv6yTDLXJdoAR+wp8ffJPP2H/2\n8Abhf3Z6iJZxyukVuJGAey+lpnpdcRtpza3CC/H0ZMwP8V+NL3ntJj/XvpMc\nuPjBxkCaENmAUOFB23A0phcmfWAJarQvuplnipqVdex4X45eyb/dETEOrgG7\no09Pp/YuesKgD1Ldpi7ERlnLLPMP156cig6CNlkXzxahbUfFnrwNJ235hc2u\nIDQz5RGvtRmmugYCj1gZtJj6OuaRWXa70jrK021x5AVQw+fGegxcAtfJMA1W\nGgDVwKWrPUSm83GssNqOb7mefCQXCNIkWwpJfakUt3xr/3MvhZC3c+YTMBOu\nQw+bicwbzTDjF7W0in0qJZz2UCK9HYGJUl1ulZP857CErKvWyc11JJauLRHX\nYSFbl665/iCXrEpXNIbJjI24s/1kcScvQl0hRQlhZOKZ6tlZRqTBnTyAu34E\nbgQQ5YEUmlJlDsODqTVRpP/gbcsGyENaWuY22xaJ1OFcv2mxlqdld95XXK26\nuRgKa1ddjsZj4ymeFfbtjsKeYcxWQ/Z0N20UCFUaYmdewO94Mk9ibgs+bYO/\n9NQQgR+UrQF2nw810aW7poTS1n3NwslUnVlJ8ETXxOeI620no2kIcFIm64W0\nx7Y7\r\n=hwU0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIHWw3kmf75bOHRxmhDUuz6lKfqLdFQEcWZmYxJuUBFgIgUgPlSIqczf/qdRkQENk1l2UjMs9jvaeJX1Mcgns1VOo="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.10_1606259170365_0.46288205493483736"},"_hasShrinkwrap":false},"1.0.11-alpha.0":{"name":"business-days-js","version":"1.0.11-alpha.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"4a51a42962d681f2bd31e92f4c2b44ca78d3af31","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.11-alpha.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-oIOwr/uxa/XZpMLrp4ru/Vm/yYhjCOu1DmhkRv5gBYBGT35pfNY0W1mQLYnV3ApJVu4x1RIzny71jesDHD8pSA==","shasum":"87a35100d2facc333ac448ed1e628b09e04e59fc","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.11-alpha.0.tgz","fileCount":17,"unpackedSize":25970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvb8iCRA9TVsSAnZWagAATtMP/37gPaLYuUNAgk7u/HKS\nXgPOTKBCRsH+K89HiPCBXbBH1aPboVg5ClKu4DV1u5m9JwAoIg0v7/TEbA4y\nnaCAQlQiDuvl9bsXAvNz/eK23akWlyjuknMOzltOwB/qpf1PgaSSx9m1duxM\n9DfhWsCmLRHrsJojJNnlqHexxSyJukeimtd0NDY3z7M3i9XZlnIwqcnVjr7q\nBPZclobKTyxWEWl1MpWP8iBX86ZH0xBwe4tWdOliIpzdaNgLAkvk0ZzK78Dp\nyBs4I0azNiX8Sfi/prqDVuyEmm79ywdMT/QBcBkxJLhxj+bWfIC0GWLHb0+p\ndmJpi2lVyvROvKu0P+Iq9UmNbIAWPjaq8X92ZO3z4bwvpsU2o5NLUyzrvjfW\nu1zIJluviPr3cvEZwbktLbkz3lMVz3d4Q8b8W3BEjVvUwunvq09xN4nOchdL\nqxvz2FfQrfY4VLs0KZ7LxOJ5fCAuPzg9J7eSDSZJ6HQMHHrAK01jSV+3Zskx\nFH6wS+GANdSLm6ev0e81upIZRZf/gNNgB275Y9p4CN+P++XAXFeNLD5qsWhg\nM5uPGuv6zr4cdxP2fbXiiC87efat+c85ilYngxmUZmcCdD4/6I66M9vVNrVQ\n+rK3juaVOQlxNfNqjEyE6RFYPfOS1ZyVcQJcvWYEs8VQ6QCDxMqrGAOzzAa8\niWRA\r\n=k+lL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC61/cMBKCcPgQJm9Lr7f1TkodtPVS/tN47vws1z0U3ZAiEAq6QOlxcY5h3jHbRerE6UXVKGJ7ug3oFAgleqhRWOsHc="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.11-alpha.0_1606270753713_0.45334530839679665"},"_hasShrinkwrap":false},"1.0.11-alpha.1":{"name":"business-days-js","version":"1.0.11-alpha.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"a7437d14a238eb764a372496ab3785520164a545","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.11-alpha.1","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-TE06YoSS/g2sf6FHRouu9jUd6UCqrxTtekjUT5uLzJlYPeQMSPZ6vByK0nE9C5hCjiUVdc6UKWEDLUKrAeZlsw==","shasum":"90c5bd8c226b5ff7e4fe42df7124ae14c257aae4","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.11-alpha.1.tgz","fileCount":17,"unpackedSize":26036,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvcTDCRA9TVsSAnZWagAAfuoQAJnRj0ZAzebWzk69h4MV\nkyaXJqsNG1y9BzaGI2d/MAFn5QaTGaNrbBPqPHQGE24I19eBvZ9wPUVNb8Of\nXLCqdXO3uTm9qhuEKtx/PjvidkWIJtR6YNkyoB3XooNhpqqjPbvuy4CHiG6y\nya3WRDgU30yXmcE7mQbEr7TKdgvaC883Fr8QlMzDbzlmssDfM5xAnUaV85I+\n8FyXljQCqnPXM/Hc+jGVPDjhgn35MIgXQbY9zC9nscuewJlG3dwAKRL3ewgR\nXcXvks+xvSmXuAyDqwXq2N8t124lIWLByBOC3/2lPiDg+6ov/b1kji8aILe+\n0a9ZU54RT0thsxA0JkX6l4HXN9gIrRXRnB/YB/jeed76QDH0+vwxSI/0ixRC\npgs3zDMPRLHgDZnjBv8gp7LYF9HqUqKfK8BdeBiPVHzHIVPDq/kYuCq79TOr\n4b8uU339n8Rea3lWooGlEG5/r/Hnj1palcIP83TytRl5DGuDe5MMsYnqBx4d\no+iKum4hQrv7JJScQBsQj8h01k6e23lXOWBEbW9l2m+Jz4TJWfHskHLjHl/N\nA5R7ZLcL7xSbTkqDC27wvJg/E5teMRiNYVdCUHmKkwdvR7V6LJnOTra9+MCr\nkgoHVeDjstbOArjZIrnEdTdI6f1xQQ3WJp98rZ8AuVFDHWkuMTlxXURCW96n\nptGs\r\n=dg2+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1uXgxtJQM2zvH/MPdmieIK6lbCAh7zu/lgAo9CwPxLAiBcRiO2YRUivHYc7RhSN3gmiimc+uYT6ZFNHaBpzzWAbw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.11-alpha.1_1606272195256_0.7858105138009188"},"_hasShrinkwrap":false},"1.0.11-alpha.2":{"name":"business-days-js","version":"1.0.11-alpha.2","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"43e6eee566bc80bb17a95724b04b1ebfd12f3c63","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.11-alpha.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-XD8XmZtITVAQ+MatFbHEjHsBn4BZUdcb49O/t/cKzWbgx4cb55Yi00kAwCVGSf+qwza5u4zem2/thcvT+7Uiqg==","shasum":"95a76da7a71d5acff2181862ce522225a62cd494","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.11-alpha.2.tgz","fileCount":17,"unpackedSize":26005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvcYQCRA9TVsSAnZWagAALQgP/1cMTPaJgE2okAfStnYk\nJU2BtmeBADXkNQudoSf4tlssk2tY0CjIslWcVuEQJczp25A0qTIW3/Qf0ZUd\n88BHSuWUYZCNEAyampBPY8EPkg4kBjAQZp8cW0igOxp1WClG/smQmPKwc7xg\nYTLM2Cthzsa3f2T8XyOWE078Hrok0/D4yMZOtvlUOqDTGmfXmYhWxmB1krKi\nnJ7mbJeYnUvuiqKRr0ErPlRvYQD+OfvB+q4W6i4tNh6mtPrdM7WuzjG2A0m2\n5xs0bTMwkaIrkd0uBR8LCY41yAmdiSutPbDSXo3Rjfvax5KmkrL8KH0ZmKwg\nXDuYlzlvVEFpZO/xCX0J2qQUBqRnfscOGxJ8U/+E4u/11wfzpxo44g7dAm0C\nFcmeml3A6yov8u0NWn4swzhCQCokSF0YTBijHtbnGjmhHnLvAQvbs12dlTl7\nSP7iHtZLRIg/Y3aH+ganDrNLZqBdT2wXuelf6jWnuuYZ6lFy5FvifYUrHhGQ\nZ+OCtuRfGbncTJu2WR9WhflE2XWWEB7hrWOGMXLmjmcR1hi6IbNlBsoF7/4v\n26yFaxrtPvogfml4qyT1H7f8QRnuLGi5w7jA7ue8V6U8Qejgui2K37DxRZKK\nV2yDjA9jlKWHAQr1/d+y4qlRfWoTSlZMuiGM4NxGwLXJI2lzVNc8KJdhjoon\nYEXE\r\n=aYWt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGsj7Y0z8MRDV1MKycrOWYtiP8DKn5z+nTQp55BV7ueFAiA6lua+1Hrhi22knnzVEH9ySXjLF6DQBTU4YhZ7Z3acGA=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.11-alpha.2_1606272528031_0.3182010619062987"},"_hasShrinkwrap":false},"1.0.11-alpha.3":{"name":"business-days-js","version":"1.0.11-alpha.3","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"207310810452fd964d746a1b26038947fb03f040","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.11-alpha.3","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-mSZI0j8WHHS4aUcdicgnWxnrd92fUe5xNv4Um3oGa9FffMCXom2rI4mFYT5bnPiuf1tEq7tj6bSmm0qDXd/50w==","shasum":"caa84e00d339000827227a6db61f502e1dfe2f4b","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.11-alpha.3.tgz","fileCount":17,"unpackedSize":32196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvchGCRA9TVsSAnZWagAAZrEP/1vZfh9Z1rFeDIq4nw5+\nBVaPJdYX0smhOrTkPkszKbJx22WJdgsdZisX9vx3OukRBTGmqoeZf/9W2GZI\nYybO60wz8nE7HR2M27gR6M58lw9dAqStYsxjrVBmwzLhSOk+OKxjj+yV/E70\n3tzpsQQe9vlwytdCVB01nj3VThJOZ2TACelJj5zMtvyyRK0RpMvY3Fa92dgD\nTVRPUvLMUqknECYXvLf2rAeFtkOcfjtXxpn3mFGa5DRxalJXF4M3DC6lBaGx\n0Z9iO7tEE7ZyoNTUlpD+LHRQB7F5rbRjj9oDHGtK8hB+VOl5rPUGlO9f4u9D\n/W6EXnQcEK9NistjqVgSawYtKV7iwD8gFto6V4N23B3/hq+hugCj9S/u6p5b\nEjeWfmbFb5sYSpU5w02EgXVrnOsQKFzrftszY1AbgXkmfQR0ahTehkhb90lR\nqKrA1+WQRqAsWUjspHskk7L76sYU7D2K8eYu+Rnm2j1GZtDpiGYBDYrWuG/o\nYodTGXNOVo5WXclJjxggsRBhzUHarYutRkG9lTQE1wWf68L9wBLEafgJmZjV\nGLJnR3Id56ULgE4hbSzBD5eTd9taZhtdhI4kFl+E3cL9miNF9JV2WC3l5VF1\nhbZPg6LuK4eRQTgn1pqoi96hS+ehWTRq7jnNOmOOzYs6aUzahw3TekaUh63m\n9J17\r\n=8uFW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/rSBH5Fco/70WPbQyakcJksrKric/cUSxIQvo7UKNcAiEAiAWSkjLdPNXgks9clHy4vqMT8MPq8jFEV3wbCUdVcmk="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.11-alpha.3_1606273094259_0.34161482512182473"},"_hasShrinkwrap":false},"1.0.11-alpha.4":{"name":"business-days-js","version":"1.0.11-alpha.4","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"28b2fa94e5cf5893ec59506ac420b1db64a81ba3","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@1.0.11-alpha.4","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-OcXdUaC5z9MBWQGW9zuIAcbjHdwW5NV+Smycv50iacOT3Haja1M8Snx4Glm15luoMuyhzohwqg2zxufAJc45SQ==","shasum":"cfee36a6dc584e52eb46b9b27c5107f2f72a51cc","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-1.0.11-alpha.4.tgz","fileCount":17,"unpackedSize":32239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvclBCRA9TVsSAnZWagAApRIP/jhB+UTGVRjpMRiLoq0k\nFlDhT0DU+M7OlvLiAirB8wqAtGW7paJUTTGYfPdW4ASP+Nmjlg6ycX0Tgfzl\npd60+o+VfNiAKUXw+nUS+olZfU5IDiC4K/Up062A0/C4aCUdBvZ0QrMbPsSu\nnYxyqPIUuV9CDGEMWbctUKrdTkGJgFwJ5s93LDnAfttDIFynqSiRWFwguXtj\ntuhvWAgcDLDyCUPYXbXKSaUziiC/xht9AjR7HVb3LfTMakwfmKw6qisIpkbQ\ngClZPgjVqeWuBDMU29IggFY2N5yBHDvLJ08aUQfWDfOKwI+rwfUN2znB5kyk\nRe7Mule6/xuGVW4NcZyaC0BluqKH/Ffv/a7Gck4NuSeYHBUU5uw+hOWP0AZU\nN6QVmNJP2DYte/EucAzlpSG8yEjUXKt8TroPjXEUEXR2lM6OdFXPBqm6Hn8R\nO7zdKEKGBhY/lXl+48ro6L+QxnBL5zM6UFJVQF6poZ7c5FRrxMYC2YLHeYWe\nsozYN5A8Bjv78ZKWyYRk+6Yf9l7VTbn4ypI/bElMNbtC2aKgMQbchusmB8KI\nDVEv78qOw394AyBXJRqwPYeZ3jwadIvqwuVfsn9bpVxUJT3SArdL9Alphe0v\ntW7v114WKkinmUeDuZpQBXygZKvCYh1rMZwxBPdK9TlqDS39pO03SCCI3RWe\nqZfd\r\n=soQm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7POA0hrBvUmTJZoBqK3edk4TicjdEZ1kTR1HiJzKZRwIhAOq25PXt7QjBQQJLFF2FLk8jnjBHCgATZbgtFcHaL6rY"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_1.0.11-alpha.4_1606273344778_0.8373266907921397"},"_hasShrinkwrap":false},"2.0.0":{"name":"business-days-js","version":"2.0.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"1a6c85434a9d47277b98afcad42416d1a0bddc30","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-KUJSwFH5RWIWQFPK74J0IexiIfgOr71aCxcxvLcbRrc8OaL/J+pkl8bvC9NeCanNvqaF1mHUlMWoOvZ3VOIFGA==","shasum":"d2a3040ad5710bafa5ea26ff0ba564307cc7fd0f","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.0.tgz","fileCount":17,"unpackedSize":32230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvdA0CRA9TVsSAnZWagAAamoP/ipZzmECTId2pP2zuXq+\n26nqvRbFafX9EahuRIrmD0jIl89hmlz0+KHFKE+OWK4UdeeKt8ocoSdy+W7j\nCz/2zjdDWWqr0R4ClP7mRhRB/nL3JpZLpJL0BHRcVbmrNeE1QTTvUJlYvOMt\nSTByKXvFqicVz5q7xQq8gsxhw9wfkEujsLalp5S66lcxD0yAnNUTK9Nfo7ss\n+J0l0N/dB2QqzqPJqpbSW8i2PS+x4XL2K3bpDgLOVFoWbggosbGiuhnXNuSU\nFmgxuB1V43nZguP+vph8wKEFZqP+VKImLt5SJ3T8P+muwRTy90jv75dzro9L\n8JkwfjkX4NyN73hkxbBM7/DDozrbmIRWEPVxRxAxxRpyElFKp6rq4UMzcpK+\nBKbVt9NSfGN4pepSYttVvH6VbuAtWSTVRJBJPn5tm8WrDZ0zypND2zYYYwrR\n9dpFL18uts3DEOa0+A+6cqw12zxygYqEfDL/UMSmTHlJkgNuNWAK0Sdw0QQ6\nKswTz3PgZfq3fmw64ZF07AOUSoZ3JN3WAptaGcQukt5+HYgKv/ea0NJFn3Iy\ne+IgUliy3UvRWDi4UfLaubS33gSclSNt8pB0fRnOtoMmjvywk/9d60z9vGV3\n3m0rAovzURS5Rxo5dAjwgeVGtBC6Q67S2AvPYe7nTk19p0ZGbF+1Z2Yk/LzY\n9+cf\r\n=U1p6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAKzep7z2W0UaN0bWzSTCZ82Go2RG2CdV8qqZpQD3eAGAiAfgOEFGOOlYKfiBxLDgPrPjvGjpX3Ll+iGTUh7YtHeQw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.0_1606275123648_0.3786550763855605"},"_hasShrinkwrap":false},"2.0.1":{"name":"business-days-js","version":"2.0.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"ccf1ba3f2fe11b3ad9481b5823f0fd478a050442","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.1","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-pCuMZ69P3zJUdsNbZonqLu6YYq3MluB+MGXwtlN8x1uzSgnOLz7U37o8MqX8oV/B0xxb4IjuBJMheUlUm2rb1A==","shasum":"92428301e6b9c630f4ad54c7113c626797bd6f27","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.1.tgz","fileCount":17,"unpackedSize":32253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvdGwCRA9TVsSAnZWagAAFigP/im3b3ULtUkuawYhtOD4\nFnfcJ/04Yw8oY2UllvMpfywjX6RK1UhU2wKgFs7RRZhIaVJ/ss7cKWtbYv4D\nm6MxLuCzsKZW8LkvG28xKBbpKGdqztVAkmSytGPWtidi5tJKafy9AMa1RlpJ\nxp+/O9uaf7r03n5Jtf/SYlfymzu4OXpcMwPoQgtqUXr9JBsL7KLCvlr467ZA\n8KU72Cc69eSl6qgikZKdmRLu2E1Pn6JU9FTdNILWmMu7AV8Ge3uFQJkyebF5\ndOQfCtet4WrtDglpt3hk64RYwB9RmyjexZs3z3Jgs//dQA9EDEtMHCDi3qyL\nBUDSE/BeULAJsJWtSnuK14F0hpzXdNFWHwxUjNZY1xIP0iJWfk3hEPdigTo+\nuSi87bvEx56/0YD6epufcf8ygOcbbrRmo5+g/fbUtqyamDyDXf3a6jmeLTY5\nzOZwSvJDNwmmIuIqPVmq6DnSDU09iSyI9XhArdMZF7miHylZKw1t5fl1kV/5\niAUSZLRhDikafjmYvRb36sBNvrl8TBHCgwLs8WQLoGs8mdo8DwzPBYatpNQl\n8s2P4m3nHhjrM8+cUE80wdOgEMGVGxqhpIJUBaMpBl3u1wpPEzRJC4uertKl\nZr/vnmFJiUk/15vtqlFtWcFQgdPeRSf2FnuFr+vM0aYjVRDfFjtR/Rt8gPAs\nko4g\r\n=qf00\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGlb3ei4qTDXjoUw4ON0EK300R9IlZ0tf9Z19SZU7GkRAiBioOyDg+akLsybOOwJQyIkf4O+fU2KA+uSxWbQitWjzA=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.1_1606275504149_0.31575850434094455"},"_hasShrinkwrap":false},"2.0.2":{"name":"business-days-js","version":"2.0.2","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"b0c440a065fefebb16c53c466fe1aa3e62b8aeff","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-7v6i7yY+R9hZY5aAQEZm8mHXpk4FlIIBxRSnPS6Yqd3J5kU01jnFXq5h6sNdDGcSGFbcaHCHPAJnUrH59+4jPQ==","shasum":"9faad2a119789094aa41ce993cb6de29aacfb61f","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.2.tgz","fileCount":17,"unpackedSize":32253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvdHXCRA9TVsSAnZWagAAEWQP/1q6L53/K8mnyRSFiJDP\n8xQVXtI7dY59Mrh9oXfKH1n5+skfHPoYJg3RAhgXSeOofCHi1GfGwfCJGRS0\nb1nFHT9J2QWgrgBNKybKMELRV6Xrul41D5qp5M+GU7MBtYLzEhukJr5Yx8R6\nBR71xv8gQ4zLMSl+F8x/NYbJF4fu24LL780iWHSdHiokDFUYB/ChfEaxk8bL\n/L6tDv853bnInvMkKANMo6CZPRCkQk6VIzL/ovXyVE3wq2g2bxmXh5ltgXcx\nn8a4BtjPN68pzGGb63Vyr6oBNGMuYFf0IXMi4D53HIPs5IDpDOHfByK+OB/b\n9HgDx068+3Uoy1TRD5sFqdMK7I3hoPvbRKJYAsRLFhEdJpwfK7DVFlsawiiN\nzhJUEIlXz1mM4wH12id5Se0LZWpcv1fJSl9nXKeZyZLrobXBj4ZxKG9+qwfy\nqm+SeaqEA8s9IQFKAttF2Ns5PYJVIuXBFl1sExraJEEhG8Bke5RqzY2NAXF9\n5NfwdzRFam/PHto9uT3HHd9CzoNRN3yk42Arh8TXh3TL0Qwqvi+wwM6scUsY\nRxIpXSm8EMntyA0unL4v1up91X4h7UrtIwL5dvMyWlHUUneJ1WaNT7nYGmYf\n6trr4swa7SwwHKZxilimEpcuialzMs8jJsvFRT19AaqzDtfyf4/uPJRYpCi9\nHqol\r\n=RkRW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICF9tPrgPEdZwxJJOWCYszz7cxXRuo1pU/pgHxuhVp5sAiBvRrayJP+GLxz2VOW8B9iztGY/i0bqwHQzISzQUxaAbA=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.2_1606275542677_0.9613625328692372"},"_hasShrinkwrap":false},"2.0.3-alpha.0":{"name":"business-days-js","version":"2.0.3-alpha.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"379608fd1b084e43a4077f1e9c9a01911447b31e","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.3-alpha.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-K6H5QyIXh7/Bw5DL8PX5EmxeYCMWg8pmM92aZjxM+L1DujL3x4XAFF7CLYdBICKy7ELem/d7eJHDQKQDvNhHcw==","shasum":"2b55051b46ff87602e405058185813829ed87785","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.3-alpha.0.tgz","fileCount":17,"unpackedSize":60603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvwWHCRA9TVsSAnZWagAAo9AP/1x1ntAwBhIFJW/mEOJO\nwsr9GFHewKKgHHUpUuquzxyVOai6PKZe9Gd8HHyvuBsZUA7iJB4Tq4jsuYJW\nIJ6TZ9tUCWGqFHWfVbRKYDqMe0Dp+WZz5JOxIrs3O9HW3xV5xb+v8w50/93t\n4k8yA7JfV9T0x4vX9zYPjlTi8mYp/N7Sn9ZGPMPGZshIy7y/tupXLA6XhP7v\n4ZA1ZYCDG3pMWsmcOGP6KzbzrTJzFgGqA6bhMuQ9520EjzojTOOk7M1m3mO8\nscmpZmQj8OtlEb5d3mEnX/+nmz5btfYaH14Df1qTg6K4ZWSlZWIsEaEhcFRY\nlJFFd247hosGI7Od6Epx+U24rwYIKrtYYvyqxrvmSe0QyZ2rCCgTZH815MD8\naBaDy5Xbo66UZIq4YRvu0yEwmSteMMNSWGZcQYhpgnGHW+LYSjoa24bPJVSZ\nAh7F5+sdNSnEsc1eEaWZwC6A9lxJa3tMz6BLTW7N/tVk8Bdv15JtWmPEjCJk\nRWuXu1TSPeKsRuNX5fqMgXIp44IYyTscZ6HYJKoydOKyIX8LEhAUrIgEK0N5\nFUsgCSoUW+qJCrXZt4KnuywHTpjsCbM77loQzAEKk1pMZmNpe14PcmPp6dVe\ntrxg6V4CDB8GWtVwGbngz0tI3tLmnj4vdxO161cnYUkQcWb9w8rG6zHL64wh\nzQao\r\n=25Kt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFDQA3+lvE4pPI35QJOUtfKTjlDU/YhyXy91QtNngHEQIhAMuiQchF+3n4/EfQMTOrmsIGDq4MHOKnzHI+pJ4/nvwV"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.3-alpha.0_1606354311501_0.672609476239421"},"_hasShrinkwrap":false},"2.0.3-alpha.1":{"name":"business-days-js","version":"2.0.3-alpha.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"40bc84892d38c3f10bf1dd3a4b39a881180290a0","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.3-alpha.1","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-mJFm6sJlq03UNvHkOMrmF5wEYRoZkguOrzCe02m2lFgwN1SywFyndOPqAtvQNWWIVDNXOXMgrs4R6vh/md27Zw==","shasum":"933b7cf38b4dde0f95f6f32dcf9a835a9478795e","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.3-alpha.1.tgz","fileCount":17,"unpackedSize":60595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfvwWfCRA9TVsSAnZWagAAzLYP/iyUuEO0RrT1zuti+Xzp\nPepL+Y33JIPWhsxknS3/8BIi0uVcg0ZA6SscU9uhOSAwI0RvmYmMfQ7XdMK+\nOCzVcwzgzxxt5880M200Esrsx2kZdd8F2z5GVUIs+UKHf+ynm1zqIniXtzwm\nSHEIUNiiXmh7TW7cMeMHZ61P7G9J0xfRvYz/IRV1jTKm676UHOF/Mk71bIOe\nnfRvKA1SpOs0aNcaPZ17BpNaMwSubX1LbWT4y/H5L50mY46AcnhLL+yg6lGR\na0kR7RAJeCGm0KJkHhVjrRYcaiw3b90z4E0bpKnEZ8AXU4HV5p4Ocgh58eYN\noc48pY4IbbTFSTp8K0VEbiLZlkkpL9DXLTgAhpkh/S81SGuRhB4RtuNbBbY7\n15VoE/up7OYPsPWivuDajumZXKYz6+d/cfqmgZKVd/1EbqE7++SJYvZI68U8\n+zODrnFByhV9GaRIkHF2t5786L8pRcjBNPOMv2NlOEhmcLxgKeN+7goLkTCM\nuHXgUzmwgTDFhtIP0ibS/Z1U7OBArGW7CdIhhA1u/H27eomGtAPKxyi7cuax\n4sd/nxk6WtgNRXkjw6tMqSzFgfbWx8mkJbjjW92ypoAPJRRov0a/vgjd28lp\niWkmTxV+ll7OhPmEeSPdj0XxcrnmYDRGPVRMTodaVQEQNsASz9iiScimWybU\nCH5t\r\n=t0c8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwSR0c9B94EXGBauyoPzXOEbqkMyRshOtVmb1KvwBMaAiBNU8OExOxtmUB58LiB5DBoWHN0jIT53M+UBiohu5i5gw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.3-alpha.1_1606354335267_0.3260968746780979"},"_hasShrinkwrap":false},"2.0.3-alpha.2":{"name":"business-days-js","version":"2.0.3-alpha.2","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"ee0c3e3b91489865bb33ff774fb6ef6d1816d1d6","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.3-alpha.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-cJZV6XwZXd8G/lfcGGY0SmbMoyVRC3ACfzCNrFjo5cFXsKLRpIuu39E2DNplAOVfmXOPnDneihf3SOKL7QPndw==","shasum":"49d97d9262c3e5d170980aba901d4ff9dc944765","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.3-alpha.2.tgz","fileCount":17,"unpackedSize":76999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf48RYCRA9TVsSAnZWagAAC2MP/A3PiNDVklakKpqEqBO5\netDaFNdIevd0FlnlE0/EAn7uf//HfK4EKYBCfqPnDhcrOGkEzJ6l13+YYTDT\nEJj6WxYaHc4hMTmqpGpp63sGq/DYzVtRoPcV1mXzcNFh+tZMwxdi6IyyS/f4\nQAAKxPWRxo50pgCmV4hNZycCZLmi08TlExOJ+BsmdCaOZ/gTEmNG1ZbaWCO2\n3Gdt8lN6MTFVPn4dj6K2NCw9yvIf5nyOGn98SWkB6C8rzJSybx5HIr+kOj7D\nMTLTBxGnH4uDxx+zUzsb/CwEPXvmYgzcglkw5b2/z4vIE+AQTMFH4ZMobl4T\nVvBeJPLTQdWcewu8UrDdXJiHaG01s3uf0wBV4YKT7U3SI7w7rDv6qUT4eqmv\nHPCmA1hiwqK12KikFGBipjloAlANCRGRSC4ONy7BoquXM4MIhYTFOXMiYPbR\nBwqvm9jbATHdx8F+YuN/vJYGt2cWGS4M90yLrrtkOh9G/NTdD7SGPxRwFHxY\n71PkoGJ63iGHCUtVfloE0Weh7hX9ODAf0thij7VuRSSLD0UDQN41TrZcypZy\nzqMXqnp0BTjPT3kU+gN8TmaoZ0kK/FfNBKdCdeBIrF6cTCTZh3mWMglMedR/\nz3BwNPpbCdu83X+0Bj9cqmeaIphXBVjLwyK3n9Fm8l9iTdqGow00sUX5HbxE\nAd/H\r\n=qLvO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAur8rB4/D9wFpqhunpZg2zOzpDbQgAoccKyKfRalc+gAiAsbi+Fb/up4dpb6z0HBJ6oZdeXE8dtlP3lhmWPJ3YILg=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.3-alpha.2_1608762455379_0.6567525756442545"},"_hasShrinkwrap":false},"2.0.3-alpha.3":{"name":"business-days-js","version":"2.0.3-alpha.3","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Install\n\n```\nnpm i business-days-js\n```\n\n### Usage\n\nFirst inititalize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 10 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\"); // uses public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing public holidays.\n\n##### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\");\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\");\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays(\"pa\");\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n##### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a DayJS object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\");\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n##### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\");\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\");\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n##### Get list of public holidays\n\nTo get a list of public holidays for a specific year:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\");\nbDays.getHolidays(\"2020\")\n\n```\n\n### Advanced Usage\n\n##### Customize public holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays(\"pa\", {excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\n### Note about public holidays\n\nBy default, when inititalized without a state abbreviation, businessDays treats 10 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, subsitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, please consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).","readmeFilename":"readme.md","gitHead":"370827e1b9c79bec2baa8247b530de9ae612969c","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.3-alpha.3","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-Q3Geyyt/YlNCyPXn06M3kidcub3JIdVBVqKvQlR5vdb2wyGd9cVWdzCESyt97S5IqNg+a6Mn7GrFn4GEx+MBAQ==","shasum":"39e272a350b9bc0c650671f5a094de1ce606b846","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.3-alpha.3.tgz","fileCount":17,"unpackedSize":80478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4+TACRA9TVsSAnZWagAA8eAP/AlRoGfj6aKssKh+e0Qt\ntcfo+mub92+ozgEOtnJYKSZPVRfY5+bZW1h1J/cqCMeNUHMRGlmVaUOGpd9l\nrpp/GHgHCnUvtBOd+12i+mOy5pO1E3rBWkM+Qtd10jIthgpoEfOOcyqtyc3/\necHMq8Nwd7yUbMakY/VVIW9weKojlMX94TCLGXUgNAUUsoEyKDzFYtknf27B\n6VFfm2I9OBYiZQ+tpqcM+diYiX+4Ks4e1neZ+p8Y0X0/Hc40WbbUGmOoX3NL\nxTJaiXWXJV3vIbhLKJoXIUqxxrX6MCqdU4oax+kfJwQ24gVA/Reu0xPUd5zx\nyrlC6uNkwg4U0O3HXQzQqDhN2aBHze72ZjCCcJw/ZQlBX6Hkmnd0avIigcFC\nALX8rFp0cigmkawIxWKyEubM5bINy1/wP3tr1so/bQoxMgNRe7KG3A7XxT/s\nPYu2Ep5lIGrfMQPI4nf9LhneROkO0V0yJZSBy0CUWiUUR3bPY/RiPDOyV0P+\nmkmTgYnXmHKIlE0oyd+hW46C+zFFjZhvTOQ3j+BhBp/FsSt+1LpXI2JJOWOs\nKDcsYsH+w77LdOgv48297oWyAPJrtrh1veS3HEWU1a6w9inp35p28w4gYG0B\nsRbRYGQ1e9uwqYLTdLypSLvcANcAEIorLtYs9UhEOZ8cDMOfWOc0t1hU5D3g\n68vy\r\n=bj6P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH33O1XzmA6pYyrNvpU4hzVBWM2UP1GBUDxiB4TWxX94CIQCuyf3TBLORqEtRMUSYgMj7fGUzI7t3jyLzWRRNyGolHw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.3-alpha.3_1608770752392_0.30656666375488184"},"_hasShrinkwrap":false},"2.0.3-alpha.4":{"name":"business-days-js","version":"2.0.3-alpha.4","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Install\n\n```\nnpm i business-days-js\n```\n\n### Usage\n\nFirst inititalize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 10 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // uses public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing public holidays.\n\n##### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n##### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a DayJS object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n##### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n##### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n### Advanced Usage\n\n##### Customize public holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\n### Note about public holidays\n\nBy default, when inititalized without a state abbreviation, businessDays treats 10 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, subsitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).","readmeFilename":"readme.md","gitHead":"3650ededadb6368781b811feb139ef636b584a64","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.3-alpha.4","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-wHrX0PJakLTO26ArxB+XnV0VNOAfPyi1DFXH/wofY1dUzx7+4QgWF30YtVVIuDQCK8Du90B5PLAoqD12oZQPKg==","shasum":"90548cd23cd3b339f681a06ed27bf809dd33c086","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.3-alpha.4.tgz","fileCount":17,"unpackedSize":81757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4/z1CRA9TVsSAnZWagAABjwP/36IAgSJtuiA/HvUhtJi\nAaBR6NLWR/QyexGJZqUVUTQD48lUWazYIelqoE4yrWnnZQ+WbqBcYlD56Z9a\nd+MxmR/aise/baxkwd370Pn6P/1iGvFte2xv3uJtMcdqC6g9qV72vHv8wz83\nZcgMU59eJhf6tYQZ2RIibSWfEPLisTaeY2NrFAD2af1FNV9r1QdE9z4iizOS\ncAhggqJ8ils217xmbFwab35UanVWqKK2pUnMaB+dXXQGJdAHcOLC4AHlHZBZ\nvqJeadQulqL7VM8t+gj6MyJWCIuVAsYOVLmiuZV6OwVpqMSjziJFMwzRA3TG\nNOUPxrGoevC0NAyo65fKNYFrGC3F1ggysV7qyAQnOIQVL6gXxOvRhpVnp4Be\nDIaPUSLzrzEtl42a1Gji/O+amWjrtAQ7ATog6zfVIVcp8ubiFBgVMV0r70dq\nQqIkmTull6sb/tB56g+L8h1nDet5FmoeKU3bmGLe2VRQ3etLTrOJBoK1CHU0\nf5yaAFhZee2vUkHEQO4GmhDPtIV5hMAui+2pdLj6phMV5m7U+ZoXMf/iJNkx\nsFklBvMTeliJeLxyJzT/HxKy8L9zgfehxb+CwScxL7xWEUnEa5zFHg1Gg09V\nvhfh0wo7w5artjzQomRY71aMNl6DBWMKUdH9VbqIqAIMMqwfMWQzht8vrZcs\nWCDw\r\n=+2uZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3jPoSUArEvnTwC/EXLnzwyZtK7AZt5NG5vfmpKkiWEAiArEOnKZsSU1A/8JcKrUrE2MP4XWKrUWlZPxh16FaUXuw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.3-alpha.4_1608776948527_0.32074894889580197"},"_hasShrinkwrap":false},"2.0.3-alpha.6":{"name":"business-days-js","version":"2.0.3-alpha.6","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Install\n\n```\nnpm i business-days-js\n```\n\n### Usage\n\nFirst inititalize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 10 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // uses public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing public holidays.\n\n##### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n##### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a DayJS object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n##### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n##### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n### Advanced Usage\n\n##### Customize public holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\n### Note about public holidays\n\nBy default, when inititalized without a state abbreviation, businessDays treats 10 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, subsitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).","readmeFilename":"readme.md","gitHead":"56941595981948ab3d7f9a48ecd3a63c5df64595","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.0.3-alpha.6","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-vfZjabzqH94g6k7pYpqOlFhxP7+4aBgRr6OgFmY1dOI0RkR0t0fsPiKkaMo658JeFMCHDKtuDORY6A1BfB0RaQ==","shasum":"05b9082b05ec929f0f96debc3f9b0adcdaf64b96","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.0.3-alpha.6.tgz","fileCount":20,"unpackedSize":95698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5UQCCRA9TVsSAnZWagAAVMYP+wUjq+SlXzKO/EE0uEU+\nwmViqLi63neHV41nBwNQDx2sp1hxVPVcqqv49/Fglrdyg93oqhqWx3XYEBJR\nYc29xc5dD/O/5RySgapuP2Kk+qEjJohYlOHpaV3wYZsMkC7BQAmuziQUs4x6\nQlhm7WkT7Y63WU96k80h08cee243waG67X7OlGKMDQL7PaMmeeywalg1g9tQ\nsRuTPb5s2p740QeFWABewhGheHnW4hETYCD3UMNBsYK8/n3Fzm5c5pjb/vOO\ncHyrPb40PkvNFPnL2Q1wt+FTaDxsScfRX1oavBVPXmmdfCzBoAIgJvJqyQBt\niFCl/O6uCzK4Ng8l8IaECenKETOiPEtw0u/bfvqOAFDSn+IpCuIOwsbSPzUG\naWbxVtv/AXC693IrKn58p0BnzeQSHU11+BYfdMqfUQiaaR8NK5x9tWNsMkzS\n6L/uLgnRBDprv9sPAZknY2HvCaXiMDpXCqEI8DqIuwJQIt1NeYYo2K1hmFDL\nwasq/m0l669Qs4eOEHrHXCbK2+rcr7bMdvemAINBVgPTvoOFXozZx51e7nf4\nA5lqb+k0eIltDXPHyAPuCiyYjolBDq1pSp2ELCg2LntgrEZwUpJtTLHBUOID\nhaTIkB129D7uxrH0DG39Iu1IJoB+fDFB2enUYK3w5dvKCk6l9GlCoyHMTDMg\n5/oo\r\n=JHzF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4Jo2QiGUcT8PBu/oc1wdFE093aEdMc3U8pFONw4sooAiAB84RdUSPGikMj3F1itw5+KeBi1mI2q9wEKeXhdLFsKA=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.0.3-alpha.6_1608860674031_0.5646286409625199"},"_hasShrinkwrap":false},"2.1.0":{"name":"business-days-js","version":"2.1.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"63a631d5eec5200ba60e2d8431adf16a6b638ef7","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.1.0","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-9ZO1E3Rw22s8fKm/gxljrzawZM1y/gxllk9SB4HYSrvxuKymFotUIie1Yc8OW+wc+ERUwalRMPS/OHV56cSrjA==","shasum":"ce05c4ba960185f9fdafe27fd61fa8185698da10","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.1.0.tgz","fileCount":20,"unpackedSize":95690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5UVSCRA9TVsSAnZWagAAPx4P/1dcxb37xaEZq9b/05zB\narShaXNTmsLS764bgZzrstZwS7cR+OgJG4hAhBHsiwY5NcfudPNY4gPT1lxu\nlwJ4/0Njf/hQHurQ6bTg+GY3P40uUOu2xpboBZnhIt8Zh/evwhbBBHRU7bQo\nbYBGKTX6ryqt4dv0iFBNxS1Qe7WCtmdBeCqPp8NPkLYtbCeL//8Bm9YcR+B5\nnrDxW7OilsixD5AeEhwBNuMyUW2XIhEcTev9R/0njc2/JpQx4CdKT2FyF+aY\nZ1QJtjBM9O41q9MQsfSLy3eT4KWHN/vvo4NI8T7HOpSqtoLljxufU4QDC36o\ncccMAgzVnIBOcVKAmyilG1Hk1pFw1sfHIcUBfQ6kepdmt/UBiUQXOQup2lU3\n9v7erJl9COnCWEVrCS4j5xNP9i2f/rQqTzaVtTS6sWJSy4BX/SmDY6Bx+3Vp\nVYjDKXZkFgxhHpqB4U1tryU5lO3NH7IiCfJE8blcn8/I32s6qumNYnWG86cK\nW7fUHhp5f9WUdGX/Fbs/XtgjHvpTGUlFajN3Q0xKtRnoqSRJwPQ26mvDnJqz\nzrDW7Vsto0c323kQwHRF6fVNc2CnHqXloY5gbCk2iWdtxdcwrBR6CTYSm63d\nLmDC2B79NYPDtYF0eURLQ1xu1JD1ypEsLNyMpzsQmbG1Y1dqvIunrmqbSKpJ\nFOtt\r\n=DET6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF51U4q5MtmWPkQ13EYIMqynGQs8Wu87zjdKYwWS1NXwIhAOQ+qHrPtyStYw1Vs0Rc3/NFptaNBxu1diy1tPXTlcEJ"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.1.0_1608861010143_0.03934948101569313"},"_hasShrinkwrap":false},"2.1.1":{"name":"business-days-js","version":"2.1.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"711e8e4af09bfb0c57ce2ced7eff5ade53389e89","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.1.1","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-S8Y0g2Xr8mB6JOQ3FlLBQt1j97nLEbADDyJ1Vmt8umpkzQ4ydJjwgFUBP1w9tBiC5hX/VMiBNNAwAsvO6X8lzQ==","shasum":"0926d0ef073b86edfc8c0da3b287d4e22d9f1752","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.1.1.tgz","fileCount":20,"unpackedSize":96324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5UngCRA9TVsSAnZWagAACwQP/0JtRR2v+I4o+ycsMF3R\nLgPiHzs2KZY3r8iCS6xyUnqGVcywE5NghqnZPh34/aV3Za/bRHfKUf2b7bxB\n1soNphUhA+eA1QxHBaPeyovNfJPSl2Hqly0l+c9gKTo6ErPblIfnjAkonY9D\nqj+ezXhgIww10sIkUeL5dbk/RVNjPVuh+Nd+mIkFpZ58hTd4RKK12/rm72j3\nksgR7Enfx93gzMRZPVhSHNGOCa60jGZjdTJ2x/KWib6IZIGxJ8N+NidRI+r5\n+mw7Z7uCoYcTNX/XUkU3GBYVXbmidam6bODW51cpUDxDmV8nIYu9CT8QmQSR\nnCGtJMALjlnnjLtWG0VOh5yKTg3P5SzYV2ZPUUa/lGWKRkAdvlisR4W6l57O\nBoN+B8XfhCF5fOzLBCQeLdYWSPMSCJFBBo3RkEGqqI0OAJqLiGfdFfbGuv9e\n/5r2x8vgiPN3lkJAqAlkpSf7El9IDREcjcXO8gwD6kAvl25SNxkkZdvIXH9Q\nS9nBGJSfrk8eetUpzzWMsFTTxb2BM0hsBbkvzwXX/A7g4FqznfhY7Bmhe7Oe\nSWfh+R/TOAiKgibNDO2kQdjLXeT6I7+RkO8y9cCtXJzgvzLaxNta8QyAsGcw\nAZ2JcykpjT1M/PVHKSR+PrkzXbft+q+7vLvbN1tA/QrJgA1hceXoBiratM3j\nyUxO\r\n=/z6k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBaKFecgluCldGXapTx90WHQhCQ4KbQ7fZVnTxht1QYNAiAJRGN2LCThRT+H+HTz2ETMTwQuoTSvbHagwpkzaes1Zw=="}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.1.1_1608862175841_0.917621745333409"},"_hasShrinkwrap":false},"2.1.2":{"name":"business-days-js","version":"2.1.2","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^1.8.3","dayjs":"^1.9.6","dayjs-business-days":"^1.0.4"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^26.6.3","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"fc1f8d3341a73993e3f5682474208c1d52d4e6e6","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.1.2","_nodeVersion":"15.3.0","_npmVersion":"7.0.14","dist":{"integrity":"sha512-CZ9JZQkbTeA4m+oZc7SA3X3J3PwzVEVQJGyj10II+n5hNNoYkSF7B/GI5/mjfYiS7XQAnNh1Lpc21bCaJa2wwQ==","shasum":"8f41b6345612404e81d9104b6ced07210032cd0b","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.1.2.tgz","fileCount":20,"unpackedSize":96291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf5Ux1CRA9TVsSAnZWagAAd0oQAJQzV9g4N0JfBgD7T9xN\np/053nJukM9Ui0PTwKlAZ1Pc+ZzJG2hreJ8YXzP6c3avlIaqPR3QbDfRWhFZ\nzTEdgbeTCQlBiSUWh6nV9ZN1DUwcn80xWJe81v0cG1Y5lPgHOwvtD3Fu/gfk\nWlm5gRjZereuMv/BeMx2fnrPsoQd9sFq7+lRjER5kfoMho2PdUF6lFW5WkdD\nrSMgBrguwhj8blgJrCSDipcYX0o5PO97yGQIWKJwqDGkvkndvurlwSuyoQ1U\nXosXk863ozc3aV6I1qj7MBh4n7dDijoUPFqrfaJutGmCnSd8uMEC9JDAguRz\nVkqJDw8hQ17VyVJsmE+3KNs6UsmaVcV2qrs7L8iM6YqqmJ7S4Jl3VXZdP9Ee\nDUHj28LduP05ePS+wY+PZpQu4iWOw5bAE0jddnSdXxJBcbzeH5EAA0pK9Cta\nwJakQNhI5xUpuulicizJK8xndvgvDRKKe6yHCyQZKkbaChQ5m7YN19MZf4st\nw2qmwT763Q3LUAYHMr+dolVJkkt1mXUEZH63zg5w+aJllQ6Nx8JPezG+DKxF\nOHBKAjP+neIJlNDhhZetv8oyXuBzX6fRZotalXMp6Gz9dk7hknYWzBu2Faga\nkHAIToCPnduaR6t52Fq3QjFvOFj1DfWBZCWYnIBfZLFB6UuXXw6NsmqVDfzs\nm64S\r\n=IrUv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlHLENk6DWDStRz/yWTzdZd64UaHrBLzdOTkE4LYYwGAIhAKxue3Z8w1Y9d0HDddUjKf+tRqg4H1+rZ82m0/81l7c4"}]},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.1.2_1608862836472_0.8905728250031579"},"_hasShrinkwrap":false},"2.2.0":{"name":"business-days-js","version":"2.2.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","exports":{"require":"./dist/index.cjs","default":"./dist/index.modern.js"},"main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"4b2c980ffc2444f936385ac4b000d2f5d16fc04c","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.2.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-dJG1hZ1fiQApcLKjAEI8osq6yvA1dA0OX/a1A702MqFs53EZZZPm/9C8uIMf4JPbjnmIpewpkTTzbwnPDwO36Q==","shasum":"d5158fef704896a0cbea22d9f3d159075db5cd66","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.2.0.tgz","fileCount":21,"unpackedSize":96700,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA06BpLYY/Rw2pWytChb58XPnZkxh0Dxg2xA74CoiOQ7AiBoASsXtQmMu9H1sGFlCEdGhusykNh3RkRSdPgAe1r9bg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIE2DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPZQ//QtUoMXupW1NhwwBOuCMM3qSZbGBihXlc8Xo1E+A6Dtd5WWl6\r\npvevVpgRrujAg5IyMY99BCb4tsJrRx3KBei2ynqQyxBW/sht2JI043QN7S1S\r\ngvkHyw+FXu2jvMYdkPLfG9YV9Ac4evNyeJ4Tr2qrJhxe7ukodOOCFk8AKwvg\r\nla4HrmnoEAvCW3syGJduoCI/q7vXdSLpOCmwqjTfvnDHnErSioF6DFDOg4+V\r\nFvhDXjLaPZd5wQo3BQGD7LkxjNDvGYOcmfgT95NwcS3r9N8ym2yNbdXzihEz\r\n+HF8N1pAvV7VzMoPCTl5ZlEhCinNGJ1/QIjPYn8IOlMD0BUUTdhmCDz7ziv9\r\nvRKT6qE71QKgxtuX3YbURRxduY837yjV205S2zz8RVUN/5C9ZylHnwrQAD75\r\nvQ9zd3HeawnNxMm280KfReqPjPFhTg1ou2GxppmRYmi8nL6pK3xbZao4bx1n\r\n99xVhIiTxxdNBfm6yDJIzwlDqR2N9nFiNmuH7XCqnGzm0ND4tUzZcb3akK8G\r\nyW1yqGMMBqYm7nu0dUmqhdqa1uCoKxFNNx41DgSIovoRZH6i8tm1UbVaxecG\r\neNeNa4bwysGEWi4jU1IxScgu6kuDj/2Pi6A+k+72G+yMqmx7sHEO0MjNdbNi\r\nccUFYjBumCpLZSNWlhIMLepQabIyVbl0ITQ=\r\n=JnoN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.2.0_1679838595075_0.868651171842618"},"_hasShrinkwrap":false},"2.2.1-alpha.0":{"name":"business-days-js","version":"2.2.1-alpha.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n## Install\n\n```\nnpm i business-days-js\n```\n\n## Usage\n\nFirst initialize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 10 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // use public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing holidays.\n\n### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a Day.js object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n## Advanced Usage\n\n### Customize holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\nYou can also add custom holidays to to the default list. Each custom holiday is an object with a 'name' property and a 'rule' property. The rule defines the occurrence of the holiday based on the grammar of [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n```\nimport businessDays from \"business-days-js\";\n\nconst CUSTOM_HOLIDAYS = [\n  {\n    rule: \"02-02\",\n    name: \"Groundhog Day\",\n  },\n  {\n    rule: \"06-19\",\n    name: \"Juneteenth\",\n  },\n]\nconst bDays = businessDays({\n  state: \"pa\",\n  excludeHolidays: [\"christmas day\", \"presidents' day\"],\n  addHolidays: CUSTOM_HOLIDAYS,\n});\n```\n\n### About holidays\n\nBy default, when initialized without a state abbreviation, businessDays handles 10 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, substitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Notes\nIf you find any bugs or have any suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are welcome!\n\n### License\nbusiness-days-js is licensed under the MIT License. See the LICENSE file for more information.","readmeFilename":"readme.md","gitHead":"33f8342b6dc500deb50150be65c1883d343717c3","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.2.1-alpha.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-X9xxhfGTgsDi08SKhGJMf8VgBGPFDGGI1IZgRzmg7qJizjSFQFwJI455dV9qYYCp7PnsaYlCxI5WNJDxzfF4qg==","shasum":"7f7010b392ddaa40121aee073176382a18f75be8","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.2.1-alpha.0.tgz","fileCount":29,"unpackedSize":152716,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIClbl7n7WMm6jXey7AujlvRV683f83noHfo9OenamJUXAiEA06o2v1kv6KLn7SURdDgWjPQEXRtY8DjH+95rD1WYkuM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIFMlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkNQ//a/O1GZJP88L2FpmjClweZEpS0lej0/CYbH8tnojQ3UtNmvXI\r\nh2Zgu1v9woLYc40Dj/RKvLOeGb733rDXEFkexnxEuo6l51lhWfoYTCGHv5uN\r\nx6lbnQnY3TBDRo37s6dxIqrH4c7qyxp836XbCqJNhKnWXJ8C//SqF2R9zWlL\r\ndsNHg+VRInaQKSFT41/jcj2ZHsf+2dHsPiMZWBSo+YNtOghDXkRpkuGmwxDC\r\nMKUaxG4RsjlpNRv1rLJ5m8qbMpOGkuRzH9l6zo9g8vjemPcS3Q9chmZzOwsZ\r\n75+SegXBKwMSKYHwZ0xey/t3lIByi/HMgx++UrsK8DjhfkpdZPveC3TcUteA\r\nI2t+t+yyjdrOO374bPBFH9qrk14pmV38YENrWLVs2yh887prXKlM0sju5SXz\r\nh476hYmCrVz1Q1bR2207l4BjMFLhIVQoLxvGcLx4vxOrRYlht4KRKj0f4VRJ\r\njaVlOrUjIpb9bucp33vvR/s43dseSPowQFCGQ3tv7HgPenozlsrL6aPWHyzG\r\nIK+3PZV34uXvpfYWFeD3e+jMP8UiLXA6RgYZ9PMOFme89O6bkt5Ix/a5Xmkb\r\njpuVQTmJ0K5kCuJ6uuqQY2xemR1gJqXsVIFtjVKnCsZUn+il919HiRS51Tw8\r\nlIxky3UJPKwtAr6N/irhezy6JCJIscEtevo=\r\n=C4ue\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.2.1-alpha.0_1679840037500_0.21569001018992373"},"_hasShrinkwrap":false},"2.2.1-alpha.1":{"name":"business-days-js","version":"2.2.1-alpha.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n## Install\n\n```\nnpm i business-days-js\n```\n\n## Usage\n\nFirst initialize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 10 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // use public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing holidays.\n\n### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a Day.js object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n## Advanced Usage\n\n### Customize holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\nYou can also add custom holidays to to the default list. Each custom holiday is an object with a 'name' property and a 'rule' property. The rule defines the occurrence of the holiday based on the grammar of [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n```\nimport businessDays from \"business-days-js\";\n\nconst CUSTOM_HOLIDAYS = [\n  {\n    rule: \"02-02\",\n    name: \"Groundhog Day\",\n  },\n  {\n    rule: \"06-19\",\n    name: \"Juneteenth\",\n  },\n]\nconst bDays = businessDays({\n  state: \"pa\",\n  excludeHolidays: [\"christmas day\", \"presidents' day\"],\n  addHolidays: CUSTOM_HOLIDAYS,\n});\n```\n\n### About holidays\n\nBy default, when initialized without a state abbreviation, businessDays handles 10 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, substitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Notes\nIf you find any bugs or have any suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are welcome!\n\n### License\nbusiness-days-js is licensed under the MIT License. See the LICENSE file for more information.","readmeFilename":"readme.md","gitHead":"1b1c7af191a32850feaf3c9ecf7b06160e62554b","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.2.1-alpha.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-virFl5+k6T4rNHOXeTD6lChakdw+GaQ/S5Detv/D316yV9xZgobp632fTtPCmqehZOGWFpgbItQFRqNj6lc9Tg==","shasum":"9ec8b3a34fa9c1bbf528afdde82e558890e7ef30","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.2.1-alpha.1.tgz","fileCount":21,"unpackedSize":96613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID2f0rb5z+FYDPUBxMDI2/xc+88PHZsz3tOLRmdH9ovoAiBWIQNU0jfSDkbTuBDUOwHSUcPeRLPs7uMl7VqDRvuNCg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIFNgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYvQ/6Air6xHh81sYFXGzETc3duGmX83pcuugvUpvVwyRPIQlxM5XY\r\nyiwmUNFa/b+BnusvP4Rsv6xGdXLWvZYpohBuKQrqUZWgfX/x/rgUEHVKkuPK\r\nDOcLwADGMRVigQfX4U7+HqBD9dNJOJZT3ifeO/sP1C9uc66g5HGvf9on+zwV\r\nSwfBHNx0urJjumj3dQYu+e1EsV/tRNDoWd8qA5SpCF+aKnf1CJL7bFJ3i0Ir\r\n99c9/bygMs+F2aihcC4tyUMR2JtLJew7wp8j4qEAMLVadTqEKWw4qapz2819\r\ngNZCZ1Nm8sacZF2Hthlg7ECtBo6zXxDoUX3IqKCb8Io4BW62Qbul8gf2kFzN\r\nQ2blkqtl7m91pcVNKovTv/9TIYQ+3QA2lIR0yiOs7d+dXLGL0PogLsbcXQII\r\ntqsQCQCeibRoaXDoUORRvDg908ZNPwVcS7mYWrotFSUDNha8kV25Vj408Jxf\r\nCWIDr5cRCIPpjp6hQ6OxS7yBwaY8wzqaEgphUTs7I0Wkgdmx6cZ7bH6TWSyi\r\neUm7ZLwhHxGgJ/P2/1bjiBS+JmbFri0fYH/ZrxEyPi+JSWz9Ox/9jgMmysv3\r\nFXDRXu8y2HhoolzfCrZHejmHF7or7lyQTaU36BMbg9n/MPKvBZsq1HsDs9Th\r\nj1utYx9UjVoJOpLzYdH3QuoEdnpNV0V6/H4=\r\n=YlC4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.2.1-alpha.1_1679840095851_0.321680550530528"},"_hasShrinkwrap":false},"2.2.1":{"name":"business-days-js","version":"2.2.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"b47ea5eeb774ade81d0f5b9754b26a5368550102","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.2.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-xMf/X524uMc5SbcAVY9+r3IvJVj4DKr4m0dRCr1pdTG2wU7Tl9vFVOk1rYW2Q2tUVVaQbTirm/sWKwi+a9CaXQ==","shasum":"b7067689ebc3a28db3a25c699c050034081fbdd1","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.2.1.tgz","fileCount":21,"unpackedSize":96605,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKdLCKv8FW0WjD8XwYg+Qifyr2SBkY8X6RtNQPKCYF2wIgD7lqaB+2FJ/mF42zR/LxwGOU3vJj9cFDTySyILVrDHE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIFXFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzBQ//Y/kdmkJQjFVvreUFZ6ijnQmX/tx6ODCPNkSBZYZ3E2L3+Gv/\r\nh/GctvDMRvQqeKg5F/bbRxCqtQbx272yNYXjLgJrgp4OmEvJHw8CCbBbedKq\r\nPPYJdzPVD/6SB8nFjsecLCcvHrc3K+NUNFVaIGm/mkPDRoZ6xngwEn+dEdEk\r\n9s0Udmz5jW3YhEFlxbeLtSbgczTKJhTEV1baSGPAof9j1jrYhOI4aD77Bz3c\r\nr+Ug8OBeNClZmsBJHoFuxu3UZV4EBPplhPxBv9C8irFEghmeFSyNMl0t2dCB\r\njyjvbtvvVgzU5NW5EGN6HF3JnRqjtQR5FMFu38vYLv4RIMcD65r6AAn36TV6\r\nVxlbKhhcNkK4cftK+bXxkkXOQndoxMxNELogA5Ptw4BTTlunGDwROeS0kJr8\r\ntE+FSQRWa5+pxru00/Pwd8o+fv15bbzn8PKrFS4CLfIHfzghfce2fond04yZ\r\nbpigSP0t/D7b6UuqsTVl5Z/qr0w2vf+Bo5S6yyPBUOPcfkYRHQakCr2LWYfI\r\n7UWF83UfPyDiNqoe54ynTyCH6SCCeQBUZCWxsIWnV3BLUnTX4WjswKMaL8RC\r\nQNZVf9/puLsf2l/GxNt/W7BvL4xx2fyDGc8umh4v04CzCSPYugjbL3cXBIC3\r\nykHEIF6QU1qHSwA7xwlsoAZw694LeV3Mrhg=\r\n=IqBO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.2.1_1679840708902_0.5830178100610879"},"_hasShrinkwrap":false},"2.2.2-alpha-0":{"name":"business-days-js","version":"2.2.2-alpha-0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n## Install\n\n```\nnpm i business-days-js\n```\n\n## Usage\n\nFirst initialize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 11 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // use public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing holidays.\n\n### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a Day.js object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n## Advanced Usage\n\n### Customize holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\nYou can also add custom holidays to to the default list. Each custom holiday is an object with a 'name' property and a 'rule' property. The rule defines the occurrence of the holiday based on the grammar of [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n```\nimport businessDays from \"business-days-js\";\n\nconst CUSTOM_HOLIDAYS = [\n  {\n    rule: \"02-02\",\n    name: \"Groundhog Day\",\n  },\n  {\n    rule: \"07-15\",\n    name: \"Saint Swithin's Day\",\n  },\n]\nconst bDays = businessDays({\n  state: \"pa\",\n  excludeHolidays: [\"christmas day\", \"presidents' day\"],\n  addHolidays: CUSTOM_HOLIDAYS,\n});\n```\n\n## Notes\n\n### Holidays and substitution days\n\nBy default, when initialized without a state abbreviation, businessDays hnadles the following 11 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Juneteenth\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, substitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Contributions\nIf you find any bugs or have any suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are welcome!\n\n### License\nbusiness-days-js is licensed under the MIT License. See the LICENSE file for more information.","readmeFilename":"readme.md","gitHead":"64758ef0c633b4b3dc846cd698f97a2495c86be5","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.2.2-alpha-0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-Rmk1rRRwIvanu538OPUxoYEe6JIZ++SE+N5vf/UQfBKCl2h+hI5wT98zL3biNRE4muzEHc7SQu3M/JS7Mb/KRA==","shasum":"a501c6ee0cd1388672f8e7c4fc5238bf9e67f390","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.2.2-alpha-0.tgz","fileCount":21,"unpackedSize":97548,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBbya1xaz1A6xH4zA0BSB3fBlpTd73YOiLlbW8cU1VRLAiEApkzvPztEeYkP/gDZGraAqZW2zdvdogpSKs4LUuMsi+E="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIJZTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqUJg//aEL4nLfW82DtTqR1gzuDIuqevhOXlaasgPlBfsGblHOq2tdI\r\nKvsR0WrHTS0D2XQrET7s0CCQ8gg3EBVyRrSx7ovUO8k2V1qvRveUZBxG9F64\r\nJf06yEYE7WqG+3qirBaNY+Mw1jKU75X8IDyZNJjeWg3EWowuid2Uk/ukXPxS\r\nrzZLmlZimBVVnjDgaBe/iJKiPt1gfqOOhlj7Kmcm0WhzHjeyaP4IhyPnkQRm\r\ncI8nArm9qOF1kdyyG8xxVtgv4zYL4rD5LFc4QUGMswBT7Todc52AuV6J5444\r\nBJh9YXARyMxnQB08Nsp7cMGxtRJcYMXBrtl5vZk413YmDue2dZBGZyNMH3pC\r\nv5qaR07gOW8m/WBUymmxIdHMzbJPl4HYhbzBbtBq5PXQEskByJyTuPOg/afa\r\nz7uhMa0ke1hsQVVncame+sVaaZ5CZdKYBiQIGu6DDTfzc9JTjO2IXKtNIoRC\r\nReVctc1l4JwiE0TOtT1OjnQ9IjzCinkUir4JAJoVNQXUW1XDdQpNLxm6q0og\r\n5p+fGoAvnjaEuPP6p6iMAfJ6YVM47jb3tXejiSbA0zX7uUBTGfEolABoQXrM\r\neJ8Icqr3ft2m/NGlXwS5ykAtqK+E4fx57MGphhI8iVQkSI0Fyo2p5p6ro+Lb\r\nJz+EKNGT8onngUJfHSaeGaTxl+rzkC0gORY=\r\n=jnGL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.2.2-alpha-0_1679857235620_0.688610776941667"},"_hasShrinkwrap":false},"2.2.2":{"name":"business-days-js","version":"2.2.2","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.js","main":"dist/index.js","module":"dist/index.module.js","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.12.4"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"5a2e45a53db5446fcfd1f04ae033dff0e5f3dac5","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.2.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-TurqLMWDyT0eVoFxotrVI/CHZfQiSv7+sBONe/u2B+i20l7qgFhlxjUKa/GG5u3VpAfUnNcmuFHZCguY3u7Z+g==","shasum":"6bc747d1f534fa4323a212b238c0279c3ef28c92","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.2.2.tgz","fileCount":21,"unpackedSize":97540,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOvx3pp+FJLribmTqgFEyRK7tgDl2sPmz2b6tuhFhU4AiEAj0ug+JZ/DkMAh81D1Kc9M5JA3TFt/7Op7rS1yyfWfZ8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIJbtACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPXg/5AXdH5TZHr/qRW5bZ8DF8c5PQadhA9Jn8EZG2jbAzWwmeRbtB\r\nHfv0qJaGZbeExQooLXcV9pQZ7Prpvdaz7qdJjrLzVaHBkhluRSPTcyDCEta/\r\nLIBYFeldTlFAFJcJ2D+Z8CxzfZ1vF6yh5RBGgM5XHHp+igh4fTx6faTsCzDI\r\nj9VjKCcMfBF/fvPi7qtG7dvOQy1xE/qajCjlPLZYkMjEfL9zGl2MJDuOxM5O\r\nZq67ANJWF7oiNMP1/Urknjy38vuO7yi9FKX8NKTeBPlw6cYRo7Kl5FKaWc2M\r\n+5nR6BzElSANIXtyUUntwzmeYV+BYNNUWCwQPN6y3RU6afur5jgCEOs5WD1i\r\nQgO4S5+KGBunjjwo8su1gN4Y+yMLkrNUHsURQQsIp/o0Dij7XQK7MDnZVn8u\r\ntLSuqaXCwPb6yS7ViZIbb/fBfyOSBE3eFu462G8DA1heXxVX+x0HpH/ENV/3\r\n3BpLsxnwu8dTIoRMbI2pDPU9kKojXMOnhiTPB6hS8S65eIf+P/BdVxLVcfA1\r\nhqbdJA/ArRu1T8bA0q/QSZ28iW3bLPbqEAnMdhGA8R10osN3wZD56Xz5BrdJ\r\nOwCoi/7hvquE1IHAVwJDiH1ohTTpVNaKKbjwTFglxDk+htc9Q2AWLbPNCRPN\r\n1BrrcZIz8UNrYGjhaTR382bTfPC66yEktk4=\r\n=F63+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.2.2_1679857389025_0.11687360763498034"},"_hasShrinkwrap":false},"2.3.0-alpha.0":{"name":"business-days-js","version":"2.3.0-alpha.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.ts","main":"dist/index.umd.js","module":"dist/index.modern.module.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"@babel/preset-typescript":"^7.21.0","@types/jest":"^29.5.0","babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.15.1","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n## Install\n\n```\nnpm i business-days-js\n```\n\n## Usage\n\nFirst initialize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 11 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // use public holidays for Pennsylvania\n```\nConsult 'advanced usage' for more information about customizing holidays.\n\n### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a Day.js object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n## Advanced Usage\n\n### Customize holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\nYou can also add custom holidays to to the default list. Each custom holiday is an object with a 'name' property and a 'rule' property. The rule defines the occurrence of the holiday based on the grammar of [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n```\nimport businessDays from \"business-days-js\";\n\nconst CUSTOM_HOLIDAYS = [\n  {\n    rule: \"02-02\",\n    name: \"Groundhog Day\",\n  },\n  {\n    rule: \"07-15\",\n    name: \"Saint Swithin's Day\",\n  },\n]\nconst bDays = businessDays({\n  state: \"pa\",\n  excludeHolidays: [\"christmas day\", \"presidents' day\"],\n  addHolidays: CUSTOM_HOLIDAYS,\n});\n```\n\n## Notes\n\n### Holidays and substitution days\n\nBy default, when initialized without a state abbreviation, businessDays hnadles the following 11 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Juneteenth\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, substitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Contributions\nIf you find any bugs or have any suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are welcome!\n\n### License\nbusiness-days-js is licensed under the MIT License. See the LICENSE file for more information.","readmeFilename":"readme.md","gitHead":"aac008b19c603330a4497482c7be5524e010915a","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.3.0-alpha.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-elQH1eLyeR4oYEYbUjMoFgEUw21HrT4SbmtMa0QJm0TeqviSIQjNF/rEYI1gOo91SPCjn8csGsB32UgsiiH63A==","shasum":"ca84d49e5785ecfb1520c415d4f5042f6c8d4cf2","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.3.0-alpha.0.tgz","fileCount":27,"unpackedSize":116017,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHz5y65GkAI1bfv9H6LwOSy4nT0qAYz1piEtau764qa9AiAaN4VaCPmpA5UIBdX9LWDS2zflufdAcJ/y4CCuqi9tuw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIZhCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrrYw//QUvbbqZJ39Fez44FEVZ19yCIrxWn7jdwK8REmYfGkQacvNeD\r\nCENGMrX4slH20SvfuBkBobfq38FTiRZ3TkxyRz/zS/g2sMaxXA5odqKw5WRe\r\ni/MQ7mEOikpnV7az1sBCz/jdcXpA8PlCWgi7Q1UFx3YowlFgOqdEQdSxer3m\r\naHEKKutEglh/eLxBtquPcEyF2sbD2GDyygEQw1ptyt13Bti8HnRqC5jQCy1z\r\nHWv1K6QhEgoVDBdF1TZxBP2RqqplTh353uK6GjyCMhe1sP7uHG56hSId1WN7\r\nCWxFYbQCUDOFAbkhmfU/mBb4dJXgViiPKHMvlGHHzP1J9uc+9jrm9LoBO5rg\r\nUELaqLjyG+uFUTch7Ui5GxHfkmme9Mp1QKgZ3vC74vjg3eEX54lxKvU76VAm\r\nN6dJyyHi6nipWtDe3TVr8GXkK61xRjPmkq7wBTwx9/ENxlZu+hNKM1nMWtty\r\nUvnV/TcReyMJPmMxTmpTl8yFmR/C7dmacOD1PUuVvIbM+j1emqwovw+NS2y5\r\n9lDfpzb+H+/gjWD0v3pgq4o5N0zuYnsPzrkyRZAAgTudsGt4MhQrEvZrPrrs\r\nwdECNAH5VV2FxPTLC/gLUxCXyQ+3Fk8ea/PH7fE3bjz79wNkO6wHNhcP0A1n\r\nYJ2oKzF5D/AeGqHK26+N/SOXTt1yGv3xNg4=\r\n=ZXh0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.3.0-alpha.0_1679923266555_0.10644478829271731"},"_hasShrinkwrap":false},"2.3.0":{"name":"business-days-js","version":"2.3.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.ts","main":"dist/index.umd.js","module":"dist/index.modern.module.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"@babel/preset-typescript":"^7.21.0","@types/jest":"^29.5.0","babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.15.1","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2"},"scripts":{"build":"microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"gitHead":"1b2838d42c7f070afa9b9978b5bd4bf136fa4501","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.3.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-YFH4YBDaQDyqz89K0DtKkUdiKVGW3U6jB/PBStPR6gd0qdItncRFWGcsKq1WeVLXVaIa6zHOUdatnyHqXDHnkA==","shasum":"737a3461766935d76954a355410b87a57d795691","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.3.0.tgz","fileCount":25,"unpackedSize":115871,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDHmtwzzESwFg9k87SpatXUiWN9qpjktVjuOYz3ASMgXAiEAuG4k2sIXho55DKA12AlIu2tSf6zrI5/T+oIgyxIo9Kg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkIZwaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrYdhAAjMsF+YUV2zarG10sfsqQ/Kz1VMCiczm/hVmcb6bmjfNV4NY3\r\n5JZLFIs2VaIrxsVXqTZ1EoUISRhtmKiis/jLrgYuBbxoCeiLtSjNUjvmnjjl\r\nZYZ+reBl+u2yBtdMs05gtWfU0tnhYfcPNMCxqPkorhT3ZXAVzBRnYu1Bkgv7\r\nLXhqOzj5JOSn+U1TCH1FAJuNIInsGlu8ZsT7tRYsUQeFbg4ierhjzsxiOsPj\r\nkx1aRRulj3RlRp734YbfEFxlLI/18j4IySqji0+xhppIyGYYEk6uWOpNao4v\r\n9T2rPdf0LpmeXZeN+rLAnqRMcJjps5vb9r3GspXurN999jgnuOCz4sBoFiD/\r\nPOb3jIP7/u+z0GA7NatXFbrXlss00AR8Ra2kJyReD4J3tuHDgOjlor8I7RNt\r\nrZ3hJe86JAhXU1/6ctrtOj9TzcUXSKnmoFC9VvTZDEXJ+nYCrVVrVVixIE9g\r\nfEVQ0UBOho6I2HAIz6QDa/lsxGZp3xtH6UdyrLxH63Y/Rvo/AUEIhu/odfzN\r\nWiV83IfITTkD2i8N1ZO1a5whSPz9fczEN1iJKNZG0vFvnSPppdu05idxkE8j\r\nvYV2SwnNsgDj6Gpr3Q+hnVbgCY27rkk3ugDorQ8iPJBovjVsnJi+vSnoEeBq\r\nQS3RUX8lUwkZ2YAn2zuPNOn9KuqDE9xAW1s=\r\n=XfS1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.3.0_1679924249817_0.8925672351564944"},"_hasShrinkwrap":false},"2.3.2-alpha.0":{"name":"business-days-js","version":"2.3.2-alpha.0","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.ts","main":"dist/index.umd.js","module":"dist/index.modern.module.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"@babel/preset-typescript":"^7.21.0","@types/jest":"^29.5.0","babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.15.1","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2"},"scripts":{"build":"holidays2json --pick US,CA && microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# 💼 business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n![npm](https://img.shields.io/npm/dw/business-days-js?color=blue)\n![NPM](https://img.shields.io/npm/l/business-days-js?color=blue)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n## 📚 Install\n\n```\nnpm i business-days-js\n```\n\n## 📚 Usage\n\nFirst initialize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 11 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // use public holidays for Pennsylvania\n```\nCheck out the docs for [date-holidays](https://github.com/commenthol/date-holidays#supported-countries-states-regions) for a full list of state abbreviations. Consult 'advanced usage' in this README for more information about customizing holidays.\n\n### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a Day.js object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n## 📚 Advanced Usage\n\n### Customize holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\nYou can also add custom holidays to to the default list. Each custom holiday is an object with a 'name' property and a 'rule' property. The rule defines the occurrence of the holiday based on the grammar of [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n```\nimport businessDays from \"business-days-js\";\n\nconst CUSTOM_HOLIDAYS = [\n  {\n    rule: \"02-02\",\n    name: \"Groundhog Day\",\n  },\n  {\n    rule: \"07-15\",\n    name: \"Saint Swithin's Day\",\n  },\n]\nconst bDays = businessDays({\n  state: \"pa\",\n  excludeHolidays: [\"christmas day\", \"presidents' day\"],\n  addHolidays: CUSTOM_HOLIDAYS,\n});\n```\n\n## 📚 Notes\n\n### Holidays and substitution days\n\nBy default, when initialized without a state abbreviation, businessDays handles the following 11 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Juneteenth\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, substitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Contributions\nIf you find any bugs or have any suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are welcome!\n\n### License\nbusiness-days-js is licensed under the MIT License. See the LICENSE file for more information.","readmeFilename":"README.md","gitHead":"05a77df8cd746a1182239910e27ff3f227441570","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.3.2-alpha.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-piSFltufn2AgOAcWHDWj/WSdE3K34H9vAFo5fb1ljmtNxYc3JeSQRBCdw4KJhGU/ji3dXNFhxqsQvZcpASt05A==","shasum":"8e3e85c709b772c2c100389419a706f518cda280","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.3.2-alpha.0.tgz","fileCount":25,"unpackedSize":116239,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzRfdgT0mMxR2bBeXX3Oo8Se+flelASeGYJkBU7Ml8gQIhAPaTV/W2OHiMOoA4y3qj6FIKjZu5Wy5ZhYuaR+7NlNFr"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKOwJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLsBAAniLVqHAGwxfdppo5LErimvgAujJMVXmdNgFxIzLDRg+94T9F\r\nvB7S+Zq79uZstgoNCUNjFhhYP8ET0Uat1brVkLbx8yklkTZcp9lfYeYD8uVK\r\ndgyXcj7bdwnF/UTMjNsiNpdDWCdC6RwwcJKxkg4VwanYmnrRvR/TPomd3J4N\r\nsxUvT/m4Rja+7hxMtFwZmNp5NhH4dYk8krgghLON+47QHCpqGrsN4zj4aoVP\r\nz/DHh3/8RdDwaiRx9hGQ0z4vDHK0+LA8P2i8wF10tD3fz4kUUSQnn7hguvD4\r\n+94Z7YwHaIsdrJi4WSl0dpDJF3FPmqKqBz4Axw/0zDH/88neWQi14pM9C6fw\r\nHRpCz7YHarYc9a+JfFTfLppY80dFb7LVEOVJC0Kj70zcF5NPSxhhwHpOpbiM\r\n5veh7JHtC0/h6/N5R1mW/AVOZ2NcwypMac3zVNnkcupdRh4ltXsRJ+TADi+j\r\nSZxh0jh3ywDO4CAkii0PwmnlW5wQT7kR75WfABJmFP616dzcvu9qMd/IUfd1\r\nJeBD/+Ez8oFwUsm6SgzChuS9AYxJ+7M96CHn0YVyxI2uaZYSyihSfVZBlLWU\r\n6ybj6fPvU8l6f8/rcoEVx15wI1hNdHSProArs+llq4/HZjoPYlfRoL3udVaK\r\nxUbONCqNYDs4qhyhSV+dEzs8yj0Gyl5PhoQ=\r\n=Lb+k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.3.2-alpha.0_1680403465113_0.42084965492981974"},"_hasShrinkwrap":false},"2.3.2-alpha.1":{"name":"business-days-js","version":"2.3.2-alpha.1","description":"Checks whether a date is on a weekend or a U.S. holiday","source":"src/index.ts","main":"dist/index.umd.js","module":"dist/index.modern.module.js","types":"dist/index.d.ts","unpkg":"dist/index.umd.js","dependencies":{"date-holidays":"^3.19.0","dayjs":"^1.9.6"},"devDependencies":{"@babel/preset-typescript":"^7.21.0","@types/jest":"^29.5.0","babel-preset-env":"^1.7.0","eslint":"^7.14.0","jest":"^29.5.0","microbundle":"^0.15.1","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^5.0.2"},"scripts":{"build":"npx holidays2json --pick US,CA && microbundle --name getPkg","dev":"microbundle watch","test":"jest","coverage":"jest --coverage","watch":"jest --watch","pub":"npm run build && npm publish","pre":"npm version prerelease --preid=alpha","pre-pub":"npm run build && npm publish --tag alpha"},"author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"keywords":["business","dates","holidays","dayjs"],"readme":"# 💼 business-days-js\n\n![npm](https://img.shields.io/npm/v/business-days-js)\n![npm bundle size](https://img.shields.io/bundlephobia/min/business-days-js)\n![npm](https://img.shields.io/npm/dw/business-days-js?color=blue)\n![NPM](https://img.shields.io/npm/l/business-days-js?color=blue)\n\nDetermines whether a given date and time is on a weekend or a public holiday in the U.S. Can also add business days to a specified date to calculate a new date.\n\nThis package uses [dayjs](https://www.npmjs.com/package/dayjs) and [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n## 📚 Install\n\n```\nnpm i business-days-js\n```\n\n## 📚 Usage\n\nFirst initialize a businessDays object:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays();\n```\nBy default, businessDays treats 11 U.S. public holidays as non-business days. To use state-specific public holidays, instead initialize businessDays with an appropriate two-letter state abbreviation:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"}); // use public holidays for Pennsylvania\n```\nCheck out the docs for [date-holidays](https://github.com/commenthol/date-holidays#supported-countries-states-regions) for a full list of state abbreviations. Consult 'advanced usage' in this README for more information about customizing holidays.\n\n### Check business day\n\nTo check whether a native Date object is a business day:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst presidentsDay = new Date(\"2016-02-15 00:00:00 GMT-0500\"); // 12 a.m. on Feb. 15, 2016 (EST)\nbDays.check(presidentsDay); // returns false\n\n```\nDates can also be provided as a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst bizDay = \"2021-11-17\"; // Wednesday, Nov 17, 2021\nbDays.check(bizDay); // returns true\n```\n\nOr dates can be provided as a Day.js object:\n\n```\nimport businessDays from \"business-days-js\";\nimport dayjs from \"dayjs\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst xmasDay = dayjs(\"2020-12-25 00:00:00 GMT-0500\"); // 12 a.m. on Dec 25, 2020 (EST)\nbDays.check(xmasDay); // returns false\n```\n\n### Add business days \n\nAdd a specified number of business days to a date to calculate a new date. The returned date is a Day.js object.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst startDate = new Date(\"2020-12-20 00:00:00 GMT-0500\");\nbDays.addDays(startDate, 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\nAs with other methods, dates can be provided as a Day.js object or a string formatted as \"YYYY-MM-DD\":\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nconst newDate = bDays.addDays(\"2020-12-20\", 5) // returns a Day.js object representing Dec 28, 2020.\n```\n\n### Count days\n\nTo return an object with a tally of total days, business days, weekends, weekdays, and holidays between two dates:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\") // returns an object\n```\n\nNote that countDays excludes the start date from its calculations by default. For instance, by default countDays would count a total of eight days between \"2020-12-20\" to \"2020-12-28\" rather than nine days.\n\nTo include the start date in the tallies:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\nbDays.countDays(\"2020-12-20\", \"2020-12-28\", {excludeInitialDate: false})\n```\n\n### Get list of public holidays\n\nTo get a list of public holidays for a specific year with the dates they end and start:\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\"});\n// returns an array of objects with data on Pennsylvania public holidays in 2020\nbDays.getHolidays(\"2020\") \n\n```\n\n## 📚 Advanced Usage\n\n### Customize holidays\n\nYou can exclude specific public holidays from businessDays default list of public holidays. Simply initialize a businessDays object with a list of holidays to exclude.\n\n```\nimport businessDays from \"business-days-js\";\n\nconst bDays = businessDays({state: \"pa\", excludeHolidays: [\"Flag Day\", \"Presidents' Day\"]});\n\n// Flag Day and Presidents' Day will now be considered business days if they fall during the work week.\nconst flagDay = new Date(\"2019-06-14 00:00:00 GMT-0500\")\nconst presDay = new Date(\"2020-02-17 00:00:00 GMT-0500\")\nbDays.check(flagDay) // returns true\nbDays.check(presDay) // returns true\n```\n\nYou can also add custom holidays to to the default list. Each custom holiday is an object with a 'name' property and a 'rule' property. The rule defines the occurrence of the holiday based on the grammar of [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n```\nimport businessDays from \"business-days-js\";\n\nconst CUSTOM_HOLIDAYS = [\n  {\n    rule: \"02-02\",\n    name: \"Groundhog Day\",\n  },\n  {\n    rule: \"07-15\",\n    name: \"Saint Swithin's Day\",\n  },\n]\nconst bDays = businessDays({\n  state: \"pa\",\n  excludeHolidays: [\"christmas day\", \"presidents' day\"],\n  addHolidays: CUSTOM_HOLIDAYS,\n});\n```\n\n## 📚 Notes\n\n### Holidays and substitution days\n\nBy default, when initialized without a state abbreviation, businessDays handles the following 11 U.S. public holidays as non-business days:\n\n- New Year's Day\n- Martin Luther King Jr. Day\n- Washington's Birthday\n- Memorial Day\n- Juneteenth\n- Independence Day\n- Labor Day\n- Columbus Day\n- Veterans Day\n- Thanksgiving Day\n- Christmas Day\n\nIf those days fall on a weekend, substitution days are used based on rules defined by [date-holidays](https://www.npmjs.com/package/date-holidays). For instance, if Christmas Day (Dec 25) falls on a Sunday, then Monday will be assumed to be a public holiday. If Christmas Day falls on a Saturday than Friday will be assumed to be a public holiday.\n\nFor more information about holiday rules, consult the documentation for [date-holidays](https://www.npmjs.com/package/date-holidays).\n\n### Contributions\nIf you find any bugs or have any suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are welcome!\n\n### License\nbusiness-days-js is licensed under the MIT License. See the LICENSE file for more information.","readmeFilename":"README.md","gitHead":"1544a67eb1d9a2217b8f7f6d084898012bdcfa52","bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"},"homepage":"https://github.com/simmonsritchie/business-days-js#readme","_id":"business-days-js@2.3.2-alpha.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-SyNisMlHiQ6eK8VrZJN4+1fjE/UQXfj2gLH2BfEPqKDFkgF5YXIKAGXUdMtAriD5IB8vS+binZupRkPOucWLoA==","shasum":"75dfb62e6ba4d68c0a136e94e85e1d6e9b90f6aa","tarball":"https://registry.npmjs.org/business-days-js/-/business-days-js-2.3.2-alpha.1.tgz","fileCount":25,"unpackedSize":116243,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfrDtLSAnpSYw5lhhm6Cuvgihdp9yRAH8ZwYx4ihofAQIgfSpQmIhSJjbWWh9odYeGhyo8uMOkUdPfVj9/Ch7zmMo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkKO8UACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDuQ//Y3X/rTzZKd9IJ8gMmPN7N6vp0fHETC4s80qukxx/VXtLgpXE\r\nX+Ow4Pey+OngWym7+7jveDal5Ex+brrX0XGPGRsNN2BtIaWUNRmrkxERB23x\r\nDVae/SyLsNsLVxg2gNL4heXiqnL+LftimfXm62JeTJMMpB1hY5RXhptInJBp\r\n2KcIf+7D5pDkLIFFd4gjKD5VJTanee0DT9lS4rQYGEEoNY/3WAK99uvPZJq/\r\nxU5TkSjqPAq+5dk+t7075DEzu3vCxPm5ZYD58CE5KpEiMs8FVVkTbBEEaAjf\r\n/FHUeB5Xzz3wDb+AXcjpI/RxltV5KvSu7H8Q3yTQ2Km6P3o71MXqU5rA8/Uh\r\nHOFyOHMHmmPzTw4hWU4Fh1MNaoSHTslU3ykbxME6kvIiDcsYNPzRQM+B8KTv\r\ns8HD08/mcKThzVUmuvl3p1gJAtfaxECdg/CKfbkHMHRrKzV7oLO0AHN4Aavv\r\nQVDV1v3g3SyCxWtqWQ0clD/EutqNkWAjTznPFv6BHNcPlCk/npDt48gjg5fM\r\n0b0CkR3TmGbJ9LNhV982D1k6/JlQ4fGLWIeR2zRQz1OlCFPToO2hm3uCD3Oe\r\nx/nTyzS6A55lavm1SG9XRXWTrrX8wDdjBXtp6eXhPaRfSn6Wi3xalQD5xKLQ\r\nXagEKqjXcLJkq9Twzof8fl2Ai5QFo0gdLoE=\r\n=hfUw\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"},"directories":{},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/business-days-js_2.3.2-alpha.1_1680404244432_0.2819942969802509"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-23T00:40:12.904Z","1.0.0":"2020-11-23T00:40:13.090Z","modified":"2023-04-02T02:57:24.722Z","1.0.1":"2020-11-23T00:45:09.013Z","1.0.2":"2020-11-23T00:51:44.465Z","1.0.3":"2020-11-23T01:06:45.913Z","1.0.4":"2020-11-23T01:10:30.352Z","1.0.5":"2020-11-24T20:58:24.902Z","1.0.6":"2020-11-24T22:21:50.136Z","1.0.7":"2020-11-24T22:33:21.642Z","1.0.8":"2020-11-24T22:36:09.322Z","1.0.9":"2020-11-24T22:39:11.636Z","1.0.10":"2020-11-24T23:06:10.469Z","1.0.11-alpha.0":"2020-11-25T02:19:13.837Z","1.0.11-alpha.1":"2020-11-25T02:43:15.422Z","1.0.11-alpha.2":"2020-11-25T02:48:48.167Z","1.0.11-alpha.3":"2020-11-25T02:58:14.412Z","1.0.11-alpha.4":"2020-11-25T03:02:24.872Z","2.0.0":"2020-11-25T03:32:03.860Z","2.0.1":"2020-11-25T03:38:24.336Z","2.0.2":"2020-11-25T03:39:02.852Z","2.0.3-alpha.0":"2020-11-26T01:31:51.640Z","2.0.3-alpha.1":"2020-11-26T01:32:15.522Z","2.0.3-alpha.2":"2020-12-23T22:27:35.594Z","2.0.3-alpha.3":"2020-12-24T00:45:52.531Z","2.0.3-alpha.4":"2020-12-24T02:29:08.670Z","2.0.3-alpha.6":"2020-12-25T01:44:34.151Z","2.1.0":"2020-12-25T01:50:10.263Z","2.1.1":"2020-12-25T02:09:35.990Z","2.1.2":"2020-12-25T02:20:36.636Z","2.2.0":"2023-03-26T13:49:55.253Z","2.2.1-alpha.0":"2023-03-26T14:13:57.694Z","2.2.1-alpha.1":"2023-03-26T14:14:56.024Z","2.2.1":"2023-03-26T14:25:09.111Z","2.2.2-alpha-0":"2023-03-26T19:00:35.802Z","2.2.2":"2023-03-26T19:03:09.255Z","2.3.0-alpha.0":"2023-03-27T13:21:06.731Z","2.3.0":"2023-03-27T13:37:29.986Z","2.3.2-alpha.0":"2023-04-02T02:44:25.275Z","2.3.2-alpha.1":"2023-04-02T02:57:24.595Z"},"maintainers":[{"name":"simmonsritchie","email":"daniel.simmons.ritchie@gmail.com"}],"description":"Checks whether a date is on a weekend or a U.S. holiday","author":{"name":"Daniel Simmons-Ritchie"},"license":"MIT","readme":"","readmeFilename":"","keywords":["business","dates","holidays","dayjs"],"homepage":"https://github.com/simmonsritchie/business-days-js#readme","repository":{"type":"git","url":"git+https://github.com/simmonsritchie/business-days-js.git"},"bugs":{"url":"https://github.com/simmonsritchie/business-days-js/issues"}}