{
  "_id": "default-resolution",
  "maintainers": [
    {
      "name": "yocontra",
      "email": "yo@contra.io"
    },
    {
      "name": "phated",
      "email": "blaine.bublitz@gmail.com"
    }
  ],
  "keywords": [
    "resolution",
    "timing"
  ],
  "dist-tags": {
    "latest": "3.0.0"
  },
  "author": {
    "name": "Gulp Team",
    "email": "team@gulpjs.com",
    "url": "http://gulpjs.com/"
  },
  "_rev": "10-989f5ea27743cf25114c00ad6c7bfab3",
  "description": "Get the default resolution time based on the current node version, optionally overridable",
  "readme": "<p align=\"center\">\n  <a href=\"https://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# default-resolution\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nGet the default resolution time based on the current node version, optionally overridable.\n\nOriginally implemented by [@dinoboff][dinoboff] in [gulpjs/undertaker#17][original].\n\nSplit out for standalone use.\n\n## Usage\n\n```js\nvar defaultResolution = require('default-resolution');\n\ndefaultResolution();\n//-> 1000 (1 second) in node 0.10\n//-> 1 (millisecond) in node 0.11+\n\n// use a different value\ndefaultResolution(12);\n//-> 12 always\n```\n\n## API\n\n### `defaultResolution([resolution])`\n\nReturns the default resolution, based on the node platform. See [Default resolution table][default-table] below for resolutions.\n\nOptionally takes a resolution number to force override any platform resolutions.\n\n### Default resolutions\n\n| node version | resolution |\n| ------------ | ---------- |\n| 0.10         | 1s         |\n| 0.11+        | 1ms        |\n\nMore information at https://github.com/gulpjs/undertaker/pull/17#issuecomment-82374512\n\n# License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[downloads-image]: https://img.shields.io/npm/dm/default-resolution.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/default-resolution\n[npm-image]: https://img.shields.io/npm/v/default-resolution.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/default-resolution/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/default-resolution/dev?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/default-resolution\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/default-resolution/master.svg?style=flat-square\n<!-- prettier-ignore-end -->\n\n<!-- prettier-ignore-start -->\n[dinoboff]: https://github.com/dinoboff\n[original]: https://github.com/gulpjs/undertaker/pull/17\n[default-table]: #default-resolutions\n<!-- prettier-ignore-end -->\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/gulpjs/default-resolution.git"
  },
  "bugs": {
    "url": "https://github.com/gulpjs/default-resolution/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "default-resolution",
      "version": "1.0.0",
      "description": "Get the default resolution time based on the current node version, optionally overridable",
      "author": {
        "name": "Blaine Bublitz",
        "email": "blaine@iceddev.com",
        "url": "http://iceddev.com"
      },
      "contributors": [
        {
          "name": "Damien Lebrun",
          "email": "dinoboff@hotmail.com"
        }
      ],
      "repository": {
        "type": "git",
        "url": "https://github.com/phated/default-resolution"
      },
      "license": "MIT",
      "engines": {
        "node": ">= 0.10"
      },
      "main": "index.js",
      "files": [
        "LICENSE",
        "index.js",
        "node-version.js"
      ],
      "scripts": {
        "test": "lab -cvL"
      },
      "dependencies": {},
      "devDependencies": {
        "code": "^1.4.0",
        "lab": "^5.5.1"
      },
      "keywords": [
        "resolution",
        "timing"
      ],
      "gitHead": "07462ec319ffa24871261a266081951580e5c040",
      "bugs": {
        "url": "https://github.com/phated/default-resolution/issues"
      },
      "homepage": "https://github.com/phated/default-resolution",
      "_id": "default-resolution@1.0.0",
      "_shasum": "90cad53249727fcbf39f8adc36d4db1e004b0eb8",
      "_from": ".",
      "_npmVersion": "2.6.0",
      "_nodeVersion": "0.10.36",
      "_npmUser": {
        "name": "phated",
        "email": "blaine@iceddev.com"
      },
      "maintainers": [
        {
          "name": "phated",
          "email": "blaine@iceddev.com"
        }
      ],
      "dist": {
        "shasum": "90cad53249727fcbf39f8adc36d4db1e004b0eb8",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/default-resolution/-/default-resolution-1.0.0.tgz",
        "integrity": "sha512-0v8eogaC9QLhQBefqriAuuhXkEC7LiOeURO2RVVzWqw/+ruNKQKrphaoSyLuG65wS6kV2IibteZGGknjhiW2Rw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDL07X5E7S9IS+VgvhPgDlTDxnVKlhxyMHPxeFN4xwmdAIgJoZaM6j1ZFPEXDMUS+Xu6t4eMhQCMjweAy1q0b0m4zM="
          }
        ]
      },
      "directories": {}
    },
    "1.0.1": {
      "name": "default-resolution",
      "version": "1.0.1",
      "description": "Get the default resolution time based on the current node version, optionally overridable",
      "author": {
        "name": "Blaine Bublitz",
        "email": "blaine@iceddev.com",
        "url": "http://iceddev.com"
      },
      "contributors": [
        {
          "name": "Damien Lebrun",
          "email": "dinoboff@hotmail.com"
        }
      ],
      "repository": {
        "type": "git",
        "url": "git+https://github.com/gulpjs/default-resolution.git"
      },
      "license": "MIT",
      "engines": {
        "node": ">= 0.10"
      },
      "main": "index.js",
      "files": [
        "LICENSE",
        "index.js",
        "node-version.js"
      ],
      "scripts": {
        "lint": "eslint . && jscs *.js test/",
        "test": "lab -cv"
      },
      "dependencies": {},
      "devDependencies": {
        "code": "^1.4.0",
        "eslint": "^1.7.3",
        "eslint-config-gulp": "^2.0.0",
        "jscs": "^2.4.0",
        "jscs-preset-gulp": "^1.0.0",
        "lab": "^5.5.1"
      },
      "keywords": [
        "resolution",
        "timing"
      ],
      "gitHead": "14b6c3637e34d59d6a9e5aa9eee846265631aef7",
      "bugs": {
        "url": "https://github.com/gulpjs/default-resolution/issues"
      },
      "homepage": "https://github.com/gulpjs/default-resolution#readme",
      "_id": "default-resolution@1.0.1",
      "_shasum": "676de582cffab44629934412d53c656f40b151c5",
      "_from": ".",
      "_npmVersion": "2.14.14",
      "_nodeVersion": "0.10.41",
      "_npmUser": {
        "name": "phated",
        "email": "blaine@iceddev.com"
      },
      "maintainers": [
        {
          "name": "phated",
          "email": "blaine@iceddev.com"
        }
      ],
      "dist": {
        "shasum": "676de582cffab44629934412d53c656f40b151c5",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/default-resolution/-/default-resolution-1.0.1.tgz",
        "integrity": "sha512-foTkfbWGTcVadsXY42hn/EQXqKL4oaqHb0SWezNkle3CmmJeX3+R7zzsuAad9fjOlqVVFRyj/Zu2E+MbM6upcQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIC9HPMzISg3O33Y/we8yf2GW9XJIctIBhfjBqu1f2NMwAiEAi3eG6rDjMtVzRRQuuHnH+bLGj1eDuF2pDR2Z6yVjdss="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "packages-5-east.internal.npmjs.com",
        "tmp": "tmp/default-resolution-1.0.1.tgz_1454568429173_0.9065468946937472"
      },
      "directories": {}
    },
    "2.0.0": {
      "name": "default-resolution",
      "version": "2.0.0",
      "description": "Get the default resolution time based on the current node version, optionally overridable",
      "author": {
        "name": "Gulp Team",
        "email": "team@gulpjs.com",
        "url": "http://gulpjs.com/"
      },
      "contributors": [
        {
          "name": "Blaine Bublitz",
          "email": "blaine.bublitz@gmail.com"
        },
        {
          "name": "Damien Lebrun",
          "email": "dinoboff@hotmail.com"
        }
      ],
      "repository": {
        "type": "git",
        "url": "git+https://github.com/gulpjs/default-resolution.git"
      },
      "license": "MIT",
      "engines": {
        "node": ">= 0.10"
      },
      "main": "index.js",
      "files": [
        "LICENSE",
        "index.js",
        "node-version.js"
      ],
      "scripts": {
        "lint": "eslint . && jscs index.js node-version.js test/",
        "pretest": "npm run lint",
        "test": "mocha --async-only",
        "cover": "istanbul cover _mocha --report lcovonly",
        "coveralls": "npm run cover && istanbul-coveralls"
      },
      "dependencies": {},
      "devDependencies": {
        "eslint": "^1.7.3",
        "eslint-config-gulp": "^2.0.0",
        "expect": "^1.19.0",
        "istanbul": "^0.4.3",
        "istanbul-coveralls": "^1.0.3",
        "jscs": "^2.4.0",
        "jscs-preset-gulp": "^1.0.0",
        "mocha": "^2.4.5"
      },
      "keywords": [
        "resolution",
        "timing"
      ],
      "gitHead": "d99c198c64a02e1af2e5c490e25f8617982e3c31",
      "bugs": {
        "url": "https://github.com/gulpjs/default-resolution/issues"
      },
      "homepage": "https://github.com/gulpjs/default-resolution#readme",
      "_id": "default-resolution@2.0.0",
      "_shasum": "bcb82baa72ad79b426a76732f1a81ad6df26d684",
      "_from": ".",
      "_npmVersion": "2.15.2",
      "_nodeVersion": "0.10.41",
      "_npmUser": {
        "name": "phated",
        "email": "blaine.bublitz@gmail.com"
      },
      "maintainers": [
        {
          "name": "phated",
          "email": "blaine@iceddev.com"
        }
      ],
      "dist": {
        "shasum": "bcb82baa72ad79b426a76732f1a81ad6df26d684",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/default-resolution/-/default-resolution-2.0.0.tgz",
        "integrity": "sha512-2xaP6GiwVwOEbXCGoJ4ufgC76m8cj805jrghScewJC2ZDsb9U0b4BIrba+xt/Uytyd0HvQ6+WymSRTfnYj59GQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIEU59UKNacXvIyma9Wo77IaRnY8GiOpwVkLnPO1N491CAiATYK0wPJGmBC6nkhHcFnwdX1l+OYUckKykQfttzBgCpg=="
          }
        ]
      },
      "_npmOperationalInternal": {
        "host": "packages-16-east.internal.npmjs.com",
        "tmp": "tmp/default-resolution-2.0.0.tgz_1465618960794_0.7021112279035151"
      },
      "directories": {}
    },
    "3.0.0": {
      "name": "default-resolution",
      "version": "3.0.0",
      "description": "Get the default resolution time based on the current node version, optionally overridable",
      "author": {
        "name": "Gulp Team",
        "email": "team@gulpjs.com",
        "url": "http://gulpjs.com/"
      },
      "contributors": [
        {
          "name": "Blaine Bublitz",
          "email": "blaine.bublitz@gmail.com"
        },
        {
          "name": "Damien Lebrun",
          "email": "dinoboff@hotmail.com"
        }
      ],
      "repository": {
        "type": "git",
        "url": "git+https://github.com/gulpjs/default-resolution.git"
      },
      "license": "MIT",
      "engines": {
        "node": ">= 10.13.0"
      },
      "main": "index.js",
      "scripts": {
        "lint": "eslint .",
        "pretest": "npm run lint",
        "test": "nyc mocha --async-only"
      },
      "dependencies": {
        "parse-node-version": "^2.0.0"
      },
      "devDependencies": {
        "eslint": "^7.32.0",
        "eslint-config-gulp": "^5.0.1",
        "eslint-plugin-node": "^11.1.0",
        "expect": "^27.4.2",
        "mocha": "^8.4.0",
        "nyc": "^15.1.0",
        "sinon": "^12.0.1"
      },
      "nyc": {
        "reporter": [
          "lcov",
          "text-summary"
        ]
      },
      "prettier": {
        "singleQuote": true
      },
      "keywords": [
        "resolution",
        "timing"
      ],
      "gitHead": "159d8545f4f5c069efb35498f21517ef8f30b127",
      "bugs": {
        "url": "https://github.com/gulpjs/default-resolution/issues"
      },
      "homepage": "https://github.com/gulpjs/default-resolution#readme",
      "_id": "default-resolution@3.0.0",
      "_nodeVersion": "16.13.0",
      "_npmVersion": "7.24.2",
      "dist": {
        "integrity": "sha512-sRigz71SC4cS+5zV9zmWJdIVVyVVJtwd8btACm1MTJ+cblJk6b3aY/xvFfNWplaiX5dExhmEA6JNeKis9dhTRw==",
        "shasum": "48201fe6d65ea35cd93af4ed39b15dc5772d3dde",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/default-resolution/-/default-resolution-3.0.0.tgz",
        "fileCount": 4,
        "unpackedSize": 4751,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtttACRA9TVsSAnZWagAABlQP/izn75JDj/Xsdbn6mW5N\nvgD5vql4aN3Lzn6RDVDQBvTaYoxnNY+LkbrSx16ImbBp0uLV0jevbNVEv2Rr\n1QQg5KAh9gKP7EGS4+rg9J20qnsMfkaQp631FkZ90PJovaJkU45hgsTDwH7X\n5SpCmcvgCbrqAlY6knMZIiDeiVs9cOjhXI1mQ8Nj3CR6gs2ZNnH3FisKRspR\nQJX/AuSsFuqpxHUyplFBgdLdyTBVxJhks4lEUO1yyhJ1LoGvYOWWZ4MVKvEX\np2WT4c42L0NJ5kA1hnziO0UgkvEcXOBd5CtzQeCiWSKY8vWSPOPB/pdfARcb\nhQs0LZGLkalGDkfi/X2gGKbztbAOEnaOlz/Vdclft9KMQQWnlKWFx1AO8Lzg\ndb0cGX3+vkZHyxkiLE2h2bACKU+nAoXj64RKOT7peE69eXG0zTfua4Am4vJg\nei7sFCYhRZi+bcNQHoWeajSBRToCYBS9wLu9/x7uBwVaFlFFpXF9VqgSbzXS\nqihiIjORi67Kl3PqDmlWgnS7a7Dm8PMqUWcEDbgMXaGxrzV14hzGZHgH3QKU\nXGPD1t8dfGipLRg5LY9X7vgNxguq4PB8JX5v6Y3Xz+Zh95486UEuSEn2ctI5\neEFCjJy5EsGjOl6nE9Oqds29VVs+xQu9Bhf2VgVwc8cNciDgN0HX9JFk4/m+\ngUp4\r\n=GSM2\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCBTkUTbuq7c+gI2b4HFmobV7fXMbLb+8TqnnPvee1luQIgeRjvC6sXu5y7Aa4N1OeDaEpfxvvZywWkr2qcoxnH3hg="
          }
        ]
      },
      "_npmUser": {
        "name": "phated",
        "email": "blaine.bublitz@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "yocontra",
          "email": "yo@contra.io"
        },
        {
          "name": "phated",
          "email": "blaine.bublitz@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/default-resolution_3.0.0_1639373632047_0.14593780993403693"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "default-resolution",
  "time": {
    "modified": "2026-05-20T15:56:46.536Z",
    "created": "2015-04-11T21:47:32.395Z",
    "1.0.0": "2015-04-11T21:47:32.395Z",
    "1.0.1": "2016-02-04T06:47:11.541Z",
    "2.0.0": "2016-06-11T04:22:43.449Z",
    "3.0.0": "2021-12-13T05:33:52.194Z"
  },
  "contributors": [
    {
      "name": "Blaine Bublitz",
      "email": "blaine.bublitz@gmail.com"
    },
    {
      "name": "Damien Lebrun",
      "email": "dinoboff@hotmail.com"
    }
  ],
  "readmeFilename": "README.md",
  "homepage": "https://github.com/gulpjs/default-resolution#readme"
}