{"_id":"@musement/iso-duration","_rev":"12-46b932d17a2258cb7ab8d99ed2e75127","name":"@musement/iso-duration","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.5":{"name":"@musement/iso-duration","version":"0.0.5","author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@0.0.5","maintainers":[{"name":"przemkow","email":"przemkow92@gmail.com"},{"name":"cronzio","email":"cristian.ronzio@musement.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"}],"dist":{"shasum":"83922811faec3fb05ca7d706cf1d15047901ec00","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-0.0.5.tgz","fileCount":142,"integrity":"sha512-m+k4xlK79UFXgU9HUIhTeiFRunidVcsyTmwk8qEjlOZmxPXNPA5DqcTSYF1BwotzJPNH7AADb7n0O8fJqQx0Fw==","signatures":[{"sig":"MEQCIBsplOk4FYZ/Vq+2F4jV1nyJa320s6U2Ydo0m2isliU9AiAox9PQvXU2WTjRw8aRSM22qVj8Ds6K9hD/VP/Uw1okIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":141551,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesZOWCRA9TVsSAnZWagAAkxEQAId5IHylFxA1ETYhVAct\nGnPkGtCK0S8YweLVY1NyXlAjzshL3PSQs/SBs4CCi92t6gnqp4cm6IZW6SxQ\nUNXr7XLF0TF4Hp1fRJsVORe+jrdU/FrgNLU3C7onfig75W8XOMfarg4RFjSc\n7HsuMd7mcMLYFqszpl+HEF49hjCXkedRlmojV15xfDNE1PH3njrUiH4ph8Vn\nH3aiLXK9GAV5LWrwQLwXtrCCyq3pwMM05R82BGvFyp8Dm09JJgmS/Z12za6v\nQTLYyTJufVbH3bA2jzWKjgX0QiOVVUTUT6Idzuuj319ynddG40+WyMKuaW/I\nMh8WP2/gjJ/AMffEqPfHGoSidhHmG9gb2+1NuNmKQLEqTNoYXhOtfOT5srgp\nkurAoW4kIvKZFCXjScFaQjrDfRwIaLYrpj+0zxwCuOyemtyf9zNR6/uDeaNo\nJv3d3dKrLTSpOgq2I2iEkAMIgwQwCg7WKTIiIkakUGATLSZNK5UPiJvE3FJg\nvYpUroMLq4nBjUGuvYgbPyFQdr2nvcW5edkYZnff6a6QPIM+iCnR12aVyFy3\n+3/Wc7bzDc2iEg0SmOdTSrI5Wuu5iwwVySTb+BXunrRrmGUykJH96xAqQfIp\nQVBUlnEM96wiCCwIziPiseBXWOM+puWUE4fZLDwtkWwIq8i4YFbwxaYjcwqk\nc8Ze\r\n=aoNC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"6d90133ef1af3fe88185532780429ecda8dcd5db","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"przemkow","email":"przemkow92@gmail.com"},"_npmVersion":"6.14.4","description":"#### Instalation:  ``` //Check current version at the end!!! npm i --save @musement/iso-duration@git+ssh://git@gitlab.com:musement/frontend-shared/domain-content/iso-duration.git#v0.0.2 ```","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^6.8.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.2.1","prettier":"^1.19.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^8.3.5","standard-version":"^7.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","rollup-plugin-analyzer":"^3.2.2","@typescript-eslint/parser":"^2.24.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_0.0.5_1588695958325_0.4885530053378948","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@musement/iso-duration","version":"0.0.6","author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@0.0.6","maintainers":[{"name":"cronzio","email":"cristian.ronzio@musement.com"},{"name":"przemkow","email":"przemkow92@gmail.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"}],"dist":{"shasum":"0cf55a5af840acbd449c2e6346f7b072ab85fd17","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-0.0.6.tgz","fileCount":65,"integrity":"sha512-x2Q02WCC7bRSQVP9URPFYhvj6XSC4aTOlhHD9mjBnjAfCPIMazMIH5y3Rt2Rf8UK0JJ0Fii3mGVoRHBpIFXVnA==","signatures":[{"sig":"MEUCIGbkVAwPMfe63LtKXwM3/mEZ9aU65UYicwxATvVzN/I0AiEAyYkp85oe8pNM4go92LIcQy/mInYQlKhXpBTi4f9nJd4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesZSbCRA9TVsSAnZWagAAvYEP/jiZI8PW236aUZDiGrf/\nxX+CZsljcQeAhkpBtb9FYLCg0vx9AcwvPRZ6pQlbkcCBwkEQoFRUT/xoqReX\ndWYI0dLaDoPi9GZ0OqpSzIgI8pazQdabWGq/0vbqhlyaf0SOgju4ko0BIuwL\noAD616uDFDp8yJLRhzSWTgsaaOayoCTDxAG6G8ZN4zKr6WxkaIqm8I/Vl6dT\nzqziPtVDD+qhII6mLsWNbU32+FNNpKMfOKytrT3InsDiHW7QBGv+GhK2n7zH\npTPHdpcmF3A78UvuI7AQepiQXXByu1UhYahxRc+I3da9zv6CyXuLUpuI97oE\n02NjLBqOBqqSJ1NDAICkQzCWiH6aWEhp7fCj+UL8w2LdrbWngpOzCnZ8ZEtn\nenyjMPeXH7Ub3uMFvRWqXwKCmBlmXJB7jchCcLhk09dl845cTnVqTFKc7hCb\n91GuCx5XJHnnYiie55soUO/KkGe1KSi4JmR7JSgvtB0gMpj1zcc3EC6i01OS\n+dV7E5VsQJBGvlTybUG0yFVWgHcgFAkZMjJDdAlEGyyC+2g7fd062sqZyM/H\nWxs7l9iD0oMc0heKPJktVmCpNjLXDrOw00fSwjYnUk0JvNYaOeErc5Gfkn5N\nMhDiZv17RVE2Q0hfaIJCCeyVSxhVLQ1dkKKxzAhLqI6MK40+FItzFEHfFHfD\n+I/J\r\n=ey1o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"43340e877cc36d3ed2b3b9c9b5ba930cdb4e8c67","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"przemkow","email":"przemkow92@gmail.com"},"_npmVersion":"6.14.4","description":"#### Instalation:  ``` //Check current version at the end!!! npm i @musement/iso-duration --save ```","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^6.8.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.2.1","prettier":"^1.19.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^8.3.5","standard-version":"^7.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","rollup-plugin-analyzer":"^3.2.2","@typescript-eslint/parser":"^2.24.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_0.0.6_1588696219486_0.33801228372965286","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@musement/iso-duration","version":"0.0.7","author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@0.0.7","maintainers":[{"name":"cronzio","email":"cristian.ronzio@musement.com"},{"name":"przemkow","email":"przemkow92@gmail.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"}],"dist":{"shasum":"6ade6a8efb881923928efd0afce7e0026eed2187","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-0.0.7.tgz","fileCount":65,"integrity":"sha512-rsxlYtYx47FlH94dzOI9nEiwdGRaBuDmm3vbq6LhHZVDE7xJD+VfjzHDQmDdTmyu7UA/qz6kAaWHksriJWibow==","signatures":[{"sig":"MEUCIGXTNBj8kRj2SFAJSYusGtm5CtrpNAqZMkNZoh/MkdwRAiEAxC2tKQRBWM4tBDbbMGBNGD+cBqGBZJxgI2TpNdd1+lU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJesZZDCRA9TVsSAnZWagAAxqIQAJvKz/ltnrLWSEKlxDgG\n4xOvuYlwt1QbjDC2xV4BBOrMlSf7y+1BOwqhMGZRgFbwqDwau8imgcznOWM+\nKnEAeep51QGuojDriN8+oubljOnIWDghph5N/88iZh49vfV5x5pKLpNyG4CP\n7oB1oZHJ6I9qLcN9kIRIoptgECZph09TLs+5WBEcuZUz7lSXFopzvsBB4CVH\n/n/H7zS3kjIl9+REBkz7bmP2laQQ9FoKVYIW44Fl5A3I1uIK/VtT8DIU8seL\nASdBuTI8MRuCqoELi8fwL+Z1R2aZGGhSgnC5YEfjAC9dslKzZFMmW9upfUGm\n93Y4Gnkn2rqk3hjJopZndnMBTtBxig5YPEwMTfuIT1bBKpYA4DQioJKgpHFG\nVKqaFtn5+takv70CIFaJil57AE/GVDY0rp/CTcjx+cZ5wcIZLsJdkP3suloe\nvuX6gyPPWpf3JaD+1GrdRdR8dXmUXs1SWW7q5ke7EBuj5EhXYMlJLOTvyTYv\n94Te9C+QuV1hXTVNI6gVGOAzq5ZBJ6UU41MILMHEDvOM8cz85xjE1onVcoN+\nPKubfv+Ho2vV3diP0jbscBVHCKd1IQeVULkOmcIke8KqibvnD7IX02p0u1rX\n4MSdTLYEFLtyWkZzl9A9tYXX+7lBqO5A+W7mqF7Lgb+tI0XESyC5AA2IYIrE\nqrg6\r\n=47+6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"99b8187cb216cc7fd360554e605d0f923c211be7","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"przemkow","email":"przemkow92@gmail.com"},"_npmVersion":"6.14.4","description":"#### Instalation:  ``` npm i @musement/iso-duration --save ```","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^6.8.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.2.1","prettier":"^1.19.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^8.3.5","standard-version":"^7.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","rollup-plugin-analyzer":"^3.2.2","@typescript-eslint/parser":"^2.24.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_0.0.7_1588696642322_0.5205094172415454","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@musement/iso-duration","version":"0.0.8","author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@0.0.8","maintainers":[{"name":"cronzio","email":"cristian.ronzio@musement.com"},{"name":"marcozi","email":"zilianimarco@gmail.com"},{"name":"przemkow","email":"przemkow92@gmail.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"}],"dist":{"shasum":"99281f69f18321759acf85ebaa3200f5392fee68","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-0.0.8.tgz","fileCount":65,"integrity":"sha512-9bnGi+Y4ONhvOiMGNvroHFKl1DAfWt3mZkmHIy8IUW1Myp8VARf9PaVK7E1gRxdP11NJY44y6JZBkDjeJgmN3Q==","signatures":[{"sig":"MEYCIQDlek8lqeu3nng2ziYjdlaRkjgXdObcYILQoncPRQ/THAIhAPz3IxMOJ5bDkanYf95IzURAul9DuAMwto+KnjG1fv0+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevpEvCRA9TVsSAnZWagAAxq4P/1xij98K7LgDeYpj+Kn4\nJ8/tEka/m1fWKxqg3gTgskwxMLYHaMOj0p+4/KR4fas83FOnkdDDDk9wdyle\ngHCe5Cpmv9bqBFXZAwR1MsingE4KFYdnJorKugw4WSinoSNkeHjXNtAvI4qw\nh9zs+2fVvbvpmHsk12xjgm9w1PbDG6ZCjwMsoPgosr0aeUfXEV+0QyMs5OHf\n+RR/T7FJ5QcmF1KSY2aWeZsr9nSOg/g7YrlpS1lXiu1uUDibVwH8CKgtl0c/\nTS28JlC030Bs/t0a/9bfgOsnLXyqovb2hwhab9JLI5+kGDzjdc2OVojosFH2\nf7tL8PWtyYiKliU7/Fx8PRdVW9kavDspZ4aYURJpTc5UBhqQDhCluIZIrdKI\nXniMVeobgi9/cr7z+G0wjz3o6QtyFsF9Tpu0kzXQycE1DuhwMhb8W3cWv0Y2\n87DHNtIy04Iip8DUNOI6Fsv6c+T3w8zEKFX1om5yteimyriqlrsUiKHZV/uk\nuk5jD3BnbA9aQa3t0zz2tGeUlKUdh5Zcn9dUYb5C/q1m7mM89qn1awseLB45\n73FWDyvDUA+uKYJuowV25VKaKNGt0/TuHcVtBx0ctIDOGhwNNhkBG4J+/h+f\nfovQZlSxlblqcclcCjwgvaCHOhYqFiqhZ8SpaX7RxsmkjOp4F52GmAk1VFiC\nZ/DA\r\n=/0M9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"3a000b615348db1eaa559a4acea6ee38c5a3aca7","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"marcozi","email":"zilianimarco@gmail.com"},"_npmVersion":"6.14.5","description":"#### Instalation:  ``` npm i @musement/iso-duration --save ```","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"11.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^6.8.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.2.1","prettier":"^1.19.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^8.3.5","standard-version":"^7.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","rollup-plugin-analyzer":"^3.2.2","@typescript-eslint/parser":"^2.24.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_0.0.8_1589547311487_0.2648212044437901","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@musement/iso-duration","version":"0.0.9","author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@0.0.9","maintainers":[{"name":"cronzio","email":"cristian.ronzio@musement.com"},{"name":"marcozi","email":"zilianimarco@gmail.com"},{"name":"przemkow","email":"przemkow92@gmail.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"}],"dist":{"shasum":"8623ac38ffca5d9d3449f0aedf26be1cac7deab6","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-0.0.9.tgz","fileCount":65,"integrity":"sha512-YHaBUcDgiICyuxS4VP86hf89xwWz/nEi+x4EZ5UtCFmzrZlV1iCgpO7i5Vhn1LDxOjXiqAhsT3Dv+1R8etvVbA==","signatures":[{"sig":"MEUCIDAwZMZ3wJRdUkI+OKpsEotVlnZri3NZOtk5RR8PMSDCAiEAlcPL6SgrC4b92AVZxChLNux4ag3gxf5gwKnbV2LONok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":91956,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9GnjCRA9TVsSAnZWagAAlC4QAJM1tqS1bdWyfQ0Y00lB\nL14yeMSjfxlFvQdswmc8D83x5aBYyXZ+/pXMQPJfLTvx8eZ5KbimYq0C6/uw\noQA1jEsSnaKZS4d+g5xARGKEpBF5O7fyefz5kCuL9fEpB/dSlSUVyzOccgzh\nHvClytmr93FnKQ1vuJEvnCEFjDhybpVQWwU4XaJw9bZKyQJJLHOdRoYAZd48\nOoekdZJnziu1Jd8qGxLXVZeLPHVWAbwoTedaMK+3AKSP3sBWQBi27zcazuS2\nbXWkBBWNEGpygr0Go/raffXu/XfwKNEoLRT3CD3+GF+ZQJmnVuuZic/6cGsP\nRUHEMsg0frFfWTcTIRy1LDCEaIGyuZhZA+23pKXR1D2VDeEcM/ibwjHWo319\nlcrcsM1RE8PG8RfV6iZE2i7lPh71Qvva2pU1wRIM96IGuzJvXT1YcdWKvV0s\nMN+OtvUFmNT4RQNNknIn3qVAXdk8/kWAJU0IouCm8RaolUg3b0Am9hm34f9R\nkS7+iI6M99BoOD4NXCsALDBVtYt+NaRY6UNzE7XsK6uf0hPAVe9MNli/0qdy\n39+2jaJ0E/7ZU4sgbzAwtMCINW6Ujcd4YNZN3xSi4LBe92LvEhSmMnyRaVfT\n1G1MywTP6DZnwvKXmsUvnXu1m3N1IItBmNQzfZWsDpEYmuxdA6mOHeDuvHCt\npBhn\r\n=4Ewh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"2b7e502521279b02ee68c02b21d53aa3f7ac3a2a","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"przemkow","email":"przemkow92@gmail.com"},"_npmVersion":"6.14.5","description":"#### Instalation:  ``` npm i @musement/iso-duration --save ```","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^6.8.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.2.1","prettier":"^1.19.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^8.3.5","standard-version":"^7.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","rollup-plugin-analyzer":"^3.2.2","@typescript-eslint/parser":"^2.24.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_0.0.9_1593076194482_0.6566457755362707","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@musement/iso-duration","version":"0.0.10","keywords":["iso","duration","iso8601","humanize","time"],"author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@0.0.10","maintainers":[{"name":"cronzio","email":"cristian.ronzio@musement.com"},{"name":"marcozi","email":"zilianimarco@gmail.com"},{"name":"przemkow","email":"przemkow92@gmail.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"},{"name":"Marco Ziliani","email":"marco.ziliani@musement.com"}],"homepage":"https://github.com/musement/iso-duration#readme","bugs":{"url":"https://github.com/musement/iso-duration/issues"},"dist":{"shasum":"8de9f71755096cfa3d4893d4604d431079122561","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-0.0.10.tgz","fileCount":65,"integrity":"sha512-fYiqCluyCVRaNY91DtQfqs4JmTEken6HxrDtvsbTDmZ2Gha+UN69tDekhPrHecabuBm9hCPyZmfiIK7/pRiKcQ==","signatures":[{"sig":"MEYCIQC/qwQs0GFVw0v0QujrLlHVU8cPikgyy2dxTtyW29o1pgIhALAUMhmTHWDEHW6j0aYbNjJHgh0/r2N53JQ1bxM7cyHw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":92858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNVaaCRA9TVsSAnZWagAAK6QP/11qYYxQlUTGyZwiSwIN\n7NgIRwRaK/xyP4h8v5dSbtNV3X7NsPUi+fE0VPW2iHoGPyjhmGZiSnkPSAqX\nQoLD1Oo4phk5xTOC/uID/1u5GrShPAacoAtkxC4JQ/dMV/7rPIWugmgd/IH3\nVvRPcihTrIp8IpCYAzAe0d9Yqar/f/R4DL3PbmTS0rnpyvBLV+SclJLmJuf4\n2YyF7GjI5RkQA2+zOkl4GdE9FkpLrRJ0y8E6PL1t6kQAVgtt/ec6rez/xYva\nUVI007a0EdvNL6yduj5o3TJnKVVdpVccER24cOHgb1VHq2zqqY/k2Kg0up72\n1r+NHA/ssw0B9GBnxTiG3NmmUWL1enQhYhNa+G6U/o65mlRWKy63DWeoYjNx\nvnUf8A8zTue1bq3isWsm6ZAfn3sp1DW1Pk4FwXvKYviMus67X6y7z7+CeZxK\ndVMezBpo8+Qu3hHzGzq9shIPWbaGU3Sux1o7ZcZMCLDU2KXIqZFSAoQqL0O0\nYkYEwyfphK/8y/bB0dzDsSbbLssOcMcLbMWzQwRUlBomlnCQ0ZaYIJUfH0hk\nfM7edZL8Sf0qwcLKpMf20jBZQDjcIxU0QHu5JfCyzKuI24vgmteCOc6WY+eV\n4paVdZrMS2AgnlDeZztd1Zl55DUzWxjk4//KD7oAsH+pf79aDAudncWytGa1\n9djs\r\n=MaBL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"1f23b8759f0bdc9435379b14c742e253acc36c26","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"przemkow","email":"przemkow92@gmail.com"},"repository":{"url":"git+https://github.com/musement/iso-duration.git","type":"git"},"_npmVersion":"6.14.7","description":"JS's library created to provide easy API for working with time duration.   Based on ISO 8601.   Inspired by [HumanizeDuration](https://github.com/EvanHahn/HumanizeDuration.js) and [ISO8601-duration](https://github.com/tolu/ISO8601-duration).","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^6.8.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.2.1","prettier":"^1.19.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^8.3.5","standard-version":"^7.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-prettier":"^3.1.2","rollup-plugin-analyzer":"^3.2.2","@typescript-eslint/parser":"^2.24.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^8.3.4","@typescript-eslint/eslint-plugin":"^2.24.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_0.0.10_1597331098081_0.09162558335702076","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@musement/iso-duration","version":"1.0.0","keywords":["iso","duration","iso8601","humanize","time"],"author":{"name":"Musement"},"license":"ISC","_id":"@musement/iso-duration@1.0.0","maintainers":[{"name":"cronzio","email":"cristian.ronzio@musement.com"},{"name":"przemkow","email":"przemkow92@gmail.com"},{"name":"marcozi","email":"zilianimarco@gmail.com"}],"contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"},{"name":"Marco Ziliani","email":"marco.ziliani@musement.com"}],"homepage":"https://github.com/musement/iso-duration#readme","bugs":{"url":"https://github.com/musement/iso-duration/issues"},"dist":{"shasum":"b45ba8acb0b998488744e41da15a391e5f550c48","tarball":"https://registry.npmjs.org/@musement/iso-duration/-/iso-duration-1.0.0.tgz","fileCount":65,"integrity":"sha512-gTJOmIXfsh5AyOdsUwkYcAIdWd9fCa/e0dV7mfV/B+oDOoJne5ciNMazDdQacylbWTQpF5aMdp2xrHVEwiryfg==","signatures":[{"sig":"MEYCIQCHmDjI1F8SLDEBs0nTV5yIv496E7MzLvpHvaKC0fs5kAIhAI/SYY0AxBVyns8iTcEjlgeQ6hWWUskKV8e3fdPjonrj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":93073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJ92CCRA9TVsSAnZWagAAVeMP/0zOZs+tD6i5wv2uo6EU\nTQviNHg4bCyYdpQctE50QnS27X7fHmMjXbkM98JGfPENNNK5HqMcSJrqfqbg\nHRqfZVe5dShZxuUSgphCzNrEHAclDKMYCWUcB2hVNUR+2lqp0HgWNMHSeXtO\nZv1cVcIdnmQXy8IAzWAG6MzNNumsRhtw20YmBfJCR0utFCUjOvelKIR9yBg1\npvJAf766Nkmyr8gi+e8YsSdXL3FgLIY/ikBq5IbtX9OGBH5XYhWmSbjFp41K\nQkzsH3rkjUPAKRrxoQZ0MZJ8bGNi0l5kmFB0re+xr/IFcON1R/NKHeom89PG\nMZD6AY9wB7OzyM0GrxYUgyayk6Rhwf+sNz1VIhIm/I6eI/KJblBmih6/aEwb\nLDuC5xtBpVvU7QPjoaz4U6S/ePU3K8st2YXJw9G5r05FU1/vkNLa7JqQBsKk\niL76yPF0KcFsCwWEJNe0bkdMuVrMwvlzv/HZ/RklHZHp9fxeCc0tB5KwKRrk\nhBtRM9sdcrIdxmbxBXk4lPqUKngTmtbRIG+3WPFJY5rUho3CWjUfOyD9sc1v\n2UOm9CR0FmkkAFZKmZ2dg6Hshw/JwnIZ1L8M3Ohb7ZQLfZgJQ5HXn0EQYDCE\nvp2kIZ3TVB/tMSkxAjH2o1/cduKeT23oIr1ilgIHQ/rcQIJZPSN562cqnKYr\nXuqt\r\n=o3I+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs.js","husky":{"hooks":{"pre-push":"npm run typeCheck && npm run test","commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"lint-staged"}},"types":"./dist/types/index.d.ts","module":"./dist/index.esm.js","gitHead":"ca7e71557303997aaee6afc6295b4b33b9049da6","scripts":{"lint":"tsc --noEmit && eslint . --ext .ts,.js","test":"jest","build":"rollup --config build/rollup.config.js","watch":"rollup --config build/rollup.config.js --watch","develop":"node ./develop/testing_enviroment.js","release":"standard-version --commit-all","prebuild":"npm run clean_dist","typeCheck":"tsc --noEmit","clean_dist":"rimraf dist/*","prerelease":"npm run build && git add dist/"},"_npmUser":{"name":"przemkow","email":"przemkow92@gmail.com"},"repository":{"url":"git+https://github.com/musement/iso-duration.git","type":"git"},"_npmVersion":"6.14.9","description":"JS's library created to provide easy API for working with time duration.   Based on ISO 8601.   Inspired by [HumanizeDuration](https://github.com/EvanHahn/HumanizeDuration.js) and [ISO8601-duration](https://github.com/tolu/ISO8601-duration).","directories":{},"lint-staged":{"*.{js,ts}":["eslint --fix","git add"]},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"jest":"^25.1.0","husky":"^4.2.3","tslib":"^1.11.1","eslint":"^7.19.0","rimraf":"^3.0.2","rollup":"^2.1.0","ts-jest":"^25.5.1","prettier":"^2.2.1","babel-jest":"^25.1.0","typescript":"^3.8.3","@types/jest":"^25.1.0","lint-staged":"^10.0.8","@commitlint/cli":"^11.0.0","standard-version":"^9.0.0","rollup-plugin-analyzer":"^3.2.2","@musement/eslint-plugin":"^1.0.0","rollup-plugin-typescript2":"^0.26.0","@commitlint/config-conventional":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/iso-duration_1.0.0_1613225346080_0.6214104278649955","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-05-05T16:25:58.059Z","modified":"2024-07-15T12:32:27.396Z","0.0.5":"2020-05-05T16:25:58.450Z","0.0.6":"2020-05-05T16:30:19.581Z","0.0.7":"2020-05-05T16:37:22.605Z","0.0.8":"2020-05-15T12:55:11.609Z","0.0.9":"2020-06-25T09:09:54.695Z","0.0.10":"2020-08-13T15:04:58.222Z","1.0.0":"2021-02-13T14:09:06.224Z"},"bugs":{"url":"https://github.com/musement/iso-duration/issues"},"author":{"name":"Musement"},"license":"ISC","homepage":"https://github.com/musement/iso-duration#readme","keywords":["iso","duration","iso8601","humanize","time"],"repository":{"url":"git+https://github.com/musement/iso-duration.git","type":"git"},"description":"JS's library created to provide easy API for working with time duration.   Based on ISO 8601.   Inspired by [HumanizeDuration](https://github.com/EvanHahn/HumanizeDuration.js) and [ISO8601-duration](https://github.com/tolu/ISO8601-duration).","contributors":[{"name":"Przemysław Fałowski","email":"przemyslaw.falowski@musement.com"},{"name":"Marco Ziliani","email":"marco.ziliani@musement.com"}],"maintainers":[{"email":"zilianimarco@gmail.com","name":"marcozi"}],"readme":"## @musement/iso-duration\n\nJS's library created to provide easy API for working with time duration.  \nBased on ISO 8601.  \nInspired by [HumanizeDuration](https://github.com/EvanHahn/HumanizeDuration.js) and [ISO8601-duration](https://github.com/tolu/ISO8601-duration).\n\n#### Installation: \n```\nnpm i @musement/iso-duration --save\n```\n\n#### Quick start:\n```js\n// Import isoDuration and locales\nimport { isoDuration, en, pl, it } from '@musement/iso-duration'\n\n// Setup locales\n//   key - string you want to use in `humanize` function\n//   value - IsoDuration i18n object.\nisoDuration.setLocales(\n  {\n    en,\n    pl,\n    it,\n  },\n  {\n    fallbackLocale: 'en',\n  }\n)\n\n//Create duration object\nconst duration = isoDuration(\"P8DT30M\")\n// OR\nconst duration = isoDuration({\n  days: 8,\n  minutes: 30\n})\n\n//Get JS duration object\nconsole.log(duration.parse())\n// {\n//   weeks: 0,\n//   years: 0,\n//   months: 0,\n//   days: 8,\n//   hours: 0,\n//   minutes: 30,\n//   seconds: 0\n// }\n\n//Get duration ISO string\nconsole.log(duration.toString())\n// P8DT30M\n\n//Humanize duration \nconsole.log(duration.humanize('en'))\n// 8 days 30 minutes\n\n\n``` \n\n#### API:\nDuration object supports:\n * [ISO_8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration string (`PnYnMnDTnHnMnS`, `PnW`)\n * JS objects:\n```js\n{\n  \"weeks\": Number,\n  \"years\": Number,\n  \"months\": Number,\n  \"days\": Number,\n  \"hours\": Number,\n  \"minutes\": Number,\n  \"seconds\": Number,\n}\n```\n\nExample:\n\n```js\nimport { isoDuration } from '@musement/iso-duration@'\n\nconst durationFromString = isoDuration(\"P8DT30M\")\nconst durationFromObj = isoDuration({\n  days: 8,\n  minutes: 30,\n})\n```\n\n### i18n\nAll languages which are expected to be available in `.humanize` method needs to be loaded using `isoDuration.setLocales`\nfunction. Currently, library provides support for languages listed under `/src/locales`.\n\n```js\nimport { isoDuration, en, pl, it } from '@musement/iso-duration'\n\nisoDuration.setLocales({\n  en,\n  pl,\n  it,\n  'en-GB': en,\n  'en-US': en,  \n})\n```\n\n#### Configuration\n`isoDuration.setLocales` can take an `option` object as second argument (optional):\n\n| Key                    | Type     | Description                                                   | Default\n| ---------------------- | -------- |-------------------------------------------------------------- | -----------\n| `fallbackLocale`       | String   | fallback locale used when an invalid locale is passed to `IsoDuration.humanize` | `undefined`\n\n\n### IsoDuration object:\n* `parse()` return `DurationObj` with all time periods represented as JS object\n```js\nconsole.log(isoDuration(\"P8T30M\").parse())\n// {\n//   weeks: 0,\n//   years: 0,\n//   months: 0,\n//   days: 8,\n//   hours: 0,\n//   minutes: 30,\n//   seconds: 0\n// }\n```\n\n* `toString()` returns ISO_8601 string:\n```js\nconsole.log(isoDuration(\"P8T30M\").toString())\n// P8T30M\n```\n\n* `humanize(lang: string, config?: HumanizeConfig)` returns duration in human readable way:   \n⚠ Warning ️⚠ - used `lang` needs to be previously added to the library using `isoDuration.setLocales`\n```js\nconsole.log(isoDuration(\"P8T30M\").humanize('en'))\n// 8 hours 30 minutes\n```\n\n`HumanizeConfig` Object:\n```js\n{\n  largest: number\n}\n```\n`largest` - Reduce number of humanized to N the largest units:\n```js\nconsole.log(\n  isoDuration({\n    years: 2,\n    months: 0,\n    days: 8,\n    hours: 20,\n    minutes: 30,\n    seconds: 15\n  }).humanize('en', { largest: 2 })\n)\n// 2 years 8 days\n```\n\n* `normalize(date?: Date)` returns normalized IsoDuration object:\n```js\nconsole.log(isoDuration(\"PT90M\").normalize().parse())\n// PT1H30M\n```\n\nThis method takes an optional argument `date` which defines start of duration. It's used to correctly normalize number of days basing on corresponding month's length.   \nIf it's not present normalize function will use current date (`new Date()`) instead.\n\nMonth with 31 days:\n```js\nconsole.log(\"Duration:\", isoDuration(\"P31D\").normalize(new Date(2020, 0, 1)).humanize('en'))\n//Duration: 31 days\n```\n\nMonth with 29 days:\n```js\nconsole.log(\"Duration:\", isoDuration(\"P31D\").normalize(new Date(2020, 1, 1)).humanize('en'))\n//Duration: 1 month 2 days\n```\n\n### Credits\n[EvanHahn](https://github.com/EvanHahn) - author of [HumanizeDuration](https://github.com/EvanHahn/HumanizeDuration.js)  \n[tolu](https://github.com/tolu) author of [ISO8601-duration](https://github.com/tolu/ISO8601-duration)\n","readmeFilename":"README.md"}