{"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"dist-tags":{"latest":"4.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"description":"Check if something is a promise","readme":"# p-is-promise\n\n> Check if something is a promise\n\nWhy not [`is-promise`](https://github.com/then/is-promise)? That module [checks for a thenable](https://github.com/then/is-promise/issues/6), not an ES2015 promise. This one is stricter.\n\nYou most likely don't need this. Just pass your value to `Promise.resolve()` and let it handle it.\n\nCan be useful if you need to create a fast path for a synchronous operation.\n\n## Install\n\n```\n$ npm install p-is-promise\n```\n\n## Usage\n\n```js\nimport isPromise from 'p-is-promise';\nimport Bluebird from 'bluebird';\n\nisPromise(Promise.resolve('🦄'));\n//=> true\n\nisPromise(Bluebird.resolve('🦄'));\n//=> true\n\nisPromise('🦄');\n//=> false\n```\n\n## Related\n\n- [is](https://github.com/sindresorhus/is) - Type check values\n- [More…](https://github.com/sindresorhus/promise-fun)\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-p-is-promise?utm_source=npm-p-is-promise&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"users":{"heartnett":true},"bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"license":"MIT","versions":{"1.0.0":{"name":"p-is-promise","version":"1.0.0","description":"Check if something is a promise","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"devDependencies":{"ava":"*","bluebird":"^3.4.6","xo":"*"},"xo":{"esnext":true},"gitHead":"fdd034ca24d46a0c12eb6d758ce3159642992aaf","bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"homepage":"https://github.com/sindresorhus/p-is-promise#readme","_id":"p-is-promise@1.0.0","_shasum":"355cfd5351ff45dad17f4fabfef2df22883af220","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"355cfd5351ff45dad17f4fabfef2df22883af220","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/p-is-promise/-/p-is-promise-1.0.0.tgz","integrity":"sha512-ealbPwxfa9tvPPk4YmeI0j5CuJTL38xf/hAbxkgWWAwW0U5kytgQTAqKFDen9H7p/nveclclCybSEYBA1rauJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGPvcxkwpxvJG+AAATP10S42KG499XWSvfMjCzcpE0cgIhAJkQPDf4Ln7waxF4tBJWv31W1EwBLD4HPrj+jVzAn03Z"}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/p-is-promise-1.0.0.tgz_1480148834291_0.45526339928619564"},"directories":{}},"1.1.0":{"name":"p-is-promise","version":"1.1.0","description":"Check if something is a promise","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"devDependencies":{"ava":"*","bluebird":"^3.4.6","xo":"*"},"xo":{"esnext":true},"gitHead":"4333abad2f82fb0b33fbdd962ec25d7e3f0e0672","bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"homepage":"https://github.com/sindresorhus/p-is-promise#readme","_id":"p-is-promise@1.1.0","_shasum":"9c9456989e9f6588017b0434d56097675c3da05e","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9c9456989e9f6588017b0434d56097675c3da05e","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/p-is-promise/-/p-is-promise-1.1.0.tgz","integrity":"sha512-zL7VE4JVS2IFSkR2GQKDSPEVxkoH43/p7oEnwpdCndKYJO0HVeRB7fA8TJwuLOTBREtK0ea8eHaxdwcpob5dmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHvxiFkpFM3BgmXvpeTBGifFESbT2iCBJ3SaibUszwNBAiBIKAscKhQOYnelW85NySP0snTBwVvpu+fZKzAz1TLnBA=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/p-is-promise-1.1.0.tgz_1480311619830_0.49488614220172167"},"directories":{}},"2.0.0":{"name":"p-is-promise","version":"2.0.0","description":"Check if something is a promise","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"devDependencies":{"ava":"^0.25.0","bluebird":"^3.4.6","tsd-check":"^0.2.1","xo":"^0.23.0"},"gitHead":"959b6f32892c494b57656bdba24e895057c9fbae","bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"homepage":"https://github.com/sindresorhus/p-is-promise#readme","_id":"p-is-promise@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-pzQPhYMCAgLAKPWD2jC3Se9fEfrD9npNos0y150EeqZll7akhEgGhTW/slB6lHku8AvYGiJ+YJ5hfHKePPgFWg==","shasum":"7554e3d572109a87e1f3f53f6a7d85d1b194f4c5","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/p-is-promise/-/p-is-promise-2.0.0.tgz","fileCount":5,"unpackedSize":3295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqKuxCRA9TVsSAnZWagAAhsMQAIzIKV559cIOK6w5Y4dr\nJYc5g9Jndc5QZmEoAqgF3E0lPwI6Is0FJCdFzTecJhdIkHAcL60kdaAmyYtz\nIxe7C30GYzqr1qjM2kj1xkr9WtWJQ2Ik9hn8iuv6O+GHktv3mWzOqa+lpzhZ\nmV9HrxDQILyGkC/Cr3mD2cito8XniMayWhHSjMoKd6ENyxbOMaB6Hj82gJwb\nzusuQe37S/5MJIAbxoNtQdYAj3k7qQ1VorLaRs8NGHq6RS4vCtbyc6SveI4/\nDxWR6bdSSdNtCfGSsttbjKfwMI9qMWLQAt/l4VsGwM6vj5g8m3HvPT7hExvo\nt88Kw79oMnizrQGxAWgwrOfSm8+ps4ffE4gzGVyRK2MbONDWOOVPEyIgg86q\nwT8pXYCJceSMw92rOsqM+YgPZ+Zc6CglCX8/AGCwXFAzrA2OkiRFOiFeb+Jw\nGwHMy5mjklAPkkYNugj14i8jcKegZTsehcqL+W89jHO3tJa/uZAXh+ejFELe\n8d38awa8C14RZwJ40rqYBv52jllDAGZGjI8Efwd7yovVWlNmdKjjSoyZIrkg\nxD8uYzV1rI0+DqdEvSiUCLAe0NcnjB66GF9qObISsfxrA1Zbovw1Yqv3gljp\n5siUT+WGL6f8wAXPAC32gQxcMyRXBrsXO+44lFLTUmSs+6KcjtodFmNPo08T\nHAcb\r\n=M4+u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZYZ1cVy8pAB+JUsrLVAGY1H50WGvcplMRUi7iDsvAPAiBE4MxvgtKbtbgNGiihw+/ounKg7uIneX3OO7X9VMSc7g=="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-is-promise_2.0.0_1537780656764_0.16366292883755174"},"_hasShrinkwrap":false},"2.1.0":{"name":"p-is-promise","version":"2.1.0","description":"Check if something is a promise","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"devDependencies":{"ava":"^1.4.1","bluebird":"^3.5.4","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"a265a233b3bbcad7ced3a11605c7ad16c59fe6ae","bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"homepage":"https://github.com/sindresorhus/p-is-promise#readme","_id":"p-is-promise@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==","shasum":"918cebaea248a62cf7ffab8e3bca8c5f882fc42e","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/p-is-promise/-/p-is-promise-2.1.0.tgz","fileCount":5,"unpackedSize":3572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcqJQ8CRA9TVsSAnZWagAAMPYP/jR2s9OEZbElrpUvPNm/\n3GQU439P9kFwIFcjWqhuuS4I4nYOjmo7WTDPW1HNFnU2PfwXmdDIBN8b0n9R\nwIdLIi6+nn4HNGj5/JUUMEElGTmpgN8e+7tN5+NCwl/g4VpMKnMd2m3rSl9x\nr9zHFkty7hsCsVDMbMtdJ8dp3Uf/sJxnS1mzIblohnYMJO9WyrVSJanDpFCq\ncVomBArHszNKSicQRrQsJqzZRd4QTavzKjZ7lnPA1zqftx/38IEeK/MHdMZj\nX/2KTtFGbyNbB/9fYsITkhUkLKQITxZWLleYoS7FPobguiEgyYdTxWD8JnEx\n5pbioO7jzXo4F0TzdzORPRDHrBPIoLDbEui9GxqoTGBp2CkxgRkKlHHLX9/y\nHSAhOSRDGmNLgaqH/wD+wlPoGkXUe5x2vSNJ0EQHBgkramQ5xV3nX+OshvUv\nFBnU6+XSN2A3crMALrgoQT2D7jTdFVW/5kyIDsM6gO0+AIU/wYFsR+bLtJno\nRUDv5XWxLIExBwj4MUZCNX333yO6v2RjCuXpyamqFBUwePa1Q9NMZk4PvGZ6\nCuVSCU1x7+1QtTXIV/9OtmuictbVoKGRhckK7KD5h5rqazuZeF3Q0Dp4BErr\nzmkVhxpRal97XrKzXyAbpZ2LpC5q008tE08A+ajMZqO3PVBtKdL//l7ViFdn\nzZGb\r\n=MmxY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeQWUz2CGh1DLELdUrz2ZgcYxQv1d44JMHgQPnSLcYtQIhAIyIOyMG+2B2NG2zUFvkICjSUdRtW8he+l0Fu1X+Aioq"}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-is-promise_2.1.0_1554551867873_0.050121990378975134"},"_hasShrinkwrap":false},"3.0.0":{"name":"p-is-promise","version":"3.0.0","description":"Check if something is a promise","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"devDependencies":{"ava":"^2.1.0","bluebird":"^3.5.4","tsd":"^0.7.2","xo":"^0.24.0"},"xo":{"rules":{"promise/prefer-await-to-then":"off"}},"gitHead":"bb27245a9650c2ad91b6e23b9c683a8b4cb2509b","bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"homepage":"https://github.com/sindresorhus/p-is-promise#readme","_id":"p-is-promise@3.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==","shasum":"58e78c7dfe2e163cf2a04ff869e7c1dba64a5971","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/p-is-promise/-/p-is-promise-3.0.0.tgz","fileCount":5,"unpackedSize":3312,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGjDoCRA9TVsSAnZWagAAWk8P/i+uy/PjUdrH+jz2sXSP\nEhNH/kIa69iENo927GqXkY8Ry8ZmSeTksEcyC1+W7P+P30mHHMkHcOU2w5ml\n2vkphzXWIjJv+wqG9KufJqYyjnw+lL6tAIEJiBytyyEYRa5oPl0fiGUT2dby\nb0ENGjpF8l52QIUtbFXG1IYcya+/VEfXBTM9CF14fF5n86xsZzcQs/6mLkQM\nAHZMLcD+ubyTdzcSMJuQC5AcSg94CyypGQG79JQHkJmBMd2qRDdA0KXR/wN9\nmbiqvnOyhDZH5HOJe6iHnWGSU2ssqISHWGmsEGDB4YEc3zKUCjYYx/YUO+AW\n7nFNjdLkuzo6KcjbIudutElAFw6y5/YMpeE8nIQLoC2/gehGEEBqPkqP4pmf\nfnVnX4ejL07O+a2YEgcaIsT121ZE5+jhcIbfQoDOSgZqzIRgdTGO5QYQsR3r\nSsmat79+9XL8cFpU0aJyEWCayMXWhHft2RM6c8uH4GBEneHc7KHSSntKxICS\ndwpfPESQbJ38MogkIX2EP3va6JItsvnkHjeOnnhjA0Ju9YcBE5uG7A2cCoeX\n4txjTnHn/8yMqUZ1SvLOX33pd/F6pZ2Q2sptrkOp4+X/B8uB8L34tnfm6Vps\nY9lPgzIVkKzSmLDZMI42m3B4EjsEaZ47zcDR0Hj6uGStReyHNHtUTwaO1BhI\niPPh\r\n=lkiP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFax90CNDz4lXF8odF0NuY62+8WjEAmK8BxVEaa36YVXAiEAxNxw9pQaTkjB61fI6AHdCB7zT+pFMGabKGASVJnDNnc="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-is-promise_3.0.0_1561997543520_0.9288862605672519"},"_hasShrinkwrap":false},"4.0.0":{"name":"p-is-promise","version":"4.0.0","description":"Check if something is a promise","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-is-promise.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","is","detect","check","kind","type","thenable","es2015","async","await","promises","bluebird"],"devDependencies":{"ava":"^3.15.0","bluebird":"^3.7.2","tsd":"^0.14.0","xo":"^0.38.2"},"xo":{"rules":{"promise/prefer-await-to-then":"off"}},"gitHead":"e4ca18e2cdde865e0809b0e97e5803436918528d","bugs":{"url":"https://github.com/sindresorhus/p-is-promise/issues"},"homepage":"https://github.com/sindresorhus/p-is-promise#readme","_id":"p-is-promise@4.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.10","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-4G3B+86qsIAX/+ip/yhHX9WUcyFKYkQYtE5bGkjpZyGK0Re53RbHky2UKt6RQVkDbUXb8EJRb4iga2SaI360nQ==","shasum":"479ef05c0577aafb62e807224cedf7484525134f","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/p-is-promise/-/p-is-promise-4.0.0.tgz","fileCount":5,"unpackedSize":3766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeTaLCRA9TVsSAnZWagAAzkMQAIkUyR1XQujNqTLa5ePX\nstBjPPlFKgkO7PTBneP4E2igQ1B0QVX+LBgyEyaEvphGTASLi4+5S8pEys0G\nctnylbowCfPy5DrCWThgxief4/x6e5E4uimh39Ret9vmIdajAqeiDx5kdG1m\n0weQcJBh8TXop/2bE7V6g76LbWAfhDcqTY3gHarPIcY2lUh+FG4RIESkkvEW\nrJv82hp0jwvgtzch3t+RkPhKMdfg5vx6Kz7farXBumKEjzT6LDGY8pWs3SaX\no1VvEXWgHLH35t9cwJ2Pe9rvC0wkmIjFEQeNd+AF8BqGePHWVn/xHRf2s/uR\n4csH+29lZ912BEOmZN1UhFCv+WZf2FHfhtQ4gMeUqXle9GQml+ZrIbN2A2VA\n+2mMjilgF6N02crbl4+RjBBB2eg2Cz/AHlVAWaaTQurg3lOIfFmnWMWLf9i+\nnpJ8OdKHsEoaCjs+gY9zA8BtONDDMcp4aVtT9tTlak6rXKiKdJ/A1fW6kAHH\niEXCdK0pF3Z2bRYV7KLF0h7xbnZUOIpFeO57qKeLwTEki3mhqTCgrHGDcMK5\n3+GMjvxb3y8RN/ytfucbKZxVjm2ACA+CowSJnvLIcZZvPkGFbSJj8TyX0mAq\nVzp9rTiIJGS+eiSozLWymHB+yYpu+ypmhxr1w42+ydfkWH7UTbx2bWox1K//\nitTB\r\n=yFMK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEb3cmZW362DYyynEO0OBy29/ergYeECzESz/4gWa9x3AiEAlcPPyGHCBgKDdCN0JYAj7Hw6hNyKQ6cVmTeM/wTp99k="}]},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-is-promise_4.0.0_1618556554692_0.9766552655543208"},"_hasShrinkwrap":false}},"name":"p-is-promise","time":{"modified":"2022-06-23T05:47:06.568Z","created":"2016-11-26T08:27:15.923Z","1.0.0":"2016-11-26T08:27:15.923Z","1.1.0":"2016-11-28T05:40:20.274Z","2.0.0":"2018-09-24T09:17:36.896Z","2.1.0":"2019-04-06T11:57:48.017Z","3.0.0":"2019-07-01T16:12:23.648Z","4.0.0":"2021-04-16T07:02:34.848Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/p-is-promise#readme"}