{"_id":"pid-port","_rev":"14-623c4d609ea2d46d149fea8ffb112724","name":"pid-port","dist-tags":{"latest":"2.1.2"},"versions":{"0.0.0":{"name":"pid-port","version":"0.0.0","keywords":["pid","port","netstat","process","processes","id"],"license":"MIT","_id":"pid-port@0.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"17a6817cfde56cd31a257111a7a0049066b591b5","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-0.0.0.tgz","fileCount":4,"integrity":"sha512-0De5WBxZBd3JVEl2h2Id+Ebu3LTMq3e0Y7+gcDKjZXN2KdJZqfh0JTSqpgtjGjNM36vNs/1syC8rvSY4d0wO1A==","signatures":[{"sig":"MEUCIBWVEuSc1ySV392W/rfSHhMIyjg8z4su5q9AgaE5MQTpAiEA4RhVeYPdK3X0jt6rLUETcAOI0zpT00zbEtNmgy7OekI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6GB/CRA9TVsSAnZWagAAlWUP+wdqGFPkv8tsEXkDGlA5\n8MsBoTldei/KHoesp709jH1mW76vAc+TsPkUWyDzwFvY/FESfZKRn5u91Ma1\n/dPGZEwv3nWFrYm6TaYKSS7w0RAUAzKLCVzlgolmE98gF6vkJxjRkObatMSX\n4DS/MiVTaBB14tnStdU4amyEJlRNn2mdkDaydRR3Pk/wHFhNIOQsJP8Qzxf+\njpxnIZCLuycJDSAxZaGvo0t8abpqy2c0wNKmKKr1pO4LxZ3iIUelZCPE+HKf\nOkkg02cguIEgcgkKpwDPrlULk4n8M9ZqelhBFGRrCkDklF8ZKZdEmaPy6qWp\nEIqn/POLnkdnqOY3U1YOvryuJbM6EOU0Eukh/PUSNs3flkdWDeWhSMP4Ut+6\nLRrL223zTLT0OziaRvCgYE2GEBZfWwALjBnGnOP8KrrAhy5uoY6qAzxR4ULb\nJn0msUVHkrDp40CRhYmiDAEExKvdOIe9iV/PB+g+oUTfV5XATHi3n98a1Xx+\nr/dEC+1wBxaz6wSqge+oXhP2I4SncHOU1UWmE1xJXi4m/4vU2s1Y87CorWqR\n7OmQA4jpyfZ+e7yO4/wTbApHkRrUoqeMBFlMFkWNMtK5kAzNb8iI+8HGwGm+\n/4LmL9TM+uCXrM/wvRPqcjsHtekQULMYM8XezO98N0dkJQucBucXp7Ajo7UB\nfv2V\r\n=lBrC\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=10"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"839223d39198f74db8eb981c5b1889552f8e8cf6","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"7.3.0","description":"Get the process ID for the process that uses a certain port","directories":{},"_nodeVersion":"15.5.0","dependencies":{"execa":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.36.1","ava":"^2.4.0","get-port":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_0.0.0_1609064575416_0.055541080327861536","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"pid-port","version":"0.1.0","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@0.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"cd4dfc4bdb97da34c4bd44e579d59c749e8b7527","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-0.1.0.tgz","fileCount":4,"integrity":"sha512-8Lz33FyZ7KP2HAba17a7qRm3WSeWjSGwSX0lRY1PmPFkUvWZFcV1OUydkiyMDs+MF7AhfEdKf8ZyEpzYn/Aedg==","signatures":[{"sig":"MEUCIHRnkwFtM4JxGMi1/4hd7Hd3paQOOTUePpOQ4TJSGQ4IAiEA35zXfiZW9/SgZMYoOo11C4Ga1lObCDDCprleHH0HQOc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6GP0CRA9TVsSAnZWagAAeo8P/imKXl/cQaLHPRUczcBR\nFfSj6WdgKYgVTE6Koa/gUL7711Bv80h5rgpqSpSz93hCJEY90k6+WYEnWai8\nIC8KzCO2K5sFpFX4bq7ElFq5u7blzeLeHA/GIMsFdcv80RbFT7+2nCbxHIMa\nhTC1KP3PoFLGK/DUSfMRiEsNu0aRCqHvWvniX+ju24+5xWUOzu9/aD0ryskP\niV+pYWf90nrscLll/DPa/tU8lCy+TkvZAXrn/n0BfFT+fq1GQgszRZNUCNk9\nfXn9couyBrmzVhA56XCP0y8eEsdQkD1M7CgWvt/e6FGMVzg8xn81pjf2fkto\nbrbv5vaHPGLzovNKSGKEaqwpj65/wZYFnJP8sU0Sh2GtRClJr3ejEZQ+XrUE\nG3seTwUKN5v8uFc9nDinaGRW5mBnn3C5+u2odCNat0AtwSshWulzvRlUdY+V\nOL5CJBAlgrCu8Fy1tTU2nYIIr5p7wEAR4XSFLqtuPxuH7WLwpj3AhTnxq1fA\ncM0G8lesxRUJ4r6OrBPOeKjpa2eXmeaYxxdlNz+exrU3lohTtw7HwBiRDwP2\nozNDdAq+CJ/H0HzP80nJM7ksundFYRrUwN8PcfacPNnZGjhGaNN7Z5DQMSjE\n8I7jwLzJ0c/iajYElUfJY9xL9+SlG9XbJExB+j6oJVhIaQ5MfsqQqgth6bgY\nk1Fl\r\n=tOj0\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=10"},"funding":{"url":"https://github.com/sponsors/sindresorhus"},"gitHead":"5101113a6b6b076fe002350ee4f5d895c3efc4df","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"7.3.0","description":"Get the ID of the process that uses a certain port","directories":{},"_nodeVersion":"15.5.0","dependencies":{"execa":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.36.1","ava":"^2.4.0","get-port":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_0.1.0_1609065460328_0.02418147487933875","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"pid-port","version":"0.1.1","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@0.1.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"2ac86fa8a0e97ef2e7eb9e7e9567cdc1eda78098","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-0.1.1.tgz","fileCount":4,"integrity":"sha512-boqPJtSgZC6KOgXKNPC+/XR3xwVtpOtaLa7JLcdf8jfVe0ZM2TwllBXxxLUO8GQbOLJ4/hEtf2+L1QCKbaoHUg==","signatures":[{"sig":"MEYCIQC8Qw/z1ynlha+zaspHitNHgPAM9C01FpRRnWP1ixNNBQIhAOU1gQpl2+vmvpGcwQQ6awBOGRpCZSIenQVkxOS3GDOT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6HTTCRA9TVsSAnZWagAAIR0P/2LpdnIs5nBpEIYJe3qb\n4O96bMTRzqcJ5DoEGV108dOxAHiuIeq6TxRpQU4FIq+2rkIv3vhTgD2+2eTr\nSPAWfV6cxzPw6MXCDyZmD12PvJmzhNuwTvWneYdR0sq26zKo1wZ7mcp77rlL\n8iVzxVtm8gFnnpMhD+9DRsTP5M3F9KmYCAtfdcCjdNKnLc6GhOeKs6BPwh/M\n3kEdYWiVKdecpvzu4XinaudqiRqHF/CPeFa4uOcKzHdcMYcVQn2FZiTlTVIR\noPyh3aw65b3+RQ/AEKySL4R9oLMA599TvgPwlrmO9uOBr+pd1Pu39B6jq+Rd\nIriiPZ+ePEl8deDoJrRLJrSoT1sgnh5zpxKf9AwYaGeKbg/vACP7sr1juIhP\ngXNH082IObFGXDPDVDArkwAU3W/U5uzWx//8D1mNpK9NsRGDbxDpI8EeLgoq\nZriGXKDYfhJZcd109FgVT3nGYpW+/Zo0H9Er1FnE1pi8EfzdQaqjYjl6HgGt\ne0+nJpcLfDQTBjRsxolP5SEWqu6b12EFuhc/bkK3MZXUkBUSsfVlXyM+jj7G\nxbdqMoNEgWnMAwAK16DAOPHC66WLpyez0/3iSaXd1ABheJxSWSIvW9bIFXVf\nfp2LV63FhijHxDkk4gO2JmS2waBbuaCP2qLZL4JZnQ6+EAr68POXBpj58Rxi\nsefP\r\n=OZiI\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=10"},"funding":{"url":"https://github.com/sponsors/sindresorhus"},"gitHead":"1e0e203e45a3fcd18fcc624872ece2b4e5c613c3","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"7.3.0","description":"Get the ID of the process that uses a certain port","directories":{},"_nodeVersion":"15.5.0","dependencies":{"execa":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.36.1","ava":"^2.4.0","get-port":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_0.1.1_1609069778936_0.8754633186563923","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"pid-port","version":"0.2.0","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@0.2.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"ava":{"serial":true},"dist":{"shasum":"db45378e4dcdb8425f911b7c09d7b0187a399873","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-0.2.0.tgz","fileCount":4,"integrity":"sha512-xVU9H1FCRSeGrD9Oim5bLg2U7B2BgW0qzK2oahpV5BIf9hwzqQaWyOkOVC0Kgbsc90A9x6525beawx+QK+JduQ==","signatures":[{"sig":"MEUCIAvqVdyYwa6/ecEIG3eOgsLywimKugThqxmEX7S2qRhRAiEAzIHrUNCf2Y0fMMBOXCuvSBky/Gn92ct/PXjkAceYEro=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh22oGCRA9TVsSAnZWagAAXOUP/iIuyONjYJ1fLcVxwfDN\nzHxGibdv2X6+nIQTEyoJrEyHnYtYe+P2Z6/RmhDO/38vH1q34ZqVWyXZ7N4H\nukJImRhH2u8X/pc44Sd/nWFjwaQHaEWjue5M37EKfGG85V60Z1BD4q9ZGIG5\nA6wDWJyZ4UcPVaQdKeHxuKrO+Hda1JspWL2Mw99UpZiVEWLl97Zt2V2rSsDe\nOzHh6Iyu32pXOQpUUYjT8g8CkFMpg5BuTlXjapK8WYIAqi5OOWqJg5kJD+vu\nQymcqBPyahtvplz9HrT1H3ls/QMADR+A9zvQBJYp/JdjMIlPxvfxkFJuGx8w\nGcbFH7oq3+5d74uB6CFWIWCaA37f4Ix0ub/DyIKuUzoIaUuERnG8IQdsCZhl\nvb40WJzr0zpqYrgEF6tXKwSm13S19ZXCm2AqD8dst3g9h9jmPBzMrgqnARdX\nEL5QvKDUmnVhejDu3Nn5Izxn0yp71IsBzX8qzgC6SZcWNtsN2aNweG7y7pLo\ntsiGovwpZRD+HIO2iYjA/D85an0csugc9CBbEgHyY5dJJUVyc4BpIFNYhb14\nvrEDIg/eTnmVY71jzSrwc9qA82qWBJqwGEzjIDKJprmyO3n+boMB8ZYxQ3gp\npRmAPYONBTIX80lYK9iMIGiQaHddeZO8gQKdoCwiGZ3ivq3wn8AeY31s7Mla\n7dlC\r\n=s3Fz\r\n-----END PGP SIGNATURE-----\r\n"},"type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"./index.js","funding":"https://github.com/sponsors/sindresorhus","gitHead":"68c99b5cf658f8228b33415d2217418bcbf5885d","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"7.20.3","description":"Get the ID of the process that uses a certain port","directories":{},"_nodeVersion":"12.22.1","dependencies":{"execa":"^5.1.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.45.0","ava":"^3.15.0","get-port":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_0.2.0_1633332573739_0.6034310099139457","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"pid-port","version":"1.0.0","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@1.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"ava":{"serial":true},"dist":{"shasum":"b99a4d53dfeeae8b4e123d02c77e268de0413225","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-1.0.0.tgz","fileCount":5,"integrity":"sha512-LSNBeKChRPA4Xlrs6+zV588G1hSrFvANtPV5rt/5MPfSPK3V9XPWxx1d29svsrOjngT9ifLisXWCLS7DvO9ZhQ==","signatures":[{"sig":"MEQCIAyjIWy6824R9qRoy7J3uhBx8/qhY07ugcpMJ0UQy0LFAiBrdyCQyYw6tJHYT6iH9zwiBBELkZ3/9ElOYJeqskOo3Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8495},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"b851896b8b62e62149526cce5397fbfb4830dd20","scripts":{"test":"xo && ava && tsc index.d.ts"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"9.2.0","description":"Get the ID of the process that uses a certain port","directories":{},"_nodeVersion":"18.18.2","dependencies":{"execa":"^8.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.56.0","ava":"^5.3.1","get-port":"^7.0.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_1.0.0_1699110227931_0.4005392813691089","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"pid-port","version":"1.0.1","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@1.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"ava":{"serial":true},"dist":{"shasum":"89b17c8c0390d03981d8f70879f1928ff16ebd8a","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-1.0.1.tgz","fileCount":5,"integrity":"sha512-LgNj9suJjJqCRtOC93KAB1q4IyuhNbhyvL9L1Phvi9Qbe32E26R6ooJLDlG5/OvSqU/ywTppH3Grc+jmdcJjpw==","signatures":[{"sig":"MEUCIQDaZdCvrONYvCy746oc5E5UZu2EfJIl3E245WsntkmaLwIgPsaYHFZSBApEhgjIR+nmRv6uxxh9boapGhbu1lzP7lo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9083},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"3d3d885242d0a5aa5ef523d38e89e6bdeac7de2a","scripts":{"test":"xo && ava && tsc index.d.ts"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"10.9.0","description":"Get the ID of the process that uses a certain port","directories":{},"sideEffects":false,"_nodeVersion":"23.3.0","dependencies":{"execa":"^8.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.56.0","ava":"^5.3.1","get-port":"^7.0.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_1.0.1_1737365692273_0.9903539501980945","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"pid-port","version":"1.0.2","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@1.0.2","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"ava":{"serial":true},"dist":{"shasum":"23e4dd2780b122edba3c8ff97473472225a105e5","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-1.0.2.tgz","fileCount":5,"integrity":"sha512-Khqp07zX8IJpmIg56bHrLxS3M0iSL4cq6wnMq8YE7r/hSw3Kn4QxYS6QJg8Bs22Z7CSVj7eSsxFuigYVIFWmjg==","signatures":[{"sig":"MEUCIQCEBNJQvPkahNjVbFNfetajphYNU0t7/Ifx1oTY8XDNeQIgC1bozKfpBZI/VXrj+W8+M0mFL1uqKOwBg/thG32mtlM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9084},"type":"module","types":"./index.d.ts","engines":{"node":">=18"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"94b39c6de49e616b68f98ff42c14cf8e165a9857","scripts":{"test":"xo && ava && tsc index.d.ts"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"10.9.0","description":"Get the ID of the process that uses a certain port","directories":{},"sideEffects":false,"_nodeVersion":"23.3.0","dependencies":{"execa":"^8.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.56.0","ava":"^5.3.1","get-port":"^7.0.0","typescript":"^5.2.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_1.0.2_1737370823747_0.8190920429416579","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"pid-port","version":"2.0.0","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@2.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"1f792be70c9d9a6dcb3f457cac02f4b65c731bb7","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-2.0.0.tgz","fileCount":5,"integrity":"sha512-EDmfRxLl6lkhPjDI+19l5pkII89xVsiCP3aGjS808f7M16DyCKSXEWthD/hjyDLn5I4gKqTVw7hSgdvdXRJDTw==","signatures":[{"sig":"MEQCIF+pJyIraVhs3mdgyvQxIBbpg0nu99hVts1EjRLRw5/sAiADUtM75MeaC8mzeI7qb8kn6Yd05B3KuTCt3O5Sfnih3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21006},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"a5a2885a3983e6a710b454f9a93ee54d42e52f13","scripts":{"test":"xo && node --test test.js && tsc"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"10.9.2","description":"Get the ID of the process that uses a certain port","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"execa":"^9.6.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","get-port":"^7.1.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_2.0.0_1758442097713_0.7954566892800772","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"pid-port","version":"2.0.1","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@2.0.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"ada269fb98638e1c95ab24ae44a4d438dc7fb01a","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-2.0.1.tgz","fileCount":5,"integrity":"sha512-pnLo01AmMclw8l+/gfknsP2N351oe8VkVmCLFUvJZ11NRPPmghJrv0OcwsdgPQxsZkFYwm6hPWW0JKmXYCaXAw==","signatures":[{"sig":"MEQCIHxWYAO+p6fZ+Dta/8zD9Dhm9CCEfZHfTE73JBpmviEDAiBBIItG1XKYhBupZlFJCv7py8d3zR2lbek2o1y13OG4iA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21407},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"eae05feb1d6cc95bd9e6776ba593b3d38072981a","scripts":{"test":"xo && node --test test.js && tsc"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"11.6.1","description":"Get the ID of the process that uses a certain port","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"execa":"^9.6.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","get-port":"^7.1.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_2.0.1_1768228602171_0.23852116832185177","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"pid-port","version":"2.1.0","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@2.1.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"e3d9305e00ae894d2e0cd0320cc723ac041efcf0","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-2.1.0.tgz","fileCount":5,"integrity":"sha512-KPyrFEIMFmcfYwsQ+hX6AHtu40sqTm6cgJdtt3ppYnEiqXaAdnUB+TPeW80wIsxd3jkURuXztgVp5dR5sZzz2w==","signatures":[{"sig":"MEQCIHx83iDm43dFu0exmRzZUk5C4KfZqcRUtRF5L6ORW1/MAiAt04CJ/x4OG8Lr/plKY0AgwtsYoE/3zmeLCToEjbiq+g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22031},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"e92f0bf2c5faa65b6dd8d76a1c51e412d9e98181","scripts":{"test":"xo && node --test test.js && tsc"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"11.11.0","description":"Get the ID of the process that uses a certain port","directories":{},"sideEffects":false,"_nodeVersion":"25.8.0","dependencies":{"execa":"^9.6.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","get-port":"^7.1.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_2.1.0_1773746080820_0.41814976097600787","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"pid-port","version":"2.1.1","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"license":"MIT","_id":"pid-port@2.1.1","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/pid-port#readme","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"dist":{"shasum":"139b9f9cc2855fe1a8fe176415b427bdfe25c9b4","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-2.1.1.tgz","fileCount":5,"integrity":"sha512-teosUBzP9q3GMZDp/QlI/HSJHwnIBiCtDWhM/OxSB2PcR20Z0uFrrsAjKbG3e4WlQTVm5oTfmvgXEp+gk/rZ0w==","signatures":[{"sig":"MEYCIQDSEvexp7sHG03WZTqijBOV6YbgOyE8ZtDfa3IhjM5jnwIhAI5EJmEhPsn5DZCaimjfrabjUKJc61kCt8o3cdvhGTH5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22201},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"820d7bef38927ced3435b4578d9d9fd589dd72e8","scripts":{"test":"xo && node --test test.js && tsc"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/pid-port.git","type":"git"},"_npmVersion":"11.12.0","description":"Get the ID of the process that uses a certain port","directories":{},"sideEffects":false,"_nodeVersion":"25.8.0","dependencies":{"execa":"^9.6.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","get-port":"^7.1.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/pid-port_2.1.1_1774620663344_0.8087278675967857","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"pid-port","version":"2.1.2","description":"Get the ID of the process that uses a certain port","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/pid-port.git"},"funding":"https://github.com/sponsors/sindresorhus","type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && node --test test.js && tsc"},"keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"dependencies":{"execa":"^9.6.0"},"devDependencies":{"get-port":"^7.1.0","typescript":"^5.9.2","xo":"^1.2.2"},"gitHead":"9293f61c8d58f8bf96af7b671046eac3f472a9ef","types":"./index.d.ts","_id":"pid-port@2.1.2","bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"homepage":"https://github.com/sindresorhus/pid-port#readme","_nodeVersion":"22.23.1","_npmVersion":"12.0.1","dist":{"integrity":"sha512-nzHnZlJchF5uGzm+2XXBqg7VdOhPI7hlZ39nscIEkEenDelVYQoZikFRVGRlI+W+LXEqF7ISCpi8my6fbaBvgA==","shasum":"4227c34c7bacfcf9c496f7f40920ca577f3bfc48","tarball":"https://registry.npmjs.org/pid-port/-/pid-port-2.1.2.tgz","fileCount":5,"unpackedSize":22575,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDp5B9AMuq22myLP1mY9y8LQtQaLNF5QC+s1MJC6EfZcwIgG2MiJf5MBWQpsQGzWOe1AKTF/f8P7g/kdoE57MVTP8A="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pid-port_2.1.2_1787931792014_0.7792108588636197"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-27T10:22:55.415Z","modified":"2026-08-28T15:43:12.336Z","0.0.0":"2020-12-27T10:22:55.598Z","0.1.0":"2020-12-27T10:37:40.451Z","0.1.1":"2020-12-27T11:49:39.065Z","0.2.0":"2021-10-04T07:29:33.885Z","1.0.0":"2023-11-04T15:03:48.173Z","1.0.1":"2025-01-20T09:34:52.457Z","1.0.2":"2025-01-20T11:00:23.929Z","2.0.0":"2025-09-21T08:08:17.897Z","2.0.1":"2026-01-12T14:36:42.321Z","2.1.0":"2026-03-17T11:14:40.957Z","2.1.1":"2026-03-27T14:11:03.491Z","2.1.2":"2026-08-28T15:43:12.164Z"},"bugs":{"url":"https://github.com/sindresorhus/pid-port/issues"},"license":"MIT","homepage":"https://github.com/sindresorhus/pid-port#readme","keywords":["pid","port","ports","netstat","process","processes","id","convert","converter"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/pid-port.git"},"description":"Get the ID of the process that uses a certain port","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"readme":"# pid-port\n\n> Get the ID of the process that uses a certain port\n\n## Install\n\n```sh\nnpm install pid-port\n```\n\n## Usage\n\n```js\nimport {portToPid} from 'pid-port';\n\ntry {\n\t// Only checks localhost by default\n\tconsole.log(await portToPid(8080));\n\t//=> 1337\n\n\t// Same as above\n\tconsole.log(await portToPid({port: 8080}));\n\t//=> 1337\n\n\tconst pids = await portToPid([8080, 22]);\n\n\tconsole.log(pids.get(8080));\n\t//=> 1337\n\n\tconsole.log(pids.get(22));\n\t//=> 12345\n\n\t// Specific host\n\tconsole.log(await portToPid({port: 8080, host: '127.0.0.1'}));\n\t//=> 1337\n\n\t// Check all interfaces (use with caution)\n\tconsole.log(await portToPid({port: 8080, host: '*'}));\n\t//=> 1337\n} catch (error) {\n\tconsole.log(error);\n\t//=> 'Could not find a process that uses port `8080` on localhost'\n}\n```\n\n## API\n\n### portToPid(portOrOptions)\n\nGet the process ID for a port.\n\nReturns a `Promise<number | undefined>` *(integer)* with the process ID.\n\n> [!NOTE]\n> By default, only checks localhost (`127.0.0.1` and `::1`). Use `{host: '*'}` to check all interfaces if needed.\n\n**Linux privilege requirements**: On Linux systems, process ID information may not be visible to non-privileged users. If a port is found but no PID is returned, the package will attempt to use `lsof` as a fallback (requires `lsof` to be installed).\n\n#### portOrOptions\n\nType: `number | {port: number, host?: string}`\n\nEither a port number directly, or an options object with:\n- `port` *(number)*: The port to look up\n- `host` *(string, optional)*: The host to filter by. Use `'*'`, `'0.0.0.0'`, or `'::'` for all interfaces. Use `'localhost'` for explicit localhost filtering.\n\n### portToPid(ports)\n\nGet the process IDs for multiple ports.\n\nReturns a `Promise<Map<number, number>>` *(integer)* with the port as key and the process ID as value.\n\n```js\nimport {portToPid} from 'pid-port';\n\ntry {\n\tconst pids = await portToPid([8080, 22]);\n\n\tconsole.log(pids.get(8080));\n\t//=> 1337\n\n\tconsole.log(pids.get(22));\n\t//=> 12345\n} catch (error) {\n\tconsole.log(error);\n\t//=> 'Could not find a process that uses port `8080`'\n}\n```\n\n#### ports\n\nType: `number[]` *(integer)*\n\nThe ports to look up.\n\n### pidToPorts(pid)\n\nGet the ports for a process ID.\n\nReturns a `Promise<Set<number>>` with the ports.\n\n```js\nimport {pidToPorts} from 'pid-port';\n\ntry {\n\tconst ports = await pidToPorts(1337);\n\t//=> Set { 8080, 22 }\n} catch (error) {\n\tconsole.log(error);\n}\n```\n\n#### pid\n\nType: `number`\n\nThe process ID to look up.\n\n### pidToPorts(pids)\n\nGet the ports for multiple process IDs.\n\nReturns a `Promise<Map<number, Set<number>>>` with the process ID as the key and the ports as value.\n\n```js\nimport {pidToPorts} from 'pid-port';\n\ntry {\n\tconst ports = await pidToPorts([1337, 12345]);\n\t//=> Map { 1337 => Set { 8080, 22 }, 12345 => Set { 3000 } }\n} catch (error) {\n\tconsole.log(error);\n}\n```\n\n#### pids\n\nType: `number[]`\n\nThe process IDs to look up.\n\n### allPortsWithPid(options?)\n\nGet all ports with their process ID, optionally filtered by host.\n\nReturns a `Promise<Map<number, number>>` *(integer)* with the port as key and the process ID as value.\n\n> [!NOTE]\n> By default, only checks localhost (`127.0.0.1` and `::1`). Use `{host: '*'}` to check all interfaces if needed.\n\n```js\nimport {allPortsWithPid} from 'pid-port';\n\ntry {\n\t// Only localhost ports\n\tconst localhost = await allPortsWithPid();\n\t//=> Map { 8080 => 1337, 22 => 12345 }\n\n\t// Specific host\n\tconst filtered = await allPortsWithPid({host: '127.0.0.1'});\n\t//=> Map { 8080 => 1337, 22 => 12345 }\n\n\t// All interfaces (use with caution)\n\tconst all = await allPortsWithPid({host: '*'});\n\t//=> Map { 8080 => 1337, 22 => 12345, 3000 => 14311 }\n} catch (error) {\n\tconsole.log(error);\n}\n```\n\n#### options\n\nType: `object` *(optional)*\n\n##### host\n\nType: `string` *(optional)*\n\nThe host to filter by. Use `'*'`, `'0.0.0.0'`, or `'::'` for all interfaces.\n\n### portBindings(port, options?)\n\nGet all process bindings for a specific port.\n\nReturns a `Promise<Array<{host: string; pid: number}>>` with detailed binding information.\n\n> [!NOTE]\n> By default, only checks localhost (`127.0.0.1` and `::1`). Use `{host: '*'}` to check all interfaces if needed.\n\n```js\nimport {portBindings} from 'pid-port';\n\ntry {\n\t// Only localhost bindings\n\tconst bindings = await portBindings(8080);\n\t//=> [{host: '127.0.0.1', pid: 1337}]\n\n\t// All interfaces (use with caution)\n\tconst allBindings = await portBindings(8080, {host: '*'});\n\t//=> [\n\t//   {host: '127.0.0.1', pid: 1337},\n\t//   {host: '192.168.1.1', pid: 5678}\n\t// ]\n} catch (error) {\n\tconsole.log(error);\n}\n```\n\n#### port\n\nType: `number` *(integer)*\n\nThe port to look up.\n\n#### options\n\nType: `object` *(optional)*\n\n##### host\n\nType: `string` *(optional)*\n\nThe host to filter by. Use `'*'`, `'0.0.0.0'`, or `'::'` for all interfaces.\n\n## Related\n\n- [fkill-cli](https://github.com/sindresorhus/fkill-cli) - Uses this package to let you kill the process that occupies a certain port\n- [pid-cwd](https://github.com/neeksandhu/pid-cwd) - Find the working directory of a process from its process ID\n","readmeFilename":"readme.md"}