{
  "_id": "p-lazy",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "keywords": [
    "promise",
    "lazy",
    "defer",
    "deferred",
    "then",
    "catch",
    "fulfilled",
    "async",
    "function",
    "await",
    "promises",
    "bluebird"
  ],
  "dist-tags": {
    "latest": "5.0.0"
  },
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "https://sindresorhus.com"
  },
  "_rev": "10-918279d4c43578fe67595fd364be5569",
  "description": "Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called",
  "readme": "# p-lazy\n\n> Create a lazy promise that defers execution until it's awaited or when `.then()`, or `.catch()`, or `.finally()` is called\n\nUseful if you're doing some heavy operations and would like to only do it when the promise is actually used.\n\n## Install\n\n```sh\nnpm install p-lazy\n```\n\n## Usage\n\n```js\nimport PLazy from 'p-lazy';\n\nconst lazyPromise = new PLazy(resolve => {\n\tsomeHeavyOperation(resolve);\n});\n\n// `someHeavyOperation` is not yet called\n\nawait doSomethingFun;\n\n// `someHeavyOperation` is called\nconsole.log(await lazyPromise);\n```\n\n## API\n\n### new PLazy(executor)\n\nSame as the [`Promise` constructor](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise). `PLazy` is a subclass of `Promise`.\n\n### PLazy.from(fn)\n\nCreate a `PLazy` promise from a promise-returning or async function.\n\n### PLazy.resolve(value)\n\nCreate a `PLazy` promise that is resolved with the given `value`, or the promise passed as `value`.\n\n### PLazy.reject(reason)\n\nCreate a `PLazy` promise that is rejected with the given `reason`.\n\n## Related\n\n- [p-cancelable](https://github.com/sindresorhus/p-cancelable) - Create a promise that can be canceled\n- [p-defer](https://github.com/sindresorhus/p-defer) - Create a deferred promise\n- [lazy-value](https://github.com/sindresorhus/lazy-value) - Create a lazily evaluated value\n- [define-lazy-prop](https://github.com/sindresorhus/define-lazy-prop) - Define a lazily evaluated property on an object\n- [More…](https://github.com/sindresorhus/promise-fun)\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/p-lazy.git"
  },
  "users": {
    "rocket0191": true
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/p-lazy/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "p-lazy",
      "version": "1.0.0",
      "keywords": [
        "promise",
        "lazy",
        "defer",
        "deferred",
        "then",
        "catch",
        "fulfilled",
        "async",
        "function",
        "await",
        "promises",
        "bluebird"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "p-lazy@1.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/p-lazy#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/p-lazy/issues"
      },
      "xo": {
        "esnext": true
      },
      "dist": {
        "shasum": "ec53c802f2ee3ac28f166cc82d0b2b02de27a835",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/p-lazy/-/p-lazy-1.0.0.tgz",
        "integrity": "sha512-glNpuXcW+iwSG2aVX0aaCcpXxid0TgTyEd4+7Ogk3mziph7NBM5m64zue5OivYIVjAF2Hqmmb2QyOT4gEXkv3A==",
        "signatures": [
          {
            "sig": "MEQCIBxzgb/TQBs530q+dT6eN0LcrFflaSK3isHZdemqUI95AiB3tbIDDNyE3tg0Z9WYLJBuzH/KEYY78tzNhbWbtoqbYw==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ]
      },
      "_from": ".",
      "files": [
        "index.js"
      ],
      "_shasum": "ec53c802f2ee3ac28f166cc82d0b2b02de27a835",
      "engines": {
        "node": ">=4"
      },
      "gitHead": "9d240009f7ecc2217889304e7cfe4f21d985e442",
      "scripts": {
        "test": "xo && ava"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/p-lazy.git",
        "type": "git"
      },
      "_npmVersion": "2.15.9",
      "description": "Create a lazy promise that defers execution until `.then()` or `.catch()` is called",
      "directories": {},
      "_nodeVersion": "4.6.1",
      "devDependencies": {
        "xo": "*",
        "ava": "*",
        "delay": "^1.3.1"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/p-lazy-1.0.0.tgz_1478510599877_0.9282662672922015",
        "host": "packages-12-west.internal.npmjs.com"
      }
    },
    "2.0.0": {
      "name": "p-lazy",
      "version": "2.0.0",
      "keywords": [
        "promise",
        "lazy",
        "defer",
        "deferred",
        "then",
        "catch",
        "fulfilled",
        "async",
        "function",
        "await",
        "promises",
        "bluebird"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "p-lazy@2.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/p-lazy#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/p-lazy/issues"
      },
      "dist": {
        "shasum": "6501a84a49ae07f352deabd84ab447867b06afa2",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/p-lazy/-/p-lazy-2.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-hd7eattrle9bvtdXaNZQBut1vVqouZaQfwPfWEAwdMZUlblKiyDNzQWUWwcSXpl/v3IqTmYjbIOLAaUUMRUgaQ==",
        "signatures": [
          {
            "sig": "MEYCIQDVzrKK0+CPJU55PO8o/RTs/HcnHhmkeY65tWsCc6Ji9wIhAMYHjJqVdiXjui78FuRn4bvuP7uBoM47Bxi0xqJuQuZT",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4294,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjUIDCRA9TVsSAnZWagAAkk4P/Axu7JIrJhBYFOoQ2d8M\nfI8eZKvNPAAkp7f0CUF69SDs+Jnx0LSUQUdf5mJlruRHA2/XBPyXotN6XxwR\nZoRZem553gtoq2aCCcsfN5mmDgDyY1bPZ6Cgnmi2/Q0of1RsQ+DankdkO3IH\nqUaIgK55wI5ARkXKqQsOlefZe+WOfjatza3/BdHA1rj/RbckIdtXy/9qeTCx\nlXqqPD+KM4H4WXoDJ1s8U1YZBiAjEoFXwMEsnLvIG1IkycNejx+xMUO4PxV/\nzECp3aVWgw4PL234a4VLXfZvOCbNMQbB3IHgAg+aY1lI4Khg048APhpvoSMU\nmMijxJ56eLLZQF+cexd5+enUXfG0HhaDrOXk8gI5mpZHdfUdeLEIk8y+uEDM\nzy5PjohHb6iK9k1Vo9eOKHKVAsV1nP9xclfzJmjZxzOibY8+9SwSX3n754PC\nlx3xZRXJjagIG8JDbJEKi1qKXT8s2W5qKeXvZiDy7gqWHprLJDCOXC3VaUhQ\n3VMVtPgmR4/Ha99m1m4pVKxJXWY0CGYMTICfakv2rWEEYLFYfO7BiiUPAB5y\n+Kdu+7sB03gAPdY3/tVasgnk/cxl3RkBzfT6da6B0qF5wc2zsrDIdGZK+ye3\ne3OJK3CJD4iCtjviyf21wNZG1xeqw5q9sJS2I5OsyW4ZwQjpVwwVaeKDKxn7\nwD1L\r\n=2TlY\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=6"
      },
      "gitHead": "71d69db945e112a23ceaf7f9482ed307efd02c7e",
      "scripts": {
        "test": "xo && ava && tsd-check"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/p-lazy.git",
        "type": "git"
      },
      "_npmVersion": "6.9.0",
      "description": "Create a lazy promise that defers execution until it's awaited or when `.then()` or `.catch()` is called",
      "directories": {},
      "_nodeVersion": "8.15.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.3.1",
        "delay": "^4.1.0",
        "tsd-check": "^0.4.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/p-lazy_2.0.0_1552761347094_0.4100894551311418",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.0.0": {
      "name": "p-lazy",
      "version": "3.0.0",
      "keywords": [
        "promise",
        "lazy",
        "defer",
        "deferred",
        "then",
        "catch",
        "fulfilled",
        "async",
        "function",
        "await",
        "promises",
        "bluebird"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "p-lazy@3.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/p-lazy#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/p-lazy/issues"
      },
      "dist": {
        "shasum": "3d8b2aceea3e49f8e5883947838e9370f15c9e28",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/p-lazy/-/p-lazy-3.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-LwLtFifyLFRTMQUvA3m8iN8Ll0TesCD4KeDg+nJTEuZ38HWz8pi9QSfxt5I2I7nzk8G0ODVTg98GoSjNthlcKQ==",
        "signatures": [
          {
            "sig": "MEQCIGqh3obr9Hy8G8i2aDI2XuRNUSUQ2P7xFoQthoiESVtXAiBCQc0a6uZliw26LgLE1WPnmJxhyCZQyMN23cApwFWSRg==",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4594,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpES4CRA9TVsSAnZWagAAzP4QAIdK73PhT1vLkohAyuaM\nV7YsiQIX82+wB44FqZE5ifX/xHzPlCnnax5xvB/7T2FnEnLOStbpvEZ8e+pl\n2vXwFhlTIHH5FYxrNkM9jXSqnv+Z7TDYgwUACWh64zUQKLmJbk5jqatQePao\nM+H9FlWas3diJtrGWx1DZlPuH3iFz1peWhsqBEPK3WsSeWKT80t0DMtePS5L\neSvTnnXUS4aOpsMBeQvGbktPjbAn1OGfPk14aE81QzbjNsUqdY/qpr79+Rvz\nYeSd6sYVzPjKCTMBN8HEumqAF6AnlnqgMATqE1je5uiQPK8bs5BciXKWfuOa\nuMXWx6KjcfLR45piCOuUC8u7iJCPn/9yvUe6bxvaXYWkZmDAr2RKFwlx8Cvw\nyW4ddpZj5MJmvSCV0eIyhH6zSU3Qh8nBY+TsMl+d+L8kiTM3jljjwUaidrce\nb5kOQV8NBflvVCifS4xD5ajz/h+l6o9zA6I32s1PweVp19/4wl8i+WRqGrpB\nG9ldsCBwAJ5ocPnSycvuOKZx6UpoaHgyhG+VCTcgsl2JiBf84EIJ4A0R5hKJ\nmVtX6pwnhPaxWfmfBLtg6xO5Lexx6x1NbhrHkftE3+XNxfIRv7XUrfK87ab2\nOkKhu6SFSshrVg+IHoqRHVVZMSEtvJRMYsaFvAJLTf7SDLC4tkO6B1Oy82xI\nrhxH\r\n=lavA\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=8"
      },
      "gitHead": "2d38e9173d41021c7088ee3b60b0230143c60f78",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/p-lazy.git",
        "type": "git"
      },
      "_npmVersion": "6.9.0",
      "description": "Create a lazy promise that defers execution until it's awaited or when `.then()` or `.catch()` is called",
      "directories": {},
      "_nodeVersion": "8.15.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.4.1",
        "tsd": "^0.7.2",
        "delay": "^4.1.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/p-lazy_3.0.0_1554269367472_0.6063293656935744",
        "host": "s3://npm-registry-packages"
      }
    },
    "3.1.0": {
      "name": "p-lazy",
      "version": "3.1.0",
      "keywords": [
        "promise",
        "lazy",
        "defer",
        "deferred",
        "then",
        "catch",
        "fulfilled",
        "async",
        "function",
        "await",
        "promises",
        "bluebird"
      ],
      "author": {
        "url": "sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "p-lazy@3.1.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/p-lazy#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/p-lazy/issues"
      },
      "dist": {
        "shasum": "4b1e40482b7ee87853abbcf31824ff64e1816d61",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/p-lazy/-/p-lazy-3.1.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-sCJn0Cdahs6G6SX9+DUihVFUhrzDEduzE5xeViVBGtoqy5dBWko7W8T6Kk6TjR2uevRXJO7CShfWrqdH5s3w3g==",
        "signatures": [
          {
            "sig": "MEYCIQDVBytoTFeUy6bKPG17EppSg0zMpjgCdgRzwfzIM8+eowIhAIjAa79yXKf7ZJ6BBZUd+P59mBD1B/yp1ELUz2Y2l2EY",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4873,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf+zy4CRA9TVsSAnZWagAA7UAQAI1w4doYzSOrUskvTu64\nsBsy81k82sCUPOgVKy9llmtJPyQae47IUMxuyrlwk0zRkWAgND3GF+gjuyHV\nQhyJ4sEKT3cjnxXYD5ZH3VChd/U+TluZSldhoCY4bMCzMCY/gdBjcqXBgAW6\ngNDLZwFjoWig39Za4AClx5XJXWkBwoiBITHS8X4ZMpgCiI3FjTGBTwMsJhBe\nbvICJGbVLIjJGMQ//EeFoynvyrYLeQynv6/uYzVgCsYRGUMLurWJoeE10W8f\na5ZqXU9XL4yjCYdRrqq7nUxSTR95Zr3I5PuOQrw6rHP6r2ovPlwGYJId66b1\n4hpra7YzFxCXk5gU0hVquicOdj5r8rhwsU1o6zeFH6nGz0eID+CwrJOUCn3T\nVigm/z2GxXZWR5kihAnMgoTCS2UPiPl6xr11MvghB8sHww7YhbjGRdIUFXs4\nI4guVE5H6bHarO4elAU67zcji3ujnCQZswQSDheB6fTCuOeWpOz1Ev1T0YI4\npqKyXrk/uRSWaf4BheFRsqbzIcHmvSIYK9Mlf2p+62+ZgXtyGQzhn3kI2xFi\n7mOid7D0cFr+aDZt/GzqJmxaHDjuh5ZeUjo7NEjbquOSeSC46G6RP8bihaqj\nrLQGNk9/exq5YXFv58jA73eCXxywQG9qOZTJ9zxCJWceo6AEn3UjaQij1iUc\nvsDL\r\n=z4Nx\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "engines": {
        "node": ">=8"
      },
      "gitHead": "b256354e814b99fb200773c8e292ed4da851b8e9",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/p-lazy.git",
        "type": "git"
      },
      "_npmVersion": "6.14.10",
      "description": "Create a lazy promise that defers execution until it's awaited or when `.then()` or `.catch()` is called",
      "directories": {},
      "_nodeVersion": "15.5.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.24.0",
        "ava": "^1.4.1",
        "tsd": "^0.7.2",
        "delay": "^4.1.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/p-lazy_3.1.0_1610300600000_0.9653662740555646",
        "host": "s3://npm-registry-packages"
      }
    },
    "4.0.0": {
      "name": "p-lazy",
      "version": "4.0.0",
      "keywords": [
        "promise",
        "lazy",
        "defer",
        "deferred",
        "then",
        "catch",
        "fulfilled",
        "async",
        "function",
        "await",
        "promises",
        "bluebird"
      ],
      "author": {
        "url": "https://sindresorhus.com",
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com"
      },
      "license": "MIT",
      "_id": "p-lazy@4.0.0",
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "homepage": "https://github.com/sindresorhus/p-lazy#readme",
      "bugs": {
        "url": "https://github.com/sindresorhus/p-lazy/issues"
      },
      "dist": {
        "shasum": "744f02310f3eab92b465873a841f39384d8a0458",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/p-lazy/-/p-lazy-4.0.0.tgz",
        "fileCount": 5,
        "integrity": "sha512-8lIogVWwqBkiBy4FpylVHLalB9dZ25B2zBdY4OGGknDPWB7ehf2jyxmbh8z3MZsfbERLNU266h9Yx3cxHn3lFg==",
        "signatures": [
          {
            "sig": "MEYCIQCDxsmYr6IbkDOuz5PR/3j4h3HyL6uh0uYFjz2o24B96gIhAPuE7gDbwoyasjJS88WTnWsDVmPJvb67afdput20AVIl",
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
          }
        ],
        "unpackedSize": 4907,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb/F/CRA9TVsSAnZWagAAPSsQAJ1np/ixGBChTjmkTe0M\nWWUSqFL174b731eUL4XgK6I5bYFobJhJA9pT9o/KZQuPuN1obrCezJXF1ghI\nYhkwxXFt5dum41PXNNGwyfWegvbp5FgHHuTO4XvOEZbBoXo9yq5TCV+pYKhB\n4aramZSijYVxSrctCnblKb4Eh/VFZtIOazuxA6NKYmhkLl4wiIZ9v2BYka19\nJgdKYmiLTCZZaRL/xJegfH6pmucecG7MNh8Nen2JLJWN1cXDRcQ6chvHeTdy\nA0RWBV8sxY4EzxWajY7mzDtIg3a2OZe22ToPznXaH4nO1C+3mGLD6XWmsKQg\nHoVla3sVFVXzUbqfSXcLC270VSfQ5rAFdQD9oHDrWi78FOcb3c5Dspgc7dyi\ngQyZ2Mp2Qq3EmNiuNmqw8ZIL3P1UVrOWfl9Chkm6VPyryiRxMocx3CLUpAJY\nguv+ArBIDxx8b7J4+w8RF6xqme5LNEnGBnGVYX8loPwqK7oapupLcua3fw1X\nZfss8/ormzW+3bSeZFKoprxwVm68DXxWaMDz+WOqRCuLSx77pC8PT1xJCqSB\nzbVeuV95Dqo8374MjYF4h6Eg7U83bpU2SNrUUcwFtuYOKEcwcH0qkUphiZrN\n5Xn45dRvBbZ/RfoHc647qHtITsstYBSHzEjGk4qmG7QIg3URENvdRSSdunV6\nR8va\r\n=5elP\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "type": "module",
      "engines": {
        "node": ">=12"
      },
      "exports": "./index.js",
      "funding": "https://github.com/sponsors/sindresorhus",
      "gitHead": "ec4791753111d7c01f44f8dffed21327bef46081",
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "repository": {
        "url": "git+https://github.com/sindresorhus/p-lazy.git",
        "type": "git"
      },
      "_npmVersion": "6.14.10",
      "description": "Create a lazy promise that defers execution until it's awaited or when `.then()` or `.catch()` is called",
      "directories": {},
      "_nodeVersion": "15.12.0",
      "_hasShrinkwrap": false,
      "devDependencies": {
        "xo": "^0.38.2",
        "ava": "^3.15.0",
        "tsd": "^0.14.0",
        "delay": "^5.0.0"
      },
      "_npmOperationalInternal": {
        "tmp": "tmp/p-lazy_4.0.0_1617949054762_0.7405464468303842",
        "host": "s3://npm-registry-packages"
      }
    },
    "5.0.0": {
      "name": "p-lazy",
      "version": "5.0.0",
      "description": "Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called",
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/sindresorhus/p-lazy.git"
      },
      "funding": "https://github.com/sponsors/sindresorhus",
      "author": {
        "name": "Sindre Sorhus",
        "email": "sindresorhus@gmail.com",
        "url": "https://sindresorhus.com"
      },
      "type": "module",
      "exports": {
        "types": "./index.d.ts",
        "default": "./index.js"
      },
      "sideEffects": false,
      "engines": {
        "node": ">=18"
      },
      "scripts": {
        "test": "xo && ava && tsd"
      },
      "keywords": [
        "promise",
        "lazy",
        "defer",
        "deferred",
        "then",
        "catch",
        "fulfilled",
        "async",
        "function",
        "await",
        "promises",
        "bluebird"
      ],
      "devDependencies": {
        "ava": "^6.2.0",
        "tsd": "^0.31.2",
        "xo": "^0.59.3"
      },
      "xo": {
        "rules": {
          "promise/prefer-await-to-then": "off",
          "unicorn/no-thenable": "off"
        }
      },
      "_id": "p-lazy@5.0.0",
      "gitHead": "a87a0418fc7e6d977b66a372d2726d5730901181",
      "types": "./index.d.ts",
      "bugs": {
        "url": "https://github.com/sindresorhus/p-lazy/issues"
      },
      "homepage": "https://github.com/sindresorhus/p-lazy#readme",
      "_nodeVersion": "22.6.0",
      "_npmVersion": "10.6.0",
      "dist": {
        "integrity": "sha512-C4xW5/wLGqswBx1xgu/t7fBaHMDKm7SXycgc0MEQvQ5KwzjT1E4MmE9cg0RXn9d0MTgUGJLUCb2EkLBevXi6eA==",
        "shasum": "43762897d0c208d656ab24364e91c9684939ec79",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/p-lazy/-/p-lazy-5.0.0.tgz",
        "fileCount": 5,
        "unpackedSize": 5159,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIDthv8uEokJUrYcCuBWWJG/HTxaJcdsGWXban+zx+3DfAiEA9WsZrFBxYp3Uxfc8+ZRFYR70dJ9hR5rHpr6Ki1462Yc="
          }
        ]
      },
      "_npmUser": {
        "name": "sindresorhus",
        "email": "sindresorhus@gmail.com"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "sindresorhus",
          "email": "sindresorhus@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/p-lazy_5.0.0_1730098318839_0.9124116484596343"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "p-lazy",
  "time": {
    "created": "2016-11-07T09:23:20.098Z",
    "modified": "2026-07-15T20:04:31.358Z",
    "1.0.0": "2016-11-07T09:23:20.098Z",
    "2.0.0": "2019-03-16T18:35:47.293Z",
    "3.0.0": "2019-04-03T05:29:27.612Z",
    "3.1.0": "2021-01-10T17:43:20.145Z",
    "4.0.0": "2021-04-09T06:17:34.889Z",
    "5.0.0": "2024-10-28T06:51:59.047Z"
  },
  "readmeFilename": "readme.md",
  "homepage": "https://github.com/sindresorhus/p-lazy#readme"
}