{
  "_id": "duration-fns",
  "maintainers": [
    {
      "name": "dlevs",
      "email": "dlevett@hotmail.co.uk"
    }
  ],
  "keywords": [
    "duration",
    "time",
    "parse",
    "convert",
    "normalize",
    "milliseconds",
    "seconds",
    "minutes",
    "hours",
    "days",
    "weeks",
    "months",
    "years",
    "ISO",
    "8601"
  ],
  "dist-tags": {
    "latest": "3.0.2"
  },
  "author": {
    "name": "Daniel Levett",
    "email": "dlevett@hotmail.co.uk"
  },
  "_rev": "9-5d05557d9565d3df68fc34b2c32e5b58",
  "description": "Functions for working with durations.",
  "readme": "# duration-fns\n\nA collection of JavaScript functions for working with durations.\n\n## Installation\n\n`npm install duration-fns`\n\n## Overview\n\n```javascript\nimport * as duration from 'duration-fns'\n\n\n// Parsing / stringifying\n// ---------------------------------------------\nduration.parse('PT1M30S')\n// { minutes: 1, seconds: 30 }\n\nduration.toString({ years: 1, hours: 6 })\n// 'P1YT6H'\n\n\n// Conversion\n// ---------------------------------------------\nduration.toUnit({ minutes: 2 }, 'seconds') // 120\nduration.toMilliseconds({ seconds: 2 }) // 2000\nduration.toSeconds({ milliseconds: 2000 }) // 2\nduration.toMinutes({ hours: 1, seconds: 60 }) // 61\nduration.toHours({ minutes: 60 }) // 1\nduration.toDays({ weeks: 1, hours: 24 }) // 8\nduration.toWeeks({ days: 14 }) // 2\nduration.toMonths({ years: 2, months: 1 }) // 25\nduration.toYears({ months: 12 }) // 1\n\n\n// Normalizing\n// ---------------------------------------------\nduration.normalize({ days: 28, hours: 24 })\n// { days: 29 }\n\nduration.normalize({ days: 28, hours: 24 }, '2018-02-01')\n// { months: 1, days: 1 }\n\nduration.normalize({ days: 28, hours: 24 }, '2016-02-01')\n// { months: 1, days: 0 } (leap year)\n\n\n// Transformations\n// ---------------------------------------------\nduration.abs({ days: -1, seconds: 1 })\n// { days: 1, seconds: -1 }\n\nduration.negate({ days: -1, hours 2 })\n// { days: 1, hours: -2 }\n\n\n// Inspection\n// ---------------------------------------------\nduration.isNegative({ days: 1, hours: -25 })\n// true\n\nduration.isZero({ days: 1, hours: -24 })\n// true\n\n\n// Combining\n// ---------------------------------------------\nduration.subtract({ days: 2 }, { days: 1, hours: 12 })\n// { days: 1, hours: -12 }\n\nduration.sum({ days: 1 }, { days: 2, hours: 12 })\n// { days: 3, hours: 12 }\n\n\n// Date operations\n// ---------------------------------------------\nduration.apply('2020-01-01T00:00:00.000Z', { years: 2 }).toISOString()\n// '2022-01-01T00:00:00.000Z'\n\nduration.between('2022-01-01', '2020-01-01')\n// { years: -2 }\n\n\n// Meta\n// ---------------------------------------------\nduration.UNITS\n// A complete list of duration units, ordered from large to small:\n// ['years', 'months', 'weeks', 'days', ...]\n```\n\n## Conventions\n\n### Function arguments\n\nAll functions that accept a duration object also accept numbers and strings:\n\n```javascript\nduration.toSeconds({ minutes: 1 }); // 60\nduration.toSeconds(60000); // 60\nduration.toSeconds('PT1M'); // 60\n\nduration.sum({ seconds: 1 }, 'P1D', 200);\n// { days: 1, seconds: 1, milliseconds: 200 }\n```\n\n### Normalization\n\nFunctions that transform or combine duration objects will not usually convert values between units:\n\n```javascript\nduration.sum({ seconds: 1 }, { milliseconds: 1000 });\n// { seconds: 1, milliseconds 1000 }\n```\n\nPass the return values through `normalize` for that functionality:\n\n```javascript\nduration.normalize({ seconds: 1, milliseconds 1000 });\n// { seconds: 2 }\n```\n\nSome units cannot be normalized to others. For example, months can be normalized to years, but days cannot be normalized to months without a reference date:\n\n```javascript\nduration.normalize({ days: 31 });\n// { days: 31 }\n\nduration.normalize({ days: 31 }, '2020-02-01');\n// { months: 1, days: 2 }\n\nduration.normalize({ days: 31 }, '2020-12-01');\n// { months: 1, days: 0 }\n```\n\n## Misc\n\n[Test coverage report.](https://duration-fns-coverage.netlify.com/)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/1c8db14f-4d92-41b0-a9da-32f7bcc5c17a/deploy-status)](https://app.netlify.com/sites/duration-fns-coverage/deploys)\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/dlevs/duration-fns.git"
  },
  "users": {
    "deerflow": true
  },
  "bugs": {
    "url": "https://github.com/dlevs/duration-fns/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.1": {
      "name": "duration-fns",
      "version": "0.0.1",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "scripts": {
        "build": "rimraf dist && tsc",
        "lint": "tslint --format stylish --project .",
        "test": "jest",
        "prepublish": "npm run test && npm run lint && npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@dlevs/tslint-config": "1.0.4",
        "@types/jest": "23.3.14",
        "jest": "23.6.0",
        "rimraf": "2.6.3",
        "ts-jest": "23.10.5",
        "tslint": "5.16.0",
        "typescript": "3.4.4"
      },
      "keywords": [
        "duration",
        "time",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO"
      ],
      "gitHead": "a76e1cc7ca543fdbb895943058e1c89d960b93a1",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@0.0.1",
      "_nodeVersion": "11.8.0",
      "_npmVersion": "6.9.0",
      "dist": {
        "integrity": "sha512-zUGrmITvTyOL2tL/stX7gMRIr8GOlEDlt4jsUGbRyIWwCo0i0p4rHWcIN1CauQ+Br4Lb3Uvl3z/2MzZ5nh2rLA==",
        "shasum": "213163396c3a659c37b2329c3f9df2d8324be59f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-0.0.1.tgz",
        "fileCount": 109,
        "unpackedSize": 116418,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc1+2LCRA9TVsSAnZWagAAdK4P/05yafmrb8EidoE5VXm2\nEqSyHqHI6jF+5KExFSy5t2AQsskJi1/xpbZ5r1dF8cy8GTBjlCHKWq9zePE6\nt4iHLLfr68DTFzdahbcXUuKn3IgkeNiBHKOxeyhnAqv7rf2OIZt8PNIcsJwN\nqxawYDVt+HJ060DNpOnExN/ay9YWJVnW7KyX4zQEPdFSq4siyapmPHHCVLJV\nFJSiSO+WMHnROhaM8FWdjSzvv0c9DQFj2U8qUz6fDRxW6tAeazjWG/3vH4q8\np0seLSzOyxqnU/7ZNFkAhBREN4r0QvfXSyFMxscl5pm1I4g8VZqFllZx8ED3\n3xx0hMjqO2/aop7AxTkLYJnWFBRV7fSE3642EDg6YV6NcCQDOPx7HGBHQwjk\nzn84UO2wtNoVkKhyXyj4LkkAaZmnoT6xDXK5vSlwqg8gviKNI+O8q0rsD3Hk\nf4wEV9EYrIoBXP/alUELTNdPc37MizqfWe45pJsGU7vVS2yfqI/R+ePJ/L/e\nVOWXdjnf+08aR7xUC/Nmn2WIdwAdadu88hk8Yw72wOw5Yz7U6J0Z9wdoHB8c\nuxrFwcEkELzBiRaZn4IKKs4BmqmYrYMfNJBwhK7H9e9zS7T20NboIzbvMxwA\nAbrFDbNwVOdU4iVg+zwGjvObbdQphxfqyR9lk0dEuekRD5aNAZTvQ+OvjzYi\nNMLF\r\n=Id99\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQClpiZgYY1uNQe3OrFGE1kz1Epv+TfyEYfy51etr8dCkQIgSe0aVuN3l69yX+n81BkwZ5GEtP5tpzYloejNj+V4ZyM="
          }
        ]
      },
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_0.0.1_1557654923235_0.9620733333446949"
      },
      "_hasShrinkwrap": false
    },
    "0.0.3": {
      "name": "duration-fns",
      "version": "0.0.3",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "scripts": {
        "build": "rimraf dist && tsc",
        "lint": "tslint --format stylish --project .",
        "test": "TZ=UTC jest",
        "prepublish": "npm run test && npm run lint && npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@dlevs/tslint-config": "1.0.4",
        "@types/jest": "23.3.14",
        "jest": "23.6.0",
        "rimraf": "2.6.3",
        "ts-jest": "23.10.5",
        "tslint": "5.16.0",
        "typescript": "3.4.4"
      },
      "keywords": [
        "duration",
        "time",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO"
      ],
      "gitHead": "7814ee87189edf387d083ddd1fe9f30bcbbb9115",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@0.0.3",
      "_nodeVersion": "12.2.0",
      "_npmVersion": "6.9.0",
      "dist": {
        "integrity": "sha512-6pbLzcHx49EL7GnTxsmoTe2KA17GbdASOycCNed0WExEC6Nr6HyRozV0Jlbx7Fkw9W2rvTiBpXHlBGu+xRo5Jw==",
        "shasum": "b0d103aaff1254da3d844c24b9766aecce7d5080",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-0.0.3.tgz",
        "fileCount": 110,
        "unpackedSize": 128149,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4zFdCRA9TVsSAnZWagAA6iMP/1ggWZt25fSdQT3AoA8W\nOnYRNbIuQusHkk2Ibs43obASTrMSRNvYinjLV+dTiKtN4tR8dkSSBSm7yIN8\nCBmvRqmoYEdkHQI7RjVUkOn7G1MDq4HjGe8yCUljtGqg2o+VwEBx+46dqHLK\nFLQUWhBHGfV+Ze+EJ+wZv+Mfb9JpL7vWzeiqWNISI4rn/SC3MlwAFXw2QDrI\nnwapVvvrORhOB4jgpkxgTfK9gAAUUqSHuTCrUH660J7XZdSRZ5p3A5n1hhCl\ns8QtRgIwPFcLPyvJnXkPxm2F/7kG/TpieSUxIP6EkAmeqYG1nYg8cu5Doh3R\noI0AcVrpGBAre5qDG6CMtK+KDDPmP35z144mUdHbB/rq8CTFxSWhgkQlLKFn\na18EUlwCMcdCyRkbUNqb+6T5W/1B/vAVCl6bhadiUW9nxolnfP/E5v1kc1xs\ndHT29JpP6ywE+PGuI3z2gNrR+4R6B7vBEgPNQYzD7ztFTYyybc+CO2r1qB2b\nqC7wHF41YlZoXRu13yIZz66DNWi/jez1aCe+U7K3plRS0mYTuqDAhoTUnQ/N\nZIb47SVo9HiVYW2d5yJJolzeM22oIFzfAJzPj/KhZiM3UP12rivXrHO5Cf//\nVKgbneeqlD0jbWD2WfhlDCg0xxkVIq1T0PVUJWo7WyR0YlQQFitiJ/wnvxS/\nALCQ\r\n=v9lp\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIBGWdUfBD6lwmxxMAVpc7nkzHwk28R5xHRFqxzHw9t9LAiEAqmMnaoArYepXSy75V6r+Uiu8q3BwzeHvHtOCUNsnGqs="
          }
        ]
      },
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_0.0.3_1558393180388_0.44470603452712076"
      },
      "_hasShrinkwrap": false
    },
    "2.0.0": {
      "name": "duration-fns",
      "version": "2.0.0",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "clean": "rimraf dist",
        "lint": "eslint 'src/**/*.+(ts|js)'",
        "test": "TZ=UTC jest",
        "prebuild": "npm run test && npm run lint && npm run clean",
        "build": "tsc",
        "prepublish": "npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@types/jest": "24.0.13",
        "@typescript-eslint/eslint-plugin": "1.9.0",
        "@typescript-eslint/parser": "1.9.0",
        "eslint": "5.16.0",
        "eslint-config-airbnb-base": "13.1.0",
        "eslint-plugin-import": "2.17.3",
        "jest": "24.8.0",
        "rimraf": "2.6.3",
        "ts-jest": "24.0.2",
        "typescript": "3.4.5"
      },
      "keywords": [
        "duration",
        "time",
        "parse",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO",
        "8601"
      ],
      "gitHead": "280c74559e443e2523f11928c6bd225182ae324d",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@2.0.0",
      "_nodeVersion": "12.10.0",
      "_npmVersion": "6.10.3",
      "dist": {
        "integrity": "sha512-MfjXcJVfgk8X8gcCrkC++pnQyeQ2bxJxMCrpjcKIamBpmxm2kohMQED/rADmbDLBKx17ECw/OqvBDAkJitYVfA==",
        "shasum": "797c34cf89d2992332b5d33f8232712bb21ade35",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-2.0.0.tgz",
        "fileCount": 110,
        "unpackedSize": 111446,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdocfsCRA9TVsSAnZWagAAxV4P/Ay64X3aEkUARCH1yZa6\nQPLqfyrgyxaMaAWTJQZ1XH7UDCEPUQGSgrzTMa4RhmIBu7Cqpu9k17YX8eeE\nnuc1aEfTlAKW0SZgtUM67CaZKC8mwe72apQMgO+VzwYOQJ0sjFsA9UIBzH2z\nbOUzNZailJK+Xv3KDu9vvcx+3vMvjde6nJzJLs2MbNqDCjIsrK0JG4odSKnZ\nBOLiNTKhwT+YfVlwFTACHx8Llwjb2pkEN00lKoMMlEz6soQnrXwU0TVFm5P/\nCgBZLY9NIJIMStIbHPVLNdzm6OL6+7T0EuCBlu9YL63jePaIvb0PFHZ1BOI6\nopw7B5Jehe8pNRP18WbpYc0UCEmJAa7j0UGMo/ZHL+CBM1Sh63rQElPyKOoq\nNTIFGGCPThPaixRv+6eE+VtWUcLb3+ItJXHIWNFl3AKkv2u79Z7u5gjO1fmc\na5V8lrz32FORy01qrCYkm6Z9EKE6fyRqOYwYlUHbMkC+9x8Zm0NoPtZfDSLw\ngCQcZ0HhmpsuGUJAzSa3V0up3uwsrZYW3bYCrC+M7N4wZg+UBc8zYoEh1VR3\noa82CmMtdebx94PBPLu52KI7v9ubxuI5QI+Po9/h2paun/3AzXTi8odsOZ8/\nsPgEWxv8+hxOtGeaZf0z1P9pxLMKvwIk1lNaq0FLp0Pl+YhmQj+ZpgKKIeOl\nm5RV\r\n=H98R\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCtG2WPvzV8rIHfkgEHVyqZTv9gdzJqFkiChz4K7y7LmAIgf3l6f+oXRc58cjGW8O2Hx5LgtMTZm4FW6zUcA1zuwm8="
          }
        ]
      },
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_2.0.0_1570883564146_0.5694584337213009"
      },
      "_hasShrinkwrap": false
    },
    "2.0.1": {
      "name": "duration-fns",
      "version": "2.0.1",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "clean": "rimraf dist",
        "lint": "eslint 'src/**/*.+(ts|js)'",
        "test": "TZ=UTC jest",
        "prebuild": "npm run test && npm run lint && npm run clean",
        "build": "tsc",
        "prepublish": "npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@types/jest": "24.0.18",
        "@typescript-eslint/eslint-plugin": "2.3.3",
        "@typescript-eslint/parser": "2.3.3",
        "eslint": "6.5.1",
        "eslint-config-airbnb-base": "14.0.0",
        "eslint-plugin-import": "2.18.2",
        "jest": "24.9.0",
        "rimraf": "3.0.0",
        "ts-jest": "24.1.0",
        "typescript": "3.6.4"
      },
      "keywords": [
        "duration",
        "time",
        "parse",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO",
        "8601"
      ],
      "gitHead": "0d70ba53e02fac516e9233a1a1294d9d9afc8127",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@2.0.1",
      "_nodeVersion": "13.3.0",
      "_npmVersion": "6.13.1",
      "dist": {
        "integrity": "sha512-1qDgHIdc+QuIee83MhczI2HWlOhZAZeO21HK31lp5T8LC+aYp59R9XKT33k4fyTzCoo7weV+/TOKaGk/UJAPFw==",
        "shasum": "f63f7cbe46649863b721e4a21a0d678f57657b47",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-2.0.1.tgz",
        "fileCount": 66,
        "unpackedSize": 59578,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNck6CRA9TVsSAnZWagAAz1QQAIudC3Y/xO8YDVjEL12B\nqlAdBvJxLXlTkCVJsgALyXLgzPazyxa4jXbPhKVE+YgtWl8g5MjpTqfoBHJq\nV9xSrt3/0vWD2H7HJls3HFpJTSBuhNf40nyZn8Ycr9rbYSxzEAz3UcyVHjsf\nitukOiLHvQN5jmXybgisIuZ8uK+ZHuPey2HmbzOTC9nm68gzA5we7GVfzpuQ\nu+eWbNcjttYvnBfDwUYw07EtRlnrHygWRJO7snUF33y7aowKdhQv83n3oKTX\nLnF3+fZWz+JZM8RuEWy59/RBqEQ4f9ntYNdn7P7Op/j1+2FuEDHBk5eIG5ra\nSpc1lEXADc+lG9ZEv3/3Zr1AYmlgNp5FmUkfZvVSPXGfnVhikspqnuLNAIZG\nm8zUlTrwSqce/xKeAqwyhnnNeAm0URnu4OdgMye4D3KOKbVeBr288Ot1yMgd\n8F+rfH4/NuQn3fGC+vdy0Ee1MEbSHGHwZaGBo5nYWyfhN9nzxf2K3aYuHhoX\nMs4LIwpYF+6gg8Oxy+MEfFpX75NcsIVtTnknKyAvrE0ghA99Hrt1cdXaVTma\n6Q0hKvUTr7drcBAm9JdcuTidsrqkwYVRPB3pumoSQT+aWPgNyS/q3M97GY7a\n+lRUog8ITL+qbdgzxwApxn9qQoqv4JJ0+1k0yJ7aYvGIusfBCDxBUepgzDoj\nmBZZ\r\n=AtnB\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCXiPGD7U8nAJHDjGB3MPWQSEVEY8cZP8FIjZbna76O4gIgdoD8LrgAUM7Al/f/KbtIF8oqi5z/NUjMZ4JliHLxD1M="
          }
        ]
      },
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_2.0.1_1580583225674_0.26386097141493536"
      },
      "_hasShrinkwrap": false
    },
    "2.1.0": {
      "name": "duration-fns",
      "version": "2.1.0",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "clean": "rimraf dist",
        "lint": "eslint 'src/**/*.+(ts|js)'",
        "test": "TZ=UTC jest",
        "prebuild": "npm run test && npm run lint && npm run clean",
        "flowgen": "for file in $(find dist -type f -name \"*.d.ts\"); do sh -c \"flowgen $file -o ${file%.*.*}.flow.js\"; done;",
        "build": "tsc && npm run flowgen",
        "prepublish": "npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@types/jest": "26.0.20",
        "@typescript-eslint/eslint-plugin": "4.14.1",
        "@typescript-eslint/parser": "4.14.1",
        "eslint": "7.18.0",
        "eslint-config-airbnb-base": "14.2.1",
        "eslint-plugin-import": "2.22.1",
        "flowgen": "^1.13.0",
        "jest": "26.6.3",
        "rimraf": "3.0.2",
        "ts-jest": "26.5.0",
        "typescript": "4.1.3"
      },
      "keywords": [
        "duration",
        "time",
        "parse",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO",
        "8601"
      ],
      "gitHead": "6afcae8480caceda2cae03b8e7314825c8c63143",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@2.1.0",
      "_nodeVersion": "12.18.0",
      "_npmVersion": "6.14.8",
      "dist": {
        "integrity": "sha512-qcddAdV4ZSJD1NpSDFgMN9Riv/rQ4kQTNQ7LK8rOP+trIop49oeISeHZRFX6BJO2gVb6L3iuIFb8z4fdUgZL2w==",
        "shasum": "c5bba585c3e71ca9fb3dbe4ca84c242be8e41205",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-2.1.0.tgz",
        "fileCount": 87,
        "unpackedSize": 76041,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHrmzCRA9TVsSAnZWagAADbAP/2rQTjDKmiRtn4mYRIj5\nf9K8TeqFzMqt6SxZQnxJgZpsYB3dNESIbNfWnq4uqMkMccCEN/lHnBLLe9aY\n2adLouJ0WcOFzh6/5pNFrh9rVYI2ks9F74PyhDG5ZfoPCNpWByyfwLUlUuVk\n46YRAJls3m3p+YEpiV3AAxLcTuNELmCFA1E0MuC2nLXTZSAII6SxbCFtsVWx\nYEElynr1iluat/HGNE3qlDyD/4BmbUKbdoXkHdMahzJnhsQDXo7WMC1UsW2l\nhguFdiB/TQXgCdQopx08tZLeUTCeg9lUUIKEJ4PxSUbd4yterqrwJgsYB+2h\nll4rHzy9uRX7Je+2gQqADTUITsai+c58ag10gKDAmOfSNwGWNdQQsIdAJDtS\npIZWQF9hsOe1vIGy3ndM7IJ+DsLo7IPkIe4GZY8IskkeUWzhui6SsYicSIwa\nda2cvuJ6ackC04xHOjd4LjCpAh12apVGmffIzC2e/AHeHyNm1tX7DVTaLfhd\nufnyMAUfTp6xtbN/uE2pK3QyRG9JznwtszL7NkoeSq9CovcyN6vKcDCYhGYy\nqfgpASH92geZbWmFIC2WfyM7TcHFEfZHpv2Y10BYaWu+co8iOzaRAXtVq0lW\nVrGKM5fbZi9COA3oi3lME04J1JLNja9ntVzUr/h68rHCHfGpoeCRjNFMthsR\nv2jU\r\n=QDzX\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIFS3dubK6lRU9d/WXQZDEmp6P5dcOf4BRVAa9MtPLjQNAiB+5BXHLqaZZH+MyBsKkX6N9F2yTU+kS8qveI+tkWoSzw=="
          }
        ]
      },
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_2.1.0_1612626354926_0.9301737402502694"
      },
      "_hasShrinkwrap": false
    },
    "3.0.0": {
      "name": "duration-fns",
      "version": "3.0.0",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "clean": "rimraf dist",
        "lint": "eslint 'src/**/*.+(ts|js)'",
        "test": "TZ=UTC jest",
        "prebuild": "npm run test && npm run lint && npm run clean",
        "flowgen": "for file in $(find dist -type f -name \"*.d.ts\"); do sh -c \"flowgen $file -o ${file%.*.*}.flow.js\"; done;",
        "build": "tsc && npm run flowgen",
        "prepublish": "npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@types/jest": "27.4.0",
        "@typescript-eslint/eslint-plugin": "5.11.0",
        "@typescript-eslint/parser": "5.11.0",
        "eslint": "8.9.0",
        "eslint-config-airbnb-base": "15.0.0",
        "eslint-plugin-import": "2.25.4",
        "flowgen": "^1.17.0",
        "jest": "27.5.1",
        "rimraf": "3.0.2",
        "ts-jest": "27.1.3",
        "typescript": "4.5.5"
      },
      "keywords": [
        "duration",
        "time",
        "parse",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO",
        "8601"
      ],
      "gitHead": "a1c1ae9449afd2e8ed0d99392d040944661fee4b",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@3.0.0",
      "_nodeVersion": "14.18.2",
      "_npmVersion": "6.14.15",
      "dist": {
        "integrity": "sha512-QehORmN6cDPvD4q8MT6H0d3ZkC6T5CEMTlrIaU+DI7VkJk4GC3Jx4rIB2tlVRtvZpObIzc/OCCEWIpXZqaHf5A==",
        "shasum": "5bef5e392d50d60caaff808f62c12d2e06f1f631",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-3.0.0.tgz",
        "fileCount": 91,
        "unpackedSize": 79392,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDAVcCRA9TVsSAnZWagAAqXgP/3i514C0QmdQN3vJsXaU\n2RENJMwCh6ClhmTy2lQrs4wcIOyKD1VMvf5y58dxBUsRAisSsTtYUv8rK2FO\n//2S0QkgA3h2UV5xgd/6OKUOf6lTUWUMMAJbbH5VEzIpII+fs65Eni8UiCCE\nCZC3N95g5KLn+o49hqLeMmHMN4krjh5Wu22oez72uIUdKzO+fjnZFEbgEpx8\nEzekE1CXZktArc1toDp5bdtv2GaIixZgz1YtXgUH/4xEAgwxHdu1RtMoMzhN\nks8rGkciKo9xfYw+3IFirZsWvd8jUR4Y5/BR6XzL7NflKEizOF8cEdiB319G\nlkrVUNLEb07OvwGA1yCVN2eDxeQUjbiVJcuIslmOvqyPUjhpv6cYIkdrkvuY\nQzLjg2lPmDfIxvAkFQsD6JvbmyFAxpXkJB+xQgMHdERwKb6IinUEaG7VPuSx\nt0DHJGi+sggDXGXGgEwZ/+ncxHZwMm1MmY3c12Qy6hndgG50qGAbZVN2ZZzO\ny8IpWWXAOZahDGKwCSTb2RWVzaoxvXr41Tjmkn0LrOIvbBFy213gH9KR9Nge\nK1wsqRGf6NxzKu8E2FyV8JBet4JA7zE07Pz+72BeDg2kg53sDRzLZscjFa6s\nvZwxxKjlEdrVh6YRBbd4HqQRpZ+ooXoQ89oDKsDMT/dW7AKl157nxj4hT6iq\ndWXo\r\n=Ht1c\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIG87D9szQ/2I/n5QV3IoL/w+nPsM2vycWHVpixyvdgtBAiBzeLLEAe+3lid34r/dhJ97xPhfDZBpbDB6s03kg2SqBA=="
          }
        ]
      },
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_3.0.0_1644954972129_0.47834169183662767"
      },
      "_hasShrinkwrap": false
    },
    "3.0.1": {
      "name": "duration-fns",
      "version": "3.0.1",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "clean": "rimraf dist",
        "lint": "eslint 'src/**/*.+(ts|js)'",
        "test": "TZ=UTC jest",
        "prebuild": "npm run test && npm run lint && npm run clean",
        "flowgen": "for file in $(find dist -type f -name \"*.d.ts\"); do sh -c \"flowgen $file -o ${file%.*.*}.flow.js\"; done;",
        "build": "tsc && npm run flowgen",
        "prepublish": "npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@types/jest": "27.4.0",
        "@typescript-eslint/eslint-plugin": "5.11.0",
        "@typescript-eslint/parser": "5.11.0",
        "eslint": "8.9.0",
        "eslint-config-airbnb-base": "15.0.0",
        "eslint-plugin-import": "2.25.4",
        "flowgen": "^1.17.0",
        "jest": "27.5.1",
        "rimraf": "3.0.2",
        "ts-jest": "27.1.3",
        "typescript": "4.5.5"
      },
      "keywords": [
        "duration",
        "time",
        "parse",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO",
        "8601"
      ],
      "gitHead": "fd002cbec30952ac79e7f41f2cabdbf039abc2df",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@3.0.1",
      "_nodeVersion": "16.14.1",
      "_npmVersion": "8.5.0",
      "dist": {
        "integrity": "sha512-GHxED15UbbjNyCwk8OBGDs5KV+Zn/cloq66c4IPUslC3JfbbXncW9gtxfpG9b0xDVpVkPFzqy6lZaq9iyqff3Q==",
        "shasum": "72fc3400ee8c511ee36a19edf26bf49104d4c051",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-3.0.1.tgz",
        "fileCount": 132,
        "unpackedSize": 139386,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIDkzW5xPhsveJg3Llx81bwYeBlfWxE3HR8gDbm2N28giAiEA08i/WBzdNMrIr3ITPVQT2pCvTXIRvwomOxReucZvIGc="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJibTKAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqvIA//YjkhSMs3ueiM6sehCsLV6wrbtRZzeUQ8MjQH+l37K1WBGBTB\r\nVRBWDVkvSnmb0yB1LOM6clNrOfzX4QVC/GiJNRXXrHJ6+GfceSXqPoScrdlZ\r\nkiohIMiA+y34d6EIk9Sl+q7yJKvzUyqgbBNwDiQI0tcJmnzg3StU9yl7E8J+\r\nV4jRQDGXltAO+fwl+s+CRAK/q2DeXiJT7PtEk/dqXQ+S5htkA4e3w88OB50u\r\nnR7QCmC4jFg5NCG3N/MzY/9cFubnwyWRI3cffSDnVcxZ3pQX2gW41bpxj1bq\r\ne8BCeEoUQiqox6VbYxHeG2YID+LSNfECHmDvWk2mzr0+WHn+5b9Eb9JkG1Iu\r\nFZV9NX7Xw3hDfItQaZqSmK00p3EHJO/ZGwhtNSca842h1Fr7vLZxlypsvLrL\r\n52+11O5GSOh4pi88VVVbv0C35Kja0kArm3MToRBF4cQHw+rXepF5i1YkjgRb\r\npMjFWWiuCOSEwHkcpml8wkABx7gEr9CxqAR+cSqJEVuhR7SlfcZLFevRiuPA\r\nTH8kKClV3soU665rFehV9wqg0hPuyM7/g/9I9XPYiSmWcGUUdmYwzo3v44/N\r\n7O7BIwr3sn9yImvItOE0h6VzyAGq9E5DIBt4KLst/54PgmWCP1nnhJLvOvEA\r\nfawkMe70+scVQP+c/0kRRE97ROqpekNyZI4=\r\n=J0pz\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_3.0.1_1651323520219_0.5363196898582656"
      },
      "_hasShrinkwrap": false
    },
    "3.0.2": {
      "name": "duration-fns",
      "version": "3.0.2",
      "description": "Functions for working with durations.",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "clean": "rimraf dist",
        "lint": "eslint 'src/**/*.+(ts|js)'",
        "test": "TZ=UTC jest",
        "prebuild": "npm run test && npm run lint && npm run clean",
        "flowgen": "for file in $(find dist -type f -name \"*.d.ts\"); do sh -c \"flowgen $file -o ${file%.*.*}.flow.js\"; done;",
        "build": "tsc && npm run flowgen",
        "prepublish": "npm run build"
      },
      "author": {
        "name": "Daniel Levett",
        "email": "dlevett@hotmail.co.uk"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/dlevs/duration-fns.git"
      },
      "license": "MIT",
      "devDependencies": {
        "@types/jest": "29.4.0",
        "@typescript-eslint/eslint-plugin": "5.49.0",
        "@typescript-eslint/parser": "5.49.0",
        "eslint": "8.32.0",
        "eslint-config-airbnb-base": "15.0.0",
        "eslint-plugin-import": "2.27.5",
        "flowgen": "^1.21.0",
        "jest": "29.4.1",
        "rimraf": "4.1.2",
        "ts-jest": "29.0.5",
        "typescript": "4.9.4"
      },
      "keywords": [
        "duration",
        "time",
        "parse",
        "convert",
        "normalize",
        "milliseconds",
        "seconds",
        "minutes",
        "hours",
        "days",
        "weeks",
        "months",
        "years",
        "ISO",
        "8601"
      ],
      "gitHead": "6929ecdd3c518cdbab03744b26ed58773edd9f91",
      "bugs": {
        "url": "https://github.com/dlevs/duration-fns/issues"
      },
      "homepage": "https://github.com/dlevs/duration-fns#readme",
      "_id": "duration-fns@3.0.2",
      "_nodeVersion": "16.14.1",
      "_npmVersion": "8.5.0",
      "dist": {
        "integrity": "sha512-w82IXh/6aWNHFA0qlQazJYJrZTWieTItuuGTE7YX4cxPaZTWhmVImbsBBiMK1/OhGDgiinuCpJoSFILYLDSKDg==",
        "shasum": "842223e05750b2aa66a28a24f58b611b71a44d96",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/duration-fns/-/duration-fns-3.0.2.tgz",
        "fileCount": 132,
        "unpackedSize": 141081,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBlqXxy4gwZ3BWhWX6nnSKUAeVxDdkaJlTDksb6dPLSQAiBc9A6bebR3CYPMpQtlLqQJ6QtFPGCADv0elo5NkbOEXQ=="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1N2kACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpXqQ//WR2jd+JaL80gvL2sRJPg0AVSbLvGazzv3T6J0OZCMQIwRomq\r\nlstK4Oam1sDM1xPXHWFgXeKmXK7goOD+tDL5Ud/skzpnD6QWI58L6SSl4hOJ\r\nUxWZt2friimfHfgitSOXNPgKXkK1bZoUGmp4e/PLl/K1sHzEW7MnJPmXjnha\r\nqsdXoqguR6InzX75IILX4j+KVhDJdhXBR/8kl3N+EGxcGCj8PZfEop0FLT0S\r\nQFfZh+nHmv34YAVxqPzRRpkxvUmoWDEfTnUNlWvGnv8TmkjwOsmlhClcFyoe\r\nE+fwPBdslZMErpWAkUi2E2+PTOX8ZOPzFEsE7FD7Yqg3sa7BeNWjkQdKlreE\r\najWPGWMC8f0KnXkHaseywRYLVCQuzrEDuMrTIePf3nLRlxPEAJc8Kg4Bgow0\r\nw4HRkXVxshKO4ktY0YYVQ7kF4MKN0tl82vuAXjCwnabSenoz14XyzLBjQX+y\r\nMYUN/cvcNZSVM8ysKhydlCmcOzZAfxnTqM9G+U/Fivpp1Q7HzRj4Z0l/RywT\r\nOva27sMc6DKzJEaYYiej4W5gmX7BPfP0LSXiCdwlQQ2xTJVidmhivA0KadwN\r\n0n0mYcw8bm4HyAAl4C4lsJPEiU+QiJhtAOTjEfZpenbAl7UNIUQMmdCRXjo+\r\nKcRNicS6iCuCgcgciUve2CltQwV2LXuqqEc=\r\n=Nvb3\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "dlevs",
        "email": "dlevett@hotmail.co.uk"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "dlevs",
          "email": "dlevett@hotmail.co.uk"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/duration-fns_3.0.2_1674894755789_0.886721357140122"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "duration-fns",
  "time": {
    "created": "2019-05-12T09:55:23.234Z",
    "0.0.1": "2019-05-12T09:55:23.449Z",
    "modified": "2026-05-30T09:12:03.095Z",
    "0.0.3": "2019-05-20T22:59:40.615Z",
    "2.0.0": "2019-10-12T12:32:44.294Z",
    "2.0.1": "2020-02-01T18:53:45.812Z",
    "2.1.0": "2021-02-06T15:45:55.073Z",
    "3.0.0": "2022-02-15T19:56:12.246Z",
    "3.0.1": "2022-04-30T12:58:40.379Z",
    "3.0.2": "2023-01-28T08:32:35.967Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/dlevs/duration-fns#readme"
}