{"_id":"has-pkg","_rev":"1-f2b7c2d27687e33f25cc990f07d78255","name":"has-pkg","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"has-pkg","version":"0.0.1","description":"Check if package is installed","homepage":"https://github.com/antfu/has-pkg","bugs":{"url":"https://github.com/antfu/has-pkg/issues"},"repository":{"type":"git","url":"git+https://github.com/antfu/has-pkg.git"},"funding":"https://github.com/sponsors/antfu","license":"MIT","author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"main":"index.cjs","types":"index.d.ts","_id":"has-pkg@0.0.1","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"integrity":"sha512-UuzsNxcEOdEwRsz4HtaceT7jg71L2gopEq8OMOGKtPLYhHhF4RJZtkcZ4Xn0jmAmBSNhm0xPhrywgZkLu4aMYQ==","shasum":"f9d9139ed83e2487deae5eb4ac13182a2e903857","tarball":"https://registry.npmjs.org/has-pkg/-/has-pkg-0.0.1.tgz","fileCount":5,"unpackedSize":2489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKxc4CRA9TVsSAnZWagAAlZoP/iQUvj+vdEouiMG8Ec0H\nC8hms0pLoGmSQuR0Ai+baAnG9fmYKRRGCOjEfPEKyRiP1F7jn4ZtmMR2aajZ\nadn4bfd7Kefg8kIfZQ2WaI0VMKOehjn+Hru1w2g5fjNbhl/UN8J/fMVc7d2T\nxl8+qUgsdI++DKIMhwHxTo/sGMWZ3DaAe5nd5ylJ4KVYrf/wDS61kDt+4QXq\nEGmlo1xoWcFYfmiB7slkzKpAcl4pDfBoE7y8xkQfnGxmClK833qRoZ6NVZXJ\nknL2v7rp8IPCr/tFEuZoaxo2SmckY02RSMs1HUeqZHsgWOPD21toOYA128Jb\nEcCY1j+T8qFY2xkE4SmjzWify7+3VrWRBoN9xFQqheNEi1Zr9iBsmgTCBol8\nWQOnytoic4uQT9C+47WXos49KtbGNf8o8/yIEOTLtVk/CWzLhzyGTY7dtrXe\nxB3tDM989jooEJEf0cIgEs2bAD3BZVhfrQVQ138696doQaT/XW+oZz5i+DUK\nMD2zd9G4+0ny37s4pin1GaCVPywbDoQq5MllG7hoFx9GleoP430MTxyiI+uV\nIExVpdbGJUzZAMhCJ9U3RGS5SpVgsiIFSiFruDTQp/S58HsMk0V0DRIeEyA9\n3pZOAGU8+A7zAXMg7YDlT95A2khbD7fX8Dqgj9UcX0ehoQBIJf+u0DetH8Dl\nEsv4\r\n=lXaE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2TFm8Rk9JudsPPGxaots9sJSifo9ewMJIhhewnKBTIgIgX6nRlazwhNDrB3nvXXW9QotbjygXuzsvZIXAnX2z0Rk="}]},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"directories":{},"maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/has-pkg_0.0.1_1630213944534_0.9140169294001905"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-29T05:12:24.534Z","0.0.1":"2021-08-29T05:12:24.688Z","modified":"2022-05-04T18:04:42.806Z"},"maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"description":"Check if package is installed","homepage":"https://github.com/antfu/has-pkg","repository":{"type":"git","url":"git+https://github.com/antfu/has-pkg.git"},"author":{"name":"Anthony Fu","email":"anthonyfu117@hotmail.com"},"bugs":{"url":"https://github.com/antfu/has-pkg/issues"},"license":"MIT","readme":"# has-pkg\n\n[![NPM version](https://img.shields.io/npm/v/has-pkg?color=a1b858&label=)](https://www.npmjs.com/package/has-pkg)\n\nCheck if a package is installed locally.\n\n```ts\nimport hasPkg from 'has-pkg'\n\nhasPkg('lodash') // true\nhasPkg('@types/lodash') // false\n```\n\n## Sponsors\n\nThis project is part of my <a href='https://github.com/antfu-sponsors'>Sponsor Program</a>\n\n<p align=\"center\">\n  <a href=\"https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg\">\n    <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/>\n  </a>\n</p>\n\n## License\n\nMIT License © 2020-PRESENT [Anthony Fu](https://github.com/antfu)\n","readmeFilename":"README.md"}