{"_id":"@0dep/piso","_rev":"30-c52957af5d1482fd672dad3ab6b3c1fa","name":"@0dep/piso","dist-tags":{"latest":"5.1.2"},"versions":{"0.0.1":{"name":"@0dep/piso","version":"0.0.1","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@0.0.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"097698a127f60889bfbdd17d19dcbb1ae164145e","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-0.0.1.tgz","fileCount":8,"integrity":"sha512-qxrCe7gGwOKzmid7P9XacZSOH+m6EVxgLl30K7nji7VuhkoZ76YJeBV5DE/5ujy8/RT87REjzI4viPf9WUp8fA==","signatures":[{"sig":"MEQCIFsuTrjzCV9MK5a1vwxVyaodcCGgsNjCeyGLRNEbUvNeAiBm2q+kReacl8veLPhx9Qo6ksofha8qtyu8vtgufddvEA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71300},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"41ad7f7304f481ba272a8a43543b81f3d2f8514c","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.2.4","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.19.1","_hasShrinkwrap":false,"devDependencies":{"c8":"^9.1.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^8.52.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^25.0.7","@bonniernews/eslint-config":"^1.0.1","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_0.0.1_1711438339969_0.3528803626076724","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@0dep/piso","version":"0.1.0","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@0.1.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"a927cbad4e68523d527ae0911bb0db4be41a8c38","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-0.1.0.tgz","fileCount":8,"integrity":"sha512-v1VeiDiPhUtNeIHzdOaO9b16636t2ape9VTol2T4hRPA+zH6BaP5kLDI6VjGzzTtjxGkqK0hxiN9Kxl1/qh2Dg==","signatures":[{"sig":"MEYCIQD/7q0jGlHIMYqFbyEW1Ta5eKnUCuPHPGppKVQ0QsnWWAIhAPo03sCVeIlwN7tq01mrHVGTZ3SZzqWUN9L5NwdxQwrW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81277},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"24f1d907a6467b9d82372a7b8e16961c79de86e6","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"node --experimental-vm-modules ./scripts/test-markdown.js","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.5.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^9.1.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_0.1.0_1713623605635_0.35205502903823116","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@0dep/piso","version":"0.1.1","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@0.1.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"816c1e25629dd7a785fcb248bc55c007f614124f","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-0.1.1.tgz","fileCount":8,"integrity":"sha512-yZVqxnFnFbknWIf+UjbNWekFMDdy7d2wTGzykm7lDBTSCjYbmxSWyXFbrR/fSpzhUPruXRvwSZlwHv3Q+gkRNw==","signatures":[{"sig":"MEQCICenWgnOKeq8rBCPl8WyXxkTg99Szpb7Ss5tt4y+8V2uAiA+JJ8mlWtw2Vhz78FnbepsMnZzxABPHuRrFh3l7Qnf8w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81319},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"57a617da0b21a7b43a367c4d66ef5ae0cf8e459a","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"node --experimental-vm-modules ./scripts/test-markdown.js","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.5.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^9.1.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_0.1.1_1713624413006_0.9714455048691208","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@0dep/piso","version":"0.1.2","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@0.1.2","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"d6e34a47fe001c7b159bde24a2f3d7c5a0dbe78c","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-0.1.2.tgz","fileCount":8,"integrity":"sha512-bVwltWXQFO7PVRFmpDYlKJaIRvkIgpbw5RGmQmdkhcTYyzf4Krd2x4fw0ql7lyDGpqQWj1c+Gk1hePpRpCOFoA==","signatures":[{"sig":"MEYCIQCgJQOnXgv7xuxp3dYwYtj/LMUFjSiwoHZTck/SB2k1jQIhAN3oiV2EVMnmqnfSaIFN9PamExJ2/3QH/bXZSYkaLZS0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80715},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"4cfc533caa539b1413a74e1f8aac82f446ca086e","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"node --experimental-vm-modules ./scripts/test-markdown.js","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.5.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^9.1.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_0.1.2_1713678943837_0.875073999759606","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@0dep/piso","version":"0.1.3","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@0.1.3","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"cac51335a5de319950e513db86a83bc0e7c280f9","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-0.1.3.tgz","fileCount":8,"integrity":"sha512-DFfCFFPwucgPoC7Utej5UV/UxZg/vT0Pa7HgmMcbnAF0xSSfh80nE8ruu990OK/ZTQkImmYi4klfHkqWGI5Kyw==","signatures":[{"sig":"MEQCIGFGGf8GoFmnWXqWHZKwB1oBJYOPZzga5W6u3ugmQcTjAiBGz0QVUfJOkGkJjCKwD7z4aBd+EzL4foETBQ/GilEL4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82411},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"cf2b39eaa3696be5dda75eb2dd4606d1cb04b856","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"node --experimental-vm-modules --no-warnings ./scripts/test-markdown.js","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.5.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^9.1.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_0.1.3_1713765873889_0.6421223632149291","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@0dep/piso","version":"0.1.4","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@0.1.4","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"c85795d14d7286538b4338e8c7e08a71f5fe11db","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-0.1.4.tgz","fileCount":8,"integrity":"sha512-OacZIA+gerIn0puKddoUb25UutSAy42Enq/nodiaabWD4Sq1i1CM+vsKZdxDRmcTcP9uygKo9D1ua6BRVXrloQ==","signatures":[{"sig":"MEUCIQD62twoZs+gXqwv+UlZNTFaxINEPbdH9zoV0oeWspsFuwIgEXBfcDyOnvx3PfdE9ZLaqwJlX+iVSjsqF7VR2bFW3Ek=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82480},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"b62bf81fb9b69907862de51d551c6ed7327918f6","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"node --experimental-vm-modules --no-warnings ./scripts/test-markdown.js","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.5.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.2","_hasShrinkwrap":false,"devDependencies":{"c8":"^9.1.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_0.1.4_1714714702908_0.912059175280773","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@0dep/piso","version":"1.0.0","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@1.0.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"168b9304a81a5962441a3554ac2973809f95d2d4","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-1.0.0.tgz","fileCount":7,"integrity":"sha512-tMmSMLfKA7frZQNdJ0ktT0dCkHRLvpETYUzGLHsOKVph4HbocC5iTlU8L0UQOCAqrfj707RlpqUM1P+S8qHDHA==","signatures":[{"sig":"MEYCIQChe9Y3jZIEx93ioyx8Jvq4/WdkwEwqReqoAaBnuOR5RQIhAOR85Vaz1D1c8sGeA5S9dxFeWUayjUSF9CdCR2zxZ8nD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82048},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"6536268172d82b8acd050494f53f08b7a814ff8e","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"deprecated":"timezone offset is not applied before returning date","repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.5","dts-buddy":"^0.4.0","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_1.0.0_1718439455922_0.015024734391530625","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@0dep/piso","version":"2.0.0","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.0.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"7fbda0e18f66f43d958c6a041c3cd64d9f112195","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.0.0.tgz","fileCount":7,"integrity":"sha512-gBvbGcjf7OaVx7hOYFoa5YDSyXM/yzp4mEwdaXTlAiY34WkZkfV3QC0YzbKhYzi8VeQxs7hyu3ngATBULg9rdw==","signatures":[{"sig":"MEUCIQCZ+bJ0QF5mecmHTj01F2LSDKpRv+RONJrYsWvLhQ154QIgTNN/mfBHv+7Jqqcvu8kGrKpo3RBVbCLjxyb+g9TDRf0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83013},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"eea0ec99d8b077f9e4c881a121b5db9d8140535e","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"deprecated":"bug where last august deemed invalid","repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.5","dts-buddy":"^0.5.1","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.0.0_1720413727638_0.295088198113695","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@0dep/piso","version":"2.0.1","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.0.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"6fecf8c0102976b3f55226cfb704a6bc68a7ea9f","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.0.1.tgz","fileCount":7,"integrity":"sha512-SHlTjsVyVSHeTtzdXl1oDOg8HaVooyxQLjYBsEEXguDABzp6zp777PhwWWYY67b2eFyMIEm+omIev1baBPhuCQ==","signatures":[{"sig":"MEYCIQDprnoxoGegwq3P8031N+dX+hlVsJWzmJixTepAJ4XRqgIhAMHx51Pi48+p8oGnv/cnjBfNN5v9uAvPYZCKd+s35eoK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83162},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"bcf737317007d7360a6864c1c526f6f1beccba5e","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.0.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.0.1_1725021230602_0.6616458399955376","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@0dep/piso","version":"2.0.2","keywords":["ISO8601","interval","duration","date","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.0.2","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"5b596dbe690e9e258dd7224df8220e8e0ec27abb","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.0.2.tgz","fileCount":7,"integrity":"sha512-qxc9y1rPbVctHjafhZeGoYI54nczC7oKEbEYpqiKQeoAv2CN4hdyi8RA2S2Dd/b/KPs9Lp4Rpr41w10h7Hj9cg==","signatures":[{"sig":"MEUCIQDub5VFoi4JB8ck48LCBGu/04wzMWuifk2oVjX6Lici4QIgPOsnSypa4pVs+Ndikh3AFCaxD+l6/jRFlAGdUq7ELhk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83167},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"c1088f9317512954382a969e7ef56da526931a16","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.10.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^4.3.9","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^26.0.1","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.0.2_1725689572885_0.6296164781707048","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@0dep/piso","version":"2.1.0","keywords":["ISO8601","interval","duration","date","week","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.1.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"1e4cfb6bdc9146eacbd6b9d63e9cc4eafa5aec32","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.1.0.tgz","fileCount":7,"integrity":"sha512-byYIb4iizkwuXa7wl6IVFvZml+KvKZ6JOUDeUig8THLjY0N6IQZVa+fp2N37QSaBIzUPkiarCWaifTAa0m5lcA==","signatures":[{"sig":"MEQCIH09S5g5AmYBg/MNOC+l4zm+9zz4EuAl7P7gtsM5mSdxAiBKwTzDW/eALnTNXD31E2ryfv+aMix73Ccd4SBWAtVDOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95428},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"aaf6064b3e53b002537da4bae042315911db973d","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.10.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.1.0_1728672683372_0.15913719874413879","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@0dep/piso","version":"2.2.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","to milliseconds","iso","8601","parse"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.2.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"8f4d2464e72e9121219ea5ca21b2b53e87e48901","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.2.0.tgz","fileCount":7,"integrity":"sha512-NZtrWj3S/bYeNPiCpJxPZDRXf7lcIgMEs1GqB9zeUWS1hzDp2VHcw61WLN4cRkHdqzQCthBeFTu3g9sJFkpsJQ==","signatures":[{"sig":"MEYCIQDeuHW+DOE+KoRKCP8Kyi4PcE6OYAeMNXyaVj8owMIEhwIhALGKR1zyz9hwaDsd03oeDchpy7Y/HimJFx/ubmw+ms8W","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97170},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"35463def5b1ebd73502f85a7124fe741fe1452f6","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.10.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.2.0_1729141893189_0.03455485901631694","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@0dep/piso","version":"2.3.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.3.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"9311c9c230f0b8db285145e5800ceccedc88fbae","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.3.0.tgz","fileCount":7,"integrity":"sha512-OASj6/dlsufA1L7tMJqNk4HNctos8/88vXk09EG8PXJ/C99IH8NbFYOarrUyAHCQAQsv0QqUCdhlyoofzGnbvA==","signatures":[{"sig":"MEUCICZ1yW4AokWI+fxb4ftSmFjSTAYcUm5d6dP5ukCc+aVwAiEAypz0yEfiWtYl4Fhh+JwVuT2fTmv8UDouWwhzBgkBxt8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106272},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"f4edc432f6ff5e29938cd20e835aeef8aa68f992","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.10.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.3.0_1731133762565_0.4929782465632411","host":"s3://npm-registry-packages"}},"2.3.1":{"name":"@0dep/piso","version":"2.3.1","keywords":["ISO8601","interval","duration","date","week","weeknumber","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.3.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"98d3a6e1e072e71d4ded78faf5c08b14074def09","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.3.1.tgz","fileCount":7,"integrity":"sha512-QGpoYtMFOQfsDxI9Ak/3LE0xFsr6hJ5Z43W1F9FI6D32RXge8QzFe2cbRjLJdHIk2/hwBo9gaKqUZy+C+Zc9VQ==","signatures":[{"sig":"MEUCIQCFjIeQAyAjjZs/bjg54/XKfU6n2LkJKPaAqUQ3FSPdbQIgeO/BwMm5qP56XFlbYV86S2eTOr0v9vnYFjsNvCqJy7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106902},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"b58cb03895442a9423ced7c0223ef66a91c1966d","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.7.0","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^10.2.0","eslint":"^9.10.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.3.1_1731141031814_0.8062098134034399","host":"s3://npm-registry-packages"}},"2.4.0":{"name":"@0dep/piso","version":"2.4.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.4.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"ae20e77f31bb3f60bda24db71fc142928aa06b74","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.4.0.tgz","fileCount":7,"integrity":"sha512-M3KiPNsDb6wL3inpEgmnT22kaL1y/Po/DS0VhvdQJRNMIvmqVUf/BjwK/7D/oYTTzzghYAT7OS7qUesEL/POoQ==","signatures":[{"sig":"MEQCIGNcXJqYCH1OIeVr9ID5pcKn9M0dWu4jneuXuRmdAxnXAiAmLJuMxpw16+CmYBA2NmZlwLYIK5lL4RovAWpiu/tgUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":110183},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"f4f1cb6e92511c45cce90bb20e4f53201663c901","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.8.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^5.0.0","mocha":"^11.0.1","eslint":"^9.10.0","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.2.4","texample":"^0.0.6","dts-buddy":"^0.5.1","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.4.0_1733819337836_0.3804770901795129","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@0dep/piso","version":"2.5.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@2.5.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"7ad217c06c4556c76b82f6b7c189475662ee5e3b","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-2.5.0.tgz","fileCount":7,"integrity":"sha512-3bkF6fcgwo+VumhBYUXpREicWewFaLELDEBP79pTCFCcBDC3LvyxK3ZGu+yuZhoGNbfhRIprOK9Uhapdax7AnQ==","signatures":[{"sig":"MEUCIEPjRMG7W+qLsXNw/3FmrTt88fP1X5QM9yMsN94qStz4AiEA5tJ/jrCJPG27Y4GVRlAv2Y7/ljj2kzKTeXKVkYZRIjM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":110536},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"7e9f70d1234e2002107d1d72a3385f988f67db2a","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.8.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","chai":"^5.0.0","mocha":"^11.0.1","eslint":"^9.20.1","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^0.0.8","dts-buddy":"^0.6.0","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_2.5.0_1747561045336_0.783491026360303","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@0dep/piso","version":"3.0.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@3.0.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"94375657c9500f5605db429f256768f7329ebab8","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-3.0.0.tgz","fileCount":7,"integrity":"sha512-Pi58nDsDm6qsBMbwtVqgdn57qCWvp+fr37qnP5HN/z03IUy5iR633wpuK97imUG5Kph/ygFkYsIpFlooLaqjwg==","signatures":[{"sig":"MEUCIQDat0dSLQc+dhTQ4T4bT6sp1TDABNWIdXXX8TU6jGXI0wIgKbWmefEa7qkydESn6VUiwXbjJuCsshuL58WOmyaJSLs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113527},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"115ccd9e2e3a54ea6307029d48bb4efd83d0929e","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.8.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^10.1.3","chai":"^5.0.0","mocha":"^11.0.1","eslint":"^9.20.1","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^0.0.8","dts-buddy":"^0.6.0","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_3.0.0_1753941953450_0.20338242826506536","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@0dep/piso","version":"3.0.1","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@3.0.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"dd635d336c57cf07375c2ce229211b434400bf3f","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-3.0.1.tgz","fileCount":7,"integrity":"sha512-pMPxzzKoCj/j5yc/NyHJNIcWCT0Z2+vRJayUg6g1leEbU/HgpDqg3EwlAPUhEwfTj/2NxSImgqJvo43IDdN1NA==","signatures":[{"sig":"MEUCIQCz2Y5PhKKTJ/yNl3hQCOOncrqNd7ARz6uu78sswy6crgIgCQeq1Gh61MD2odZ0t/+dpv7wnNXNYA2tDnWlTlDf0h8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118711},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"e548cff4029d3e96d0aff4f64c742d3217e15323","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.8.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"c8":"^10.1.3","chai":"^5.0.0","mocha":"^11.0.1","eslint":"^9.20.1","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^0.0.8","dts-buddy":"^0.6.0","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^6.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_3.0.1_1754726538182_0.390278515948413","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"@0dep/piso","version":"3.0.2","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@3.0.2","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"b9728f48266a89c1e824381cb8c237b063a2c994","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-3.0.2.tgz","fileCount":7,"integrity":"sha512-KrOEvPrtQKQXY10XMxko1rH07o6nMxct4+/nHNq2V8aRom2vdgxPo5gCUk4eRk09fl93mVCMka34vYGP0NtaEA==","signatures":[{"sig":"MEUCIBjsYSXf8PApkg8mDlakwOW11GLwetPJbv/8W6wsbcOqAiEA4Y90P2NP3x6jdNtKHyvc1/cd7ySAFcKWbwSjq26wjYQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":118401},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"001479c7d3e76e6f3adaa3f4d6d1f907a4c30556","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"paed01","email":"pal.edman@outlook.com"},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"10.8.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"18.20.8","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","chai":"^5.0.0","mocha":"^11.0.1","eslint":"^9.20.1","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^0.0.8","dts-buddy":"^0.6.0","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^7.0.0","@rollup/plugin-commonjs":"^28.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_3.0.2_1755749271556_0.38259785077325437","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@0dep/piso","version":"3.1.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@3.1.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"1aaed7059e519449d5014f17a8fa8c14d3bec053","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-3.1.0.tgz","fileCount":7,"integrity":"sha512-3d28pi4BSOAjVQfrGrHls9RWib7fGq2jsbDb5P1pCE7Dd5lIlRidGK0ZYAR/dGGtmMCQthKQ8dIP6ecuEH1VrQ==","signatures":[{"sig":"MEQCIHLHxXA9I1pRxIotbzLzt5/CI1oPJa/wSwDAo3SnugP/AiA9gNEkt2lxXS2GCoYsnr2EubdcnxW/ESMUPCJ9zqtiyQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119044},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"d10bdf8d1d82f5f425f7bbadb96eaf297e0441bc","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"11.6.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"24.11.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","chai":"^6.0.1","mocha":"^11.0.1","eslint":"^9.20.1","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^0.0.8","dts-buddy":"^0.6.0","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^7.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_3.1.0_1763014857631_0.3474028704007357","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@0dep/piso","version":"4.0.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@4.0.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"00efa4a7a083d11220995b41deb6f572eb62c19b","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-4.0.0.tgz","fileCount":7,"integrity":"sha512-XRUlB49YnkBcaw3SfLyqqs/eDtPH/IyINUUJ1E5eWWvTWewl+Xholnmnr9mBUn2Ijm8PTaPxQ4jRtxNLjWWZyg==","signatures":[{"sig":"MEUCIFPTym+r0ODswLQht/cEEaDYy9BfVeEVeNgFlCbkc6gWAiEAxZ/3GnefS+ib6lskHfr3owMbV6+4xUWGbBrxJmjSMUs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":119955},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"40858f5056505021d557d0ab89df05e0a71a5490","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"11.12.1","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","_hasShrinkwrap":false,"devDependencies":{"c8":"^10.1.3","chai":"^6.0.1","mocha":"^11.0.1","eslint":"^9.20.1","rollup":"^4.10.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^0.1.0","dts-buddy":"^0.7.0","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^7.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_4.0.0_1776318632398_0.28259337739542345","host":"s3://npm-registry-packages-npm-production"}},"4.0.1":{"name":"@0dep/piso","version":"4.0.1","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@4.0.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"4d309f74e4c80620f81b851dc40b9341332d1b7c","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-4.0.1.tgz","fileCount":7,"integrity":"sha512-RiQtGnYbiToR0AOvtmWaGQyPQRM3eAqaksOooZR7sxMSsmcMj1FKoh/zuGYWd+hxgLxzzPiP/+sxoCUDNNOnmA==","signatures":[{"sig":"MEYCIQD47Tu18WMepy1yC575tnNffO4X6G5/AYQKeTRXz5QjsQIhAOzUL1uGOhFt8quIsMbLYsibNNh0FsdsiXfbuEp0rtjy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@4.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":120186},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"8fc438467f9758b4e8c1cf620b542cd6cfc16f7d","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"overrides":{"c8":{"yargs":"^18.0.0"},"mocha":{"yargs":"^18.0.0"}},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"_npmVersion":"12.0.1","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^11.0.0","chai":"^6.0.1","mocha":"^11.0.1","eslint":"^10.7.0","rollup":"^4.10.0","globals":"^17.7.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^1.0.2","dts-buddy":"^0.8.0","@eslint/js":"^10.0.1","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^8.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_4.0.1_1783925998818_0.9073508593467701","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"@0dep/piso","version":"5.0.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@5.0.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"ff8c90044aed4778aa06737946cbcd8b2f38259e","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-5.0.0.tgz","fileCount":7,"integrity":"sha512-k23WHTQ+J1bAntz3VFK/7o4pjC5gyMxBNJs+oOEUQhxtsXcXX64bCEUbJkCisKJ30h/I0GkaIpgRmAQLUuuCUA==","signatures":[{"sig":"MEUCIQDZFPfAF19dpsj1+cm85sPSup5BRNtTlgaXspK6YsQAmQIgMFNRuU2Q43va0GcRMHAnbX0dEC2arZrdMmmFGFxB+Os=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":128972},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"80c38dcbbd29697f2d92d3cd5b1253e44ad718d5","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","bench":"npm run bench --workspace bench","compare":"npm run compare --workspace bench","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && tsc -p test && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"overrides":{"mocha":{"yargs":"^18.0.0"}},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"workspaces":["bench"],"_npmVersion":"12.0.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","chai":"^6.0.1","mocha":"^11.0.1","eslint":"^10.7.0","rollup":"^4.10.0","globals":"^17.7.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^1.0.2","dts-buddy":"^0.8.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^8.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_5.0.0_1786780766555_0.35322859976189447","host":"s3://npm-registry-packages-npm-production"}},"5.1.0":{"name":"@0dep/piso","version":"5.1.0","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://github.com/zerodep","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@5.1.0","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://github.com/zerodep/piso#readme","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"60c6df2f779586cc405a748db7dd6c21d50a222b","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-5.1.0.tgz","fileCount":7,"integrity":"sha512-+wI7DXZO1TtNzLgVbKBCeu1CDPkkIMvLou+4SqdelpwrsjMHmXDVBLTLsAvFJWzcnz67unbh/UAbVdU1reXLwA==","signatures":[{"sig":"MEYCIQD1kFp4QzsdfT2WRG+8gy+yLQ/RpVeLo2HGF/QOPxS1TAIhAL5oUlDmywXIB39XUPP4BbPbY4Tc5XL1FZTq0Wx5bS9a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@5.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":133020},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"450803ceafc45ada532a05819db57aa467dbffff","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","bench":"npm run bench --workspace bench","compare":"npm run compare --workspace bench","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && tsc -p test && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"overrides":{"mocha":{"yargs":"^18.0.0"}},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"workspaces":["bench"],"_npmVersion":"12.0.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","chai":"^6.0.1","mocha":"^11.0.1","eslint":"^10.7.0","rollup":"^4.10.0","globals":"^17.7.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^1.0.2","dts-buddy":"^0.8.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^8.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_5.1.0_1788078153846_0.9488254365521362","host":"s3://npm-registry-packages-npm-production"}},"5.1.1":{"name":"@0dep/piso","version":"5.1.1","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"url":"https://0dep.se","name":"Zerodep AB"},"license":"MIT","_id":"@0dep/piso@5.1.1","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"homepage":"https://0dep.se/tools","bugs":{"url":"https://github.com/zerodep/piso/issues"},"dist":{"shasum":"7264cecc1336565bf2976faf82a9a6b07662331a","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-5.1.1.tgz","fileCount":7,"integrity":"sha512-dh9JWZpqaKiEKE54fl02wE9FCsvePbih56mhJtLSAu7g9E5ahIUbArd9UDHKwJxBL3w+cen3JIt4grHMEL1soQ==","signatures":[{"sig":"MEUCIQCKTVrMDf31F1fPVnkVhajvIUv963sPuoUZMc5awmtN1QIgOtlcTRYyYqXtUHVS5KJkRmTr0a7QZeLKZeQcXI/ivu0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@5.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":132980},"main":"./lib/index.cjs","type":"module","types":"./types/index.d.ts","module":"./src/index.js","engines":{"node":">=14"},"exports":{".":{"types":"./types/index.d.ts","import":"./src/index.js","require":"./lib/index.cjs"}},"gitHead":"0d368079dbe811abdac131702cf5aeec71e2d0fa","scripts":{"dist":"rollup -c && dts-buddy","lint":"eslint . --cache && prettier . --check --cache","test":"mocha","bench":"npm run bench --workspace bench","compare":"npm run compare --workspace bench","test:md":"texample","cov:html":"c8 -n src -r html -r text mocha","posttest":"npm run lint && tsc -p test && npm run dist && npm run test:md","test:lcov":"c8 -n src -r lcov -r text mocha","prepublishOnly":"npm run dist"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"repository":{"url":"git+https://github.com/zerodep/piso.git","type":"git"},"workspaces":["bench"],"_npmVersion":"12.0.2","description":"ISO 8601 interval, date, and duration parser","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","_hasShrinkwrap":false,"devDependencies":{"c8":"^12.0.0","chai":"^6.0.1","mocha":"^12.0.0","eslint":"^10.7.0","rollup":"^4.10.0","globals":"^17.7.0","ts-node":"^10.9.1","prettier":"^3.5.0","texample":"^1.0.2","dts-buddy":"^0.8.0","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/chai":"^5.0.0","@types/node":"^18.19.7","@types/mocha":"^10.0.3","chronokinesis":"^8.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/piso_5.1.1_1788493422565_0.1312081434036232","host":"s3://npm-registry-packages-npm-production"}},"5.1.2":{"name":"@0dep/piso","version":"5.1.2","description":"ISO 8601 interval, date, and duration parser","sideEffects":false,"type":"module","module":"./src/index.js","main":"./lib/index.cjs","types":"./types/index.d.ts","exports":{".":{"types":"./types/index.d.ts","require":"./lib/index.cjs","import":"./src/index.js"}},"workspaces":["bench"],"scripts":{"test":"mocha","bench":"npm run bench --workspace bench","compare":"npm run compare --workspace bench","posttest":"npm run dist && npm run lint && tsc -p test && npm run test:md","lint":"eslint . --cache && prettier . --check --cache","prepublishOnly":"npm run dist","cov:html":"c8 -n src -r html -r text mocha","test:lcov":"c8 -n src -r lcov -r text mocha","test:md":"texample","toc":"toc README.md,bench/README.md","dist":"npm run toc && rollup -c && dts-buddy"},"engines":{"node":">=14"},"keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"author":{"name":"Zerodep AB","url":"https://0dep.se"},"repository":{"type":"git","url":"git+https://github.com/zerodep/piso.git"},"homepage":"https://0dep.se/tools/","license":"MIT","devDependencies":{"@0dep/toc":"^1.0.1","@eslint/js":"^10.0.1","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-node-resolve":"^16.0.0","@types/chai":"^5.0.0","@types/mocha":"^10.0.3","@types/node":"^18.19.7","c8":"^12.0.0","chai":"^6.0.1","chronokinesis":"^8.0.0","dts-buddy":"^0.8.0","eslint":"^10.7.0","globals":"^17.7.0","mocha":"^12.0.0","prettier":"^3.5.0","rollup":"^4.10.0","texample":"^1.0.2","ts-node":"^10.9.1","typescript":"^6.0.3"},"gitHead":"8019caa9bd9d3ad61496b2ae77ebe93b0ec69475","_id":"@0dep/piso@5.1.2","bugs":{"url":"https://github.com/zerodep/piso/issues"},"_nodeVersion":"24.20.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-geS/njvFznkBy2GXoJgGMUSWEka6tCFttbzWgoZGOJ+XZmgoWftcaopSITVc7sMewcwb2RcA11kEr4k4r/xmcw==","shasum":"d81370acb0b6a93e050fe38cff2c8b758f6ecd83","tarball":"https://registry.npmjs.org/@0dep/piso/-/piso-5.1.2.tgz","fileCount":7,"unpackedSize":135193,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0dep%2fpiso@5.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEiuZZLHmcPQtqBmMXkyA2WkFSsAS+PIrpfW/I1txPWTAiA4I/9az2ExrpZiZcOTsk3yVmN/ZnEbq5v5mi/sSC4JCw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4e3e8b27-aba3-4671-ad32-5995fd206d37"}},"directories":{},"maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/piso_5.1.2_1789449900417_0.11689348601730543"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-26T07:32:19.852Z","modified":"2026-09-15T05:25:00.875Z","0.0.1":"2024-03-26T07:32:20.142Z","0.1.0":"2024-04-20T14:33:25.825Z","0.1.1":"2024-04-20T14:46:53.209Z","0.1.2":"2024-04-21T05:55:44.003Z","0.1.3":"2024-04-22T06:04:34.044Z","0.1.4":"2024-05-03T05:38:23.062Z","1.0.0":"2024-06-15T08:17:36.052Z","2.0.0":"2024-07-08T04:42:07.777Z","2.0.1":"2024-08-30T12:33:50.761Z","2.0.2":"2024-09-07T06:12:53.063Z","2.1.0":"2024-10-11T18:51:23.640Z","2.2.0":"2024-10-17T05:11:33.447Z","2.3.0":"2024-11-09T06:29:22.800Z","2.3.1":"2024-11-09T08:30:31.987Z","2.4.0":"2024-12-10T08:28:58.028Z","2.5.0":"2025-05-18T09:37:25.524Z","3.0.0":"2025-07-31T06:05:53.659Z","3.0.1":"2025-08-09T08:02:18.358Z","3.0.2":"2025-08-21T04:07:51.761Z","3.1.0":"2025-11-13T06:20:57.828Z","4.0.0":"2026-04-16T05:50:32.562Z","4.0.1":"2026-07-13T06:59:58.956Z","5.0.0":"2026-08-15T07:59:26.668Z","5.1.0":"2026-08-30T08:22:33.981Z","5.1.1":"2026-09-04T03:43:42.707Z","5.1.2":"2026-09-15T05:25:00.558Z"},"bugs":{"url":"https://github.com/zerodep/piso/issues"},"author":{"name":"Zerodep AB","url":"https://0dep.se"},"license":"MIT","homepage":"https://0dep.se/tools/","keywords":["ISO8601","interval","duration","date","week","weeknumber","ordinal","to milliseconds","iso","8601","parse","toISOString"],"repository":{"type":"git","url":"git+https://github.com/zerodep/piso.git"},"description":"ISO 8601 interval, date, and duration parser","maintainers":[{"name":"paed01","email":"pal.edman@outlook.com"}],"readme":"# piso\n\n[![Build](https://github.com/zerodep/piso/actions/workflows/build.yaml/badge.svg)](https://github.com/zerodep/piso/actions/workflows/build.yaml)[![Coverage Status](https://coveralls.io/repos/github/zerodep/piso/badge.svg?branch=main)](https://coveralls.io/github/zerodep/piso?branch=main)\n\nISO 8601 date, duration, and interval parsing package as declared on [Wikipedia ISO 8601](https://en.wikipedia.org/wiki/ISO_8601).\n\n> In Spain, piso refers to the whole apartment, whereas in Mexico, it refers only to the floor of your departamento.\n> But the above has nothing to do with this project.\n\n## Contents\n\n<!-- toc -->\n\n- [Api](#api)\n  - [`parseInterval(iso8601Interval[, enforceUTC])`](#parseintervaliso8601interval-enforceutc)\n  - [`parseDuration(iso8601Duration)`](#parsedurationiso8601duration)\n  - [`getDate(iso8601Date[, enforceUTC])`](#getdateiso8601date-enforceutc)\n  - [`getExpireAt(iso8601Interval[, compareDate[, startDate[, enforceUTC]]])`](#getexpireatiso8601interval-comparedate-startdate-enforceutc)\n  - [`getStartAt(iso8601Interval[, compareDate[, endDate[, enforceUTC]]])`](#getstartatiso8601interval-comparedate-enddate-enforceutc)\n  - [`getUTCLastWeekOfYear(Y)`](#getutclastweekofyeary)\n  - [`getUTCWeekOneDate(Y)`](#getutcweekonedatey)\n  - [`getISOWeekString([date])`](#getisoweekstringdate)\n  - [`getUTCWeekNumber([date])`](#getutcweeknumberdate)\n- [`new ISOInterval(source[, enforceUTC])`](#new-isointervalsource-enforceutc)\n  - [`interval.type`](#intervaltype)\n  - [`interval.parse()`](#intervalparse)\n  - [`interval.getExpireAt([compareDate[, startDate[, enforceUTC]]])`](#intervalgetexpireatcomparedate-startdate-enforceutc)\n  - [`interval.getStartAt([compareDate[, endDate[, enforceUTC]]])`](#intervalgetstartatcomparedate-enddate-enforceutc)\n  - [`interval.toJSON()`](#intervaltojson)\n- [`new ISODate(source[, options])`](#new-isodatesource-options)\n  - [`date.parse()`](#dateparse)\n  - [`date.parsePartialDate(Y, M, D, W)`](#dateparsepartialdatey-m-d-w)\n  - [`date.toDate([enforceUTC])`](#datetodateenforceutc)\n  - [`date.toJSON()`](#datetojson)\n- [`new ISODuration(source[, offset])`](#new-isodurationsource-offset)\n  - [`duration.parse()`](#durationparse)\n  - [`duration.getExpireAt([startDate[, repetition]])`](#durationgetexpireatstartdate-repetition)\n  - [`duration.getStartAt([endDate[, repetition]])`](#durationgetstartatenddate-repetition)\n  - [`duration.toMilliseconds([startDate[, repetition]])`](#durationtomillisecondsstartdate-repetition)\n  - [`duration.untilMilliseconds([endDate[, repetition]])`](#durationuntilmillisecondsenddate-repetition)\n- [Example](#example)\n- [Repetitions](#repetitions)\n  - [With end date](#with-end-date)\n- [Benchmarking](#benchmarking)\n\n<!-- /toc -->\n\n## Api\n\n### `parseInterval(iso8601Interval[, enforceUTC])`\n\nParse interval from an ISO 8601 interval string.\n\n- `iso8601Interval`: string with ISO 8601 interval source\n- `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\nReturns [ISOInterval](#new-isointervalsource-enforceutc).\n\nInterval sources are bounded by their field limits: repetitions accept at most 17 digits, a maximal date — signed 17 digit year, 17 second fractions, and offset with seconds — is 60 characters, and a maximal [duration](#parsedurationiso8601duration) is 129 characters. Consequently a valid interval never exceeds 209 characters.\n\n```javascript\nimport { parseInterval, ISOInterval } from '@0dep/piso';\n\nconst viableIntervals = [\n  '2007-03-01/2007-04-01',\n  'P2Y/2007-03-01T13:00:00Z',\n  '2007-03-01T13:00:00Z/P2Y',\n  'R5/P1Y/2025-05-01T13:00:00Z',\n  'R-1/2009-07-01T00:00Z/P1M',\n  'R-1/1972-07-01T00:02Z/PT1H3M',\n  'R-1/P1M/2024-07-27T00:00Z',\n  '2007-318/2007-319',\n  '2007-318/319T24:00:00Z',\n  '2026-09-01T10:00:00Z',\n];\n\nfor (const i of viableIntervals) {\n  console.log({ [i]: parseInterval(i).getExpireAt(), utc: parseInterval(i, true).getExpireAt() });\n}\n```\n\n### `parseDuration(iso8601Duration)`\n\nParse duration from an ISO 8601 duration string.\n\n- `iso8601Duration`: string with ISO 8601 duration source\n\nReturns [ISODuration](#new-isodurationsource-offset).\n\nInterval sources are accepted as well, e.g. `R3/PT10H` or `2007-03-01/P1Y`, in which case the duration part is returned.\n\nEach duration designator value accepts at most 17 digits, so a valid duration never exceeds 129 characters — more throws RangeError.\n\nA leading minus (`-` or unicode minus `−`) as of ISO 8601-2:2019 negates the duration, e.g. `-P1D`, and is only accepted by `parseDuration` and [ISODuration](#new-isodurationsource-offset) — not in intervals. The parsed result then has `sign: -1`, `getExpireAt` subtracts the duration and `getStartAt` adds it.\n\n```javascript\nimport { parseDuration } from '@0dep/piso';\n\nconst yesterday = parseDuration('-P1D');\n\nconsole.log(yesterday.result.sign, yesterday.getExpireAt(new Date(Date.UTC(2024, 2, 1))).toISOString());\n```\n\n```javascript\nimport { parseDuration } from '@0dep/piso';\n\nconst viableDurations = [\n  'PT1M5S',\n  'PT1M0.5S',\n  'PT0.5S',\n  'PT0.01S',\n  'PT0.001S',\n  'PT0.0001S',\n  'PT0.5M',\n  'PT0.5H',\n  'PT1.5H',\n  'P0.5D',\n  'P1W',\n  'P0.5W',\n  'P0.5M',\n  'P0.5D',\n  'P1Y',\n  'P1Y2M3W4DT5H6M7S',\n  'PT0S',\n  'P0D',\n];\n\nfor (const d of viableDurations) {\n  console.log({ [d]: parseDuration(d).getExpireAt() });\n}\n\ntry {\n  // fractions are only allowed on the smallest unit\n  parseDuration('P0.5YT3S');\n} catch (err) {\n  console.log({ err });\n}\n```\n\n### `getDate(iso8601Date[, enforceUTC])`\n\nGet Date from an ISO 8601 date time string.\n\n- `iso8601Date`: string with ISO 8601 date source, date and number are also accepted\n- `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\nReturns date.\n\n```javascript\nimport { getDate } from '@0dep/piso';\n\nconst viableDates = [\n  '2024-01-27',\n  '2024-02-28',\n  '2024-02-29',\n  '2020-02-29',\n  '2016-02-29',\n  '2024-W03-2',\n  '2024-01',\n  '2024-12',\n  '20240127',\n  '2024-012',\n  '2024012',\n  '2024-012T08:06:30',\n  '2024-02-27T08:06:30',\n  '2024-02-27T08:06:30.001',\n  '2024-02-27T08:06:30.0011',\n  '2024-02-27T08:06:30.0',\n  '2024-02-27T08:06:30,001',\n  '2024-02-27T08:06:30Z',\n  '2024-02-03T08:06:30+02:00',\n  '2024-02-03T08:06:30.5+02:00',\n  '20240203T080630+0200',\n  '2024-02-03T08:06:30-02:30',\n  '2024-02-03T08:06:30-02',\n  '2025-01-01T12:00:42.01-02:00',\n  '2025-01-01T12:00:42.01+02:30',\n  '2025-01-01T12:00:42.01+02:30:30',\n  '2025-01-01T23:59',\n  '2025-01-01T24:00',\n  '2025-01-01T24:00:00',\n  '2025-01-01T24:00:00.000',\n  '2025-01-01T24:00Z',\n  '2025-01-01T24:00+01',\n  '2025-01-01T24:00:00+01',\n  '2025-01-01T24:00:00.00+01',\n  '20240127T1200',\n  '20240127T120001',\n  '20240127T120001,001',\n  '2024',\n  '+102024',\n  '-00000012',\n  new Date(2024, 3, 22),\n  0,\n  Date.UTC(2024, 3, 22),\n];\n\nfor (const d of viableDates) {\n  console.log({ [d]: getDate(d), utc: getDate(d, true) });\n}\n\ntry {\n  getDate('2023-02-29');\n} catch (err) {\n  console.log({ err });\n}\n\ntry {\n  // not this year\n  getDate('2023-W53-1T12:00');\n} catch (err) {\n  console.log({ err });\n}\n\ntry {\n  // unbalanced separators\n  getDate('2023-02-28T1200');\n} catch (err) {\n  console.log({ err });\n}\n```\n\n> NB! string without timezone precision is considered local date, or as Wikipedia put it \"If no UTC relation information is given with a time representation, the time is assumed to be in local time\". Unless, of course, enforce UTC instruction is used.\n\n### `getExpireAt(iso8601Interval[, compareDate[, startDate[, enforceUTC]]])`\n\nParse interval and get the closest expire at date, see [interval.getExpireAt](#intervalgetexpireatcomparedate-startdate-enforceutc).\n\n- `iso8601Interval`: string with ISO 8601 interval source\n- `compareDate`: optional date that repetitions are compared against, defaults to now\n- `startDate`: optional start date, used when the source is a duration without start or end date, defaults to now\n- `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\nReturns date.\n\n```javascript\nimport { getExpireAt } from '@0dep/piso';\n\nconsole.log(getExpireAt('R-1/2024-01-01T00:00Z/P1M', new Date(Date.UTC(2024, 2, 15))).toISOString());\n// 2024-04-01T00:00:00.000Z\n\nconsole.log(getExpireAt('PT1H', undefined, new Date(Date.UTC(2024, 0, 1))).toISOString());\n// 2024-01-01T01:00:00.000Z\n```\n\n### `getStartAt(iso8601Interval[, compareDate[, endDate[, enforceUTC]]])`\n\nParse interval and get the start at date, see [interval.getStartAt](#intervalgetstartatcomparedate-enddate-enforceutc).\n\n- `iso8601Interval`: string with ISO 8601 interval source\n- `compareDate`: optional date that repetitions are compared against, defaults to now\n- `endDate`: optional end date, used when the source is a duration without start or end date, defaults to now\n- `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\nReturns date.\n\n```javascript\nimport { getStartAt } from '@0dep/piso';\n\nconsole.log(getStartAt('R-1/P1M/2024-12-01T00:00Z', new Date(Date.UTC(2024, 2, 15))).toISOString());\n// 2024-11-01T00:00:00.000Z\n```\n\n### `getUTCLastWeekOfYear(Y)`\n\nGet last week of year\n\n- `Y`: full year\n\nReturns 52 or 53.\n\n```javascript\nimport { getUTCLastWeekOfYear } from '@0dep/piso';\n\nconsole.log('last week number', getUTCLastWeekOfYear(2024));\n```\n\n### `getUTCWeekOneDate(Y)`\n\nGet Monday week one date\n\n- `Y`: full year\n\nReturns date Monday week one\n\n```javascript\nimport { getUTCWeekOneDate } from '@0dep/piso';\n\nconsole.log('Monday week one', getUTCWeekOneDate(2021));\n```\n\n### `getISOWeekString([date])`\n\nGet ISO week date string from date.\n\n- `date`: optional date, defaults to now\n\n```javascript\nimport { getISOWeekString } from '@0dep/piso';\n\nconsole.log('date as week', getISOWeekString(new Date(2021, 11, 28)));\n```\n\n### `getUTCWeekNumber([date])`\n\nGet weeknumber from date.\n\n- `date`: optional date, defaults to now\n\nReturns:\n\n- `Y`: full year representation of week date\n- `W`: week number\n- `weekday`: ISO weekday, 1 = Monday .. 7 = Sunday\n\n```javascript\nimport { getUTCWeekNumber } from '@0dep/piso';\n\nconsole.log(getUTCWeekNumber(new Date(2016, 0, 1)));\n```\n\n## `new ISOInterval(source[, enforceUTC])`\n\nInterval instance.\n\n**Constructor:**\n\n- `source`: ISO8601 interval source\n- `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\n**Properties:**\n\n- `repeat`: number of repeats\n- `start`: start date as [ISODate](#new-isodatesource-options)\n- `duration`: duration as [ISODuration](#new-isodurationsource-offset)\n- `end`: end date as [ISODate](#new-isodatesource-options)\n- `type`: [interval type](#intervaltype)\n- `get startDate`: start date as date, requires [parse()](#intervalparse) to be called\n- `get endDate`: end date as date, requires [parse()](#intervalparse) to be called\n\n### `interval.type`\n\nNumber representing the interval type flags. Available after [parse](#intervalparse).\n\n- `1`: Repeat\n- `2`: Start date\n- `4`: Duration\n- `8`: End date\n\n**Example flags**\n\n- `2`: Start date only, a point in time where start and expire dates coincide\n- `3`: Repeat and start date, rather pointless but possible nevertheless\n- `5`: Repeat and duration\n- `6`: Start date and duration\n- `7`: Repeat, start date, and duration\n- `10`: Start- and end date\n- `12`: Duration and end date\n- `13`: Repeat, duration, and end date\n\n> Do I have repeat in my interval?\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\nconsole.log((parseInterval('R3/P1Y').type & 1) === 1 ? 'Yes' : 'No');\n// Yes\n\nconsole.log((parseInterval('R-1/P1Y').type & 1) === 1 ? 'Yes' : 'No');\n// Yes, indefinite number of repetitions\n\nconsole.log((parseInterval('R-1/2024-03-27/P1Y').type & 1) === 1 ? 'Yes' : 'No');\n// Yes, indefinite number of repetitions from start date\n\nconsole.log((parseInterval('R-1/P1Y/2024-03-27').type & 1) === 1 ? 'Yes' : 'No');\n// Yes, indefinite number of repetitions until end date\n\nconsole.log((parseInterval('R0/P1Y').type & 1) === 1 ? 'Yes' : 'No');\n// No, zero is equal to once\n\nconsole.log((parseInterval('R1/P1Y').type & 1) === 1 ? 'Yes' : 'No');\n// No, since it's just once\n\nconsole.log((parseInterval('R1/2024-03-28').type & 1) === 1 ? 'Yes' : 'No');\n// No, pointless repeat\n\nconsole.log((parseInterval('R1/2024-03-28/31').type & 1) === 1 ? 'Yes' : 'No');\n// No, pointless repeat\n\nconsole.log((parseInterval('R1/P1Y/2024-03-28').type & 1) === 1 ? 'Yes' : 'No');\n// No\n```\n\n> Is start date defined in my interval?\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\nconst interval = parseInterval('R-1/2024-03-28/P1Y');\n\nconsole.log((interval.type | 2) === interval.type ? 'Yes' : 'No');\n```\n\n> Start date only\n\nAn interval consisting of only a start date is a point in time, start and expire dates are the same.\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\nconst interval = parseInterval('2026-09-01T10:00:00Z');\n\nconsole.log(interval.type);\n// 2\n\nconsole.log(interval.getStartAt().toISOString());\n// 2026-09-01T10:00:00.000Z\n\nconsole.log(interval.getExpireAt().toISOString());\n// 2026-09-01T10:00:00.000Z\n```\n\n### `interval.parse()`\n\nReturns [ISOInterval](#new-isointervalsource-enforceutc).\n\nThrows `RangeError` if something is off.\n\n### `interval.getExpireAt([compareDate[, startDate[, enforceUTC]]])`\n\nGet the closest expire at date. Parses the source if [parse()](#intervalparse) has not been called.\n\n- `compareDate`: optional date that repetitions are compared against, defaults to now\n- `startDate`: optional start date, used when the interval is a duration without start or end date, defaults to now\n- `enforceUTC`: optional boolean, overrides the constructor argument\n\nReturns date.\n\nA repeating interval walks the repetitions forward from the start date, or backward from the end date, and returns the first expire date after `compareDate`. An interval with an end date and no repeat returns the end date, and an interval with only a start date returns the start date.\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\nconst interval = parseInterval('R-1/2024-01-01T00:00Z/P1M');\n\nconsole.log(interval.getExpireAt(new Date(Date.UTC(2024, 2, 15))).toISOString());\n// 2024-04-01T00:00:00.000Z\n```\n\n### `interval.getStartAt([compareDate[, endDate[, enforceUTC]]])`\n\nGet the start at date. Parses the source if [parse()](#intervalparse) has not been called.\n\n- `compareDate`: optional date that repetitions are compared against, defaults to now\n- `endDate`: optional end date, used when the interval is a duration without start or end date, defaults to now\n- `enforceUTC`: optional boolean, overrides the constructor argument\n\nReturns date.\n\nA repeating interval returns the start of the repetition that expires first after `compareDate`. An interval with a start date and no repeat returns the start date.\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\nconst interval = parseInterval('R-1/2024-01-01T00:00Z/P1M');\n\nconsole.log(interval.getStartAt(new Date(Date.UTC(2024, 2, 15))).toISOString());\n// 2024-03-01T00:00:00.000Z\n```\n\n### `interval.toJSON()`\n\nGet interval represented as JavaScript Object Notation.\n\n```javascript\nimport { ISOInterval } from '@0dep/piso';\n\nconsole.log(JSON.stringify({ interval: new ISOInterval('R2/P1Y/2024-03-28') }, null, 2));\n```\n\n## `new ISODate(source[, options])`\n\nISO date instance.\n\n**Constructor**:\n\n- `source`: ISO 8601 date source string\n- `options`: optional parsing options\n  - `offset`: source string offset column number, -1 is default\n  - `endChars`: string with optional characters that mark the end of the ISO date, e.g. `/`\n  - `enforceSeparators`: boolean that will require time part separators such as `-` and `:`\n  - `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\n**Properties:**\n\n- `result`:\n  - `Y`: full year\n  - `M`: javascript month\n  - `D`: date or ordinal day\n  - `H`: hours\n  - `m`: minutes\n  - `S`: seconds\n  - `F`: milliseconds, including fractional milliseconds when the source has more than 3 fraction digits; at most 17 fraction digits are accepted, more throws RangeError\n  - `Z`: Z, +, −, or -\n  - `OH`: offset hours\n  - `Om`: offset minutes\n  - `OS`: offset seconds\n  - `isValid`: boolean indicating if parse was successful\n\n### `date.parse()`\n\nParse the source and populate `result`. Returns [ISODate](#new-isodatesource-options).\n\nThrows `RangeError` if something is off.\n\n### `date.parsePartialDate(Y, M, D, W)`\n\nParse partial date as compared to passed date part arguments.\n\n- `Y`: required full year\n- `M`: optional javascript month, required is not ordinal day\n- `D`: required date, weekday (1 = Monday .. 7 = Sunday) if `W` is passed, or ordinal day\n- `W`: optional week number, then `D` is the week day\n\nReturns [ISODate](#new-isodatesource-options)\n\n### `date.toDate([enforceUTC])`\n\nGet Date represented by source.\n\n- `enforceUTC`: optional boolean, enforce UTC if source lacks time zone offset\n\n### `date.toJSON()`\n\nGet Date represented as JavaScript Object Notation.\n\n## `new ISODuration(source[, offset])`\n\nDuration instance.\n\n**Constructor**:\n\n- `source`: duration source string\n- `offset`: optional source string offset column number\n\n**Properties:**\n\n- `result`:\n  - `Y`: years\n  - `M`: months\n  - `W`: weeks\n  - `D`: days\n  - `H`: hours\n  - `m`: minutes\n  - `S`: seconds\n  - `sign`: `-1` if the source has a leading minus, otherwise absent\n  - `isValid`: boolean indicating if parse was successful\n\n### `duration.parse()`\n\nParse the source and populate `result`. Returns [ISODuration](#new-isodurationsource-offset).\n\nThrows `RangeError` if something is off.\n\n### `duration.getExpireAt([startDate[, repetition]])`\n\nGet the date the duration expires at, applied in UTC. A negative duration subtracts instead.\n\n- `startDate`: optional start date, defaults to now\n- `repetition`: optional number of times to apply the duration, defaults to 1\n\nReturns date.\n\n```javascript\nimport { parseDuration } from '@0dep/piso';\n\nconst duration = parseDuration('PT2H30M');\n\nconsole.log(duration.getExpireAt(new Date(Date.UTC(2024, 0, 1)), 2).toISOString());\n// 2024-01-01T05:00:00.000Z\n```\n\n### `duration.getStartAt([endDate[, repetition]])`\n\nGet the date the duration started at, i.e. the duration subtracted from the end date in UTC. A negative duration adds instead.\n\n- `endDate`: optional end date, defaults to now\n- `repetition`: optional number of times to apply the duration, defaults to 1\n\nReturns date.\n\n### `duration.toMilliseconds([startDate[, repetition]])`\n\nGet duration in milliseconds from optional start date.\n\n- `startDate`: optional start date, defaults to `1971-01-01T00:00:00Z` since it is not a leap year\n- `repetition`: optional number of times to apply the duration, defaults to 1\n\n### `duration.untilMilliseconds([endDate[, repetition]])`\n\nGet duration in milliseconds until optional end date, hence a negative number for a positive duration.\n\n- `endDate`: optional end date, defaults to `1971-01-01T00:00:00Z`\n- `repetition`: optional number of times to apply the duration, defaults to 1\n\n## Example\n\nAn example to get start and end date:\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\nconst source = '2007-03-01T13:00:00Z/P1Y2M10DT2H30M';\n\nconst interval = parseInterval(source);\n\nconsole.log('starts at', interval.getStartAt());\nconsole.log('expires at', interval.getExpireAt());\nconsole.log('duration milliseconds', interval.duration.toMilliseconds());\n```\n\nAn example to get duration milliseconds:\n\n```javascript\nimport { parseDuration } from '@0dep/piso';\n\nconst duration = parseDuration('PT2H30M');\n\nconsole.log('duration milliseconds', duration.toMilliseconds(new Date()));\n```\n\n## Repetitions\n\n### With end date\n\n`R4/P2Y/2007-08-01`\n\n| Repetition | start at   | expire at  |\n| ---------: | ---------- | ---------- |\n|          4 | 1999-08-01 | 2001-08-01 |\n|          3 | 2001-08-01 | 2003-08-01 |\n|          2 | 2003-08-01 | 2005-08-01 |\n|          1 | 2005-08-01 | 2007-08-01 |\n\n## Benchmarking\n\nOn Node 24 piso parses intervals 4–7.5 times and dates 4–5 times faster than luxon, and durations 1.2–2.2 times faster than luxon and iso8601-duration. Native `new Date` is still 2–3 times faster than piso. What piso does that neither native `Date` nor the RegExp-based libraries do is tell you where a malformed string went wrong:\n\n```javascript\nimport { parseInterval } from '@0dep/piso';\n\ntry {\n  parseInterval('R5/2024-01-01T00:00Z/P1Y2M10DT2H3OM');\n} catch (err) {\n  console.log(err.message);\n  // Unexpected ISO 8601 duration character \"R5/2024-01-01T00:00Z/P1Y2M10DT2H3[O]\" at 33\n}\n```\n\nThroughput tables, the capability and error message comparison against luxon, iso8601-duration, and temporal, and how to run the suites are in [bench/README.md](bench/README.md). The numbers there come from executed `npm run bench` and `npm run compare` runs and note the Node version, since the margins over the RegExp-based libraries shift between V8 versions.\n","readmeFilename":"README.md"}