{"_id":"is-localhost-ip","_rev":"9-c116ef6e294f9e3e481fac484e2cbc7e","name":"is-localhost-ip","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"is-localhost-ip","version":"1.0.0","keywords":["localhost","is-localhost","check-localhost","is-loopback","is-local-ip","ip","dns"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"GPL-3.0","_id":"is-localhost-ip@1.0.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"b0c8172dee1e7b543b9fafc3e5397dba6bba6a1e","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-1.0.0.tgz","fileCount":4,"integrity":"sha512-dvw1hrQuBHxaKXY+dkFnmubaoik/ZcVRsnZ/8qJWml64cLTjDfYm984vu/2Zge8mR2bEyPuDWwfwV+DLBGfTnA==","signatures":[{"sig":"MEUCIQCInffUmMtK3cT42iKMOkZbb/XjWgvq+vB1XV6gSjiAKwIgLZiZxO0Z01UBOOQFAriXs0Hji/5+yIgjEglewPlXpyg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWIuNCRA9TVsSAnZWagAA2dYP/2dOM5PyHIF7w6gm07GW\nT/G5zG3nZsOZSqIxzYqRe7fPQv5f2nDWcwc7I7UDdoonn5FnYc1KxhPmkxvx\nPIZzrIcOzAZ41JEAC9xgCwYYzVJMgD659vmrwT617N9y2ellxorLJBTjDVYr\ndzjL97qNx3xQrEosd5nzkUStdPXTVpeLeQjqugwEnN5CREwEt10/Th2V60rG\ndQ3pBAx2jhBZfu/ByfOSePmvJGAKN2cALlUZdYpdD8oUp5M9/wMHEUSS4rzj\nWYMf0FcOaspjvc5rYGfd6y9SNvGLpR9RtxbyAtKQbq/Yv3I0K4MqscAV6EBb\ni0poS2B86GVG//MBx+yqIVbZbMsDC6aUONSGs2V3ZXcwxHqivISAVk+nvVAT\nMyoaR5Rp/WgpZQ8UYnRTvM7T6LR/qv17u1qXJd/b5SIuOPfnFefRMvlJoq3y\n0JHBX3kwKPGy9F6HH9KitwQsKZXOyFFl87Lp53X4n6rNQiKUGc1MkbKPyTR8\nteFVIvaJNpp6aIxftA6/v1tQGJtOtObokGKg63HVIeH667LgfM0RTkujJlyB\nfBIKTzG6rv6Czt38GyhIoZKuKfzFwV+8vlE4c2abuoEGHynr7Oow4Qa3wB5Y\nhhwa+fKWfBhp6W92uLZ4V/R9m1850J8/fQ4rFb668Y1xjnk1ivM7qqlkpqxf\nXRQ1\r\n=ggta\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=12"},"gitHead":"c662cd1d166bf081852928e346ce9a9264e59328","scripts":{"test":"jest --coverage --verbose"},"_npmUser":{"name":"tinovyatkin","email":"tino@vtkn.io"},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"6.10.2","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to local machine","directories":{},"_nodeVersion":"12.8.1","_hasShrinkwrap":false,"devDependencies":{"jest":"24.9.0","eslint":"6.1.0","@types/jest":"24.0.17","@types/node":"12.7.2"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_1.0.0_1566083980439_0.8672567980821442","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"is-localhost-ip","version":"1.1.0","keywords":["localhost","is-localhost","check-localhost","is-loopback","is-local-ip","ip","dns"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"GPL-3.0","_id":"is-localhost-ip@1.1.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"643ec324c81cc2f0e24b1ec8f19723d3a602088f","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-1.1.0.tgz","fileCount":4,"integrity":"sha512-zX+1lRU4Msw8vahVSiy3dShJ35zWsFgMdE7KzrtF/hQQnhQS4iM5cti1txo3mnHrC16RV9hufido3tiBEciouQ==","signatures":[{"sig":"MEUCIAr/UzmzZDBlYll+MkNQgPRiInhLd4woAG1oQm7BEuR+AiEAjhpxTKqEMmyacCupz0mYSoNG0MDyILYJ1V1eMODwiJo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX4u6CRA9TVsSAnZWagAA/OsQAJ/Qv+pI3ZMwj7ZhR1rL\nqzBmSnvbDAc59OCrNRUoa3FZoqxBuCUEHkn2lfu+Z2h8o3JQvxXIKBHMdXaR\nfOIJnRhdxmDxMXkR69OY83BkOTi4aEcNQw/DaeL0U1aIQ49yFJhOcvVj5QQ3\nnPjlcABQ70x3AKnGyfu7mPvnvwIU/VqoDCqKp0+io2CWGaeu5uEGuSGDSOb1\nTu8/SXmNCqv1O35YJ6WtAguU11gGL5+rHL83tSIcg66IE3rEnu1t2qzIR40W\nPbOd23CdhEHGud49CNFPjHDueQujYHkTESwObr20npXJv4X1VRQ2yJCVZGKC\nA7yj0TtahvotM4g6RmQyf/ch0WDJH7nIItvtp7BeGlkAZ2nJCzd2cHoDivyj\nnDSSKhopf2rmjy3GAXx8LgltFWOZc/BV7mNXG8UUvWxXhanLMWQGI2NatQCS\nHDQPhuk9/f5y1/HVwFVlVnn22LI9fAa2v8JUfpOnU7XbFKaathyz+lVkAiXx\nl84TkcBkAeuvb6IHgnP6qn7gcD0KqAmqAvrDiGAmVbzoS7CgguiLnSV0d6W1\n5Jy8niXK+VzTs7rjKREQ2GWlCXvltCTiIp3Kln/mpFQr6Sux1Zy3JBT8kynD\nYoMyGd5UlslsfjohAIGqEW18eu4FXDxpsKpZp0UUoHQmv1OGKWcMfmn9CN/d\nT5Y0\r\n=MTUR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"testEnvironment":"node","coverageReporters":["text","json","cobertura","lcov"]},"main":"index.js","engines":{"node":">=10"},"gitHead":"79ef97851964ccd2279239a467303a325b887160","scripts":{"test":"jest --coverage --verbose"},"_npmUser":{"name":"tinovyatkin","email":"tino@vtkn.io"},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"6.11.2","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to local machine","directories":{},"_nodeVersion":"12.9.0","_hasShrinkwrap":false,"devDependencies":{"jest":"24.9.0","eslint":"6.2.1","jest-junit":"7.0.0","@types/jest":"24.0.18","@types/node":"12.7.2"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_1.1.0_1566542777395_0.6510133914864327","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"is-localhost-ip","version":"1.2.0","keywords":["localhost","is-localhost","check-localhost","is-loopback","is-local-ip","ip","dns"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"GPL-3.0","_id":"is-localhost-ip@1.2.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"7320ac9c2af6a004570f43c9681a6c8996237612","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-1.2.0.tgz","fileCount":6,"integrity":"sha512-k2P3fNM8W80eeajAz97WNIJ03WKexPbC/v1fI57kBtb6X5s3Mj9+//gutsEpN58Y2On4p58yhbTHjRusgeO2Xg==","signatures":[{"sig":"MEUCIQCTYKS+JIAsBFUIyBjjKB0v44KwgcuO03pQfY+YpuWzQwIgDtVOTh+dzJHsreCmkTlSZVrovPLLoWV6zTbhRE91h8s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYtqECRA9TVsSAnZWagAArDkP/RwItXFDWaeXnW+iOY0P\n7+gcRt7tm3nwQQcrCDRuQ4RCEmjyaCGzuw4XXjRbRaQjXAZR7t2XN6hhkvEE\n9o25OkDcMLd7zrObw4h3ODSOhsyOjvuqXVX6WXF56mZiI6TB/ZLay0vxtuxZ\nspPFNTdQKFVYmBI5RdDMDfaBfwz/V02BQAPvI8+oubZBMkOmbi3Ho74NwvQj\n5iDVzEAfgwDuzlDqa4+hWDMB4H6woE1zgFxpmYCUJKhsO+rR0R03WTafJMmF\nxWzufTts7iFQqt+nb7Nb6XJZHxmkE7MVNjx8M0lpAc3LtaseuTQr5oaf4Jia\ndgIK+g3kB/NqPTrIY5vTccMl3X90U7GRFDtBHL3bWkP1RG/nXQJBZyvQ5FZf\n/MfgmbjdHqLGSfS4gF3m/mo5fnzTZ1Si5O0y/37ji+SJErZFsfJU7VXkXaQr\nuu5wQl+ihhiYNQBgpO2GkOKjWz9a8c6MSmODmCVwxZ223yb+I08dgxQ4h2Z1\nRuLEL/Bh9EmIR2stRcbCH/JCWPfZMF9eJWuamYtqzmcEDkSmJreJlaGrZ23i\nSaVX83Ts6NAU76C8L6wiocHzNypr3WiRpU42unpjOB66FDz7h8aCRGga4TRi\nIEAxoj+VwNLiAep9FKHFJs7GrdeFx1jA6X9JnsX8jvzLJrmeZlqY7HCsJpvf\nniga\r\n=1A6T\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"testEnvironment":"node","coverageReporters":["text","json","cobertura","lcov"]},"main":"index.js","types":"index.d.ts","engines":{"node":">=10"},"gitHead":"2780445032e55019af84a626a4c26e0a432e8e3e","scripts":{"test":"jest --coverage --verbose"},"_npmUser":{"name":"tinovyatkin","email":"tino@vtkn.io"},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"6.11.2","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to local machine","directories":{},"_nodeVersion":"12.9.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"24.9.0","eslint":"6.2.2","prettier":"1.18.2","jest-junit":"7.0.0","@types/jest":"24.0.18","@types/node":"12.7.2","eslint-plugin-node":"9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_1.2.0_1566759555466_0.38093396781722166","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"is-localhost-ip","version":"1.3.0","keywords":["localhost","is-localhost","check-localhost","is-loopback","is-local-ip","ip","dns"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"GPL-3.0","_id":"is-localhost-ip@1.3.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"9c2594f0c10b90f5289ba7056adac68c9bb05431","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-1.3.0.tgz","fileCount":6,"integrity":"sha512-0ATqTKEGVHNoOwkSDVA8+GTh6Cwa2ScQN93w5iku8peY8E+Y210G2tnXty+awehTPWZDHyFIJDNC8fX7ApcyRA==","signatures":[{"sig":"MEYCIQCnzcktd2OsqQyJx8HsUtrnrQR1JfyHn2KYycACr1ATmAIhAP09Vaw0mMf9DXMeS6otiBHxp2Xr7KWGQXc3DcXtFuEB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdY/epCRA9TVsSAnZWagAAzTYQAJScxOBlaGb+2NFIztHx\n45Vcbc5yQHw8MjP0LrVo3SAdFt/bt5r73fL3qy1A4F/g82qDDbtYwFfJw0Zo\nswxznXhIE46/Nfn4IAoCGOBMo8pRdsRsPktktPemAwRc3U9R3eZ7hWn6rQUr\nAPDN2Wo/mUIWmmPB+BLNngjmYOfM1nUEWYIFIInbo7nLC8/ZvOZM8fQFyoLb\nM5aIInElVBAoEam1fJuR88LITsW46lZCoXGAkPyz+0RTgz3b3QO15jnK8/dp\noJJ5+45s9n3IAWao0+gEWhHlgthx67GTA86lYH3ZtSUVG6jJwhmJoC+4mliK\nnPmAqfESdem169K54eHJrWR8pMcZuuJChUOeMRVjv6s1urtxlAOBI+nypz3y\nqmVnj8ZK6GQ2SNAFD16zWxfVS+p4YGo4SvMGfMeN25/+lr0vJYgv2BFCmsCK\njEWPeSdgZEExQMnfFcz4K6DM0oNauLwf+8ygDdCLHJIAO2t47hvbx+s5vCzZ\nV1bRDjUNwzbRifONl5gTQ1nvI/AE2OMVMlCV/WaMtZWPTIPOUSaWLJa7PVf7\nVpSid7TGdGvdBSClqwzknVH54CiOfLJBakxKPA/7AlfSlEgO4HCmDuGs9bTB\nwvdDRWR5horn8UBtGofmLFZAnGeW8oLDhawcSUwAWYCQEjKnuryCUeq3wevA\nLCRw\r\n=wIzG\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"testEnvironment":"node","coverageReporters":["text","json","cobertura","lcov"]},"main":"index.js","types":"index.d.ts","engines":{"node":">=10"},"gitHead":"c3e4795e67878855e24726a5c42303203d6e0745","scripts":{"test":"jest --coverage --verbose"},"_npmUser":{"name":"tinovyatkin","email":"tino@vtkn.io"},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"6.9.0","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to local machine","directories":{},"_nodeVersion":"10.16.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"24.9.0","eslint":"6.2.2","prettier":"1.18.2","jest-junit":"7.0.0","@types/jest":"24.0.18","@types/node":"12.7.2","eslint-plugin-node":"9.1.0","eslint-plugin-optimize-regex":"1.1.6"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_1.3.0_1566832552234_0.48940503205175356","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"is-localhost-ip","version":"1.4.0","keywords":["localhost","is-localhost","check-localhost","is-loopback","is-local-ip","ip","dns"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"GPL-3.0","_id":"is-localhost-ip@1.4.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"dd66aaabcbb5dbbc943e00adad5f715d2c3b3a1d","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-1.4.0.tgz","fileCount":6,"integrity":"sha512-cN7SzlY7BVxSeoJu5equjsZaKSgD4HCfXrTwu0Jgbq5BbT1BU+D7Lyi/l1KO8H0un0JTlxcQaT/GWVapu+DIDg==","signatures":[{"sig":"MEQCIBOedHcaMuvILw+Fuc+lRJL8jVOxOHmEx0iNYi5IooCUAiBSJ5KOffyFhZtC6cNsVnd7CWvPUAENr6FUwXlLUMHulg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejOBMCRA9TVsSAnZWagAAdQUP/0Ji8mcP0hoH3OFg4rBv\nGSVUEnpqBa7FzLg4/dbIXyHfqXOr0jLLTIZpiwhrVESozgR3f/eujAuRjFE5\npLSwrWjLuJmxRHrupFo3qXUp8r6yVBko4SsZtUIce57jRk6iuqkDoKwGmrSt\nRX097u7PpmqqkX7A6+xdi9UIs7kiFBezaXan/G937C9WYPQ4ER+E/GXf953Q\nm+pFmtaiAZ9Xr0STfcRcqynBOLZ4g7+jKddBbp7bghDKt4J117/wlNx4r8uU\nS2dQXv4Vs/JLnqjJ/jIVA60hYfYTuor6o1LgMx8T0gKQj+mmjno/5VPBWs7w\nqsWN+6abnhg796+jAxOLxzT9yPG+tkPS/5C4icgOwF1mUHIkgbRWc5Q/EQYh\ncAtXA5XxtuCEtP0K7ycG5q8W5+iVKVwi5mN1e2COsJu64js0Aeh/wN4EKHcF\nFuNfgTT6rcGir+FwJvlBJWoT1bz883p/x6jwa+nZ8PogFsddmPJovv+2fyVw\nn+q5rG5h8uxRuLOw6LfbHrE9CxvwCkv+HrV9dCEgEV51p9arb0z5jrcW/JQT\nriPc3GFSG2cpB1fOgn+2i9eqC90W1gkYdEXf4Y9ZyNMK/U9zxfwwrmz8HyPH\na/TcKQVKIzQIlF9YSH9puPhchcZYCLLJWzxWfpTuhUX0ieS2C056Yhbto7NY\nrly2\r\n=lq/y\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"testEnvironment":"node","coverageReporters":["text","json","cobertura","lcov"]},"main":"index.js","types":"index.d.ts","engines":{"node":">=10"},"gitHead":"c2273303d31b8dc143f9921d45362e55a3002cc4","scripts":{"lint":"eslint .","test":"jest --coverage --verbose"},"_npmUser":{"name":"tinovyatkin","email":"tino@vtkn.io"},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"6.13.4","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine","directories":{},"_nodeVersion":"10.19.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"jest":"25.2.7","eslint":"6.8.0","prettier":"2.0.4","weak-napi":"^1.0.3","@types/jest":"25.2.1","@types/node":"12.12.31","eslint-plugin-node":"11.1.0","eslint-config-prettier":"^6.10.1","eslint-plugin-prettier":"^3.1.2","eslint-plugin-optimize-regex":"1.1.7"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_1.4.0_1586290764298_0.7924632517422858","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"is-localhost-ip","version":"2.0.0","keywords":["localhost","is-localhost","check-localhost","is-loopback","is-local-ip","ip","dns"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"MIT","_id":"is-localhost-ip@2.0.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"c2bf11faa0973657fd6e29e4e848348aeb09a1cd","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-2.0.0.tgz","fileCount":5,"integrity":"sha512-vlgs2cSgMOfnKU8c1ewgKPyum9rVrjjLLW2HBdL5i0iAJjOs8NY55ZBd/hqUTaYR0EO9CKZd3hVSC2HlIbygTQ==","signatures":[{"sig":"MEYCIQDswtB6kr1DwZ2cvSLT2peTWIWM+xiCuuEb/JDhAGd5KQIhAJVji9czB36m2R1gOCOzhT3QsfAhZg9BgZjOfE7+KWj5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6tguACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQpw/9HyFP6wOBLSa7UMxGAMQy7pkmcc6p0WGvGVfxY7j/ZcZJl2Gj\r\n+xyKfpk6M4jUQJ/+DqSIf7hVzjEBfTjmhTmBzlimBaZGpvaq3UV7VzDPo7V4\r\nauttJsEI94duq+0pL0ULwKd+XhzOUNn8RWMErkJSA1UiUKHAME/zfeyWWail\r\neq2YWROAiuMZGSrqi9Uhd49C1gfRUwUAlMTP8kT3gMQ3SciCjcp8nkPh4ht8\r\nJ3Lp0ailT16+tKgrd9J4f07NY1yueKnM4kTH/KvzKcxRvwsS510g7k2Uq5A4\r\n3Vu84sL5qt5jAIsg9ovxv/V30mpHP+/uB7YmDawAKXGv7xsr2BbM8qijK168\r\nWpyxChAYz2QFni+Lrxk+8SN8I++gw0WyT5X8X+wvmzewatW2Q1dN7RlUcAHl\r\nLiD4KVYYdFWPfqXNm620+R9mrV2vp03ONi/plrXlcM41YlF8n2IrWLFernyD\r\nytAJNA9SEJppPtgacVyJmanXHqKzlPT+LeYfacH144WvLe01XRNnJxOEZehw\r\nTZYT1/Witbc3ThRne3VCeWwOb+JtUIWudlKDWKlLswVKyrjEaJUaebMsCYeB\r\ndR14f/vu9A1DIUL+jbuHjLvFWDP1B+xQGSaAPvgS3w+d8w2JnieeiUrUwxzl\r\n4ctrsaZG+LmX6rBp0Sawmc8//9v3eF0QkTg=\r\n=H8BM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverage":true,"testEnvironment":"node","coverageProvider":"v8","coverageReporters":["text","json","cobertura","lcov"]},"main":"index.js","types":"index.d.ts","engines":{"node":">=12"},"gitHead":"f6df23821c2008aa178c91d702871aa64e9fe10e","scripts":{"lint":"eslint .","test":"jest --coverage --verbose"},"_npmUser":{"name":"tinovyatkin","email":"tino@vtkn.io"},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"8.11.0","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine","directories":{},"_nodeVersion":"16.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"28.1.3","eslint":"8.21.0","prettier":"2.7.1","@types/jest":"28.1.6","@types/node":"~12","eslint-plugin-node":"11.1.0","eslint-plugin-regexp":"^1.8.0","eslint-config-prettier":"8.5.0","eslint-plugin-prettier":"4.2.1"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_2.0.0_1659557934000_0.36661723129936186","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"is-localhost-ip","version":"3.0.0","keywords":["check-localhost","dns","ip","is-local-ip","is-localhost","is-loopback","localhost"],"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"MIT","_id":"is-localhost-ip@3.0.0","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"dist":{"shasum":"7692290215db8d7d54e6eceef5a012c14f6d0dac","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-3.0.0.tgz","fileCount":5,"integrity":"sha512-vZcj7faE8DpD4p7254ULm6vzNjhtAFNIvhN9pcy3vVf84UziC/o3AFImoi1rVTKPVX4Iajqo2X57TZvDBgScaw==","signatures":[{"sig":"MEUCIQCEEOrm9kovNxFJQkE1Mdzhgd6C56VRSkTKAHz+MFOfPgIgdTAmpBIvkftdNoTUz9BySuSgH/e2Nu7BHK1UBAc3vDI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/is-localhost-ip@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7927},"main":"index.js","types":"index.d.ts","browser":false,"engines":{"node":">=18"},"gitHead":"3d02e522de8d33705b4b8a0fdb5a8fd075e071b0","scripts":{"lint":"oxlint --fix --fix-suggestions","test":"node --test --experimental-test-module-mocks --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info __tests__/*.test.js","format":"oxfmt --write .","prepare":"lefthook install"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:82576146-6edf-4b61-8279-1ff9fd1c8e07"}},"repository":{"url":"git+https://github.com/tinovyatkin/is-localhost-ip.git","type":"git"},"_npmVersion":"11.6.2","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"oxfmt":"^0.24.0","oxlint":"^1.39.0","lefthook":"^2.0.15","@types/node":"22.15.21"},"_npmOperationalInternal":{"tmp":"tmp/is-localhost-ip_3.0.0_1768777133437_0.46052755221013464","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"is-localhost-ip","version":"3.0.1","description":"Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine","keywords":["check-localhost","dns","ip","is-local-ip","is-localhost","is-loopback","localhost"],"homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"license":"MIT","author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"repository":{"type":"git","url":"git+https://github.com/tinovyatkin/is-localhost-ip.git"},"main":"index.js","browser":false,"types":"index.d.ts","scripts":{"test":"node --test --experimental-test-module-mocks --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info __tests__/*.test.js","lint":"oxlint --fix --fix-suggestions","format":"oxfmt --write .","prepare":"lefthook install"},"devDependencies":{"@types/node":"22.15.21","lefthook":"^2.0.15","oxfmt":"^0.24.0","oxlint":"^1.39.0"},"engines":{"node":">=18"},"gitHead":"3e08a04f9ba977e7cc27906e954b67f07abcbcbb","_id":"is-localhost-ip@3.0.1","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-OwNA8bw72L/gDVfCrhJ3GFb3AGp+I7t+cvJaQGkiLZgeBAZmAygIduAdhLq56JycuJ68NCICxA2yyIaAtbR9Kg==","shasum":"802444ba0bee09b49d5d8bc01a6677d5d7965add","tarball":"https://registry.npmjs.org/is-localhost-ip/-/is-localhost-ip-3.0.1.tgz","fileCount":5,"unpackedSize":8368,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/is-localhost-ip@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBwAhIOgp/HkJno9kywK6zrVPhqb1R+/k9YybScws74zAiBIhJlCodmeenHsj3WAN9Pg1woakn8s3rucEP+0oC3HfQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:82576146-6edf-4b61-8279-1ff9fd1c8e07"}},"directories":{},"maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-localhost-ip_3.0.1_1768778247468_0.7218073075560196"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-17T23:19:40.228Z","modified":"2026-01-18T23:17:28.228Z","1.0.0":"2019-08-17T23:19:40.621Z","1.1.0":"2019-08-23T06:46:17.529Z","1.2.0":"2019-08-25T18:59:15.619Z","1.3.0":"2019-08-26T15:15:52.359Z","1.4.0":"2020-04-07T20:19:24.391Z","2.0.0":"2022-08-03T20:18:54.124Z","3.0.0":"2026-01-18T22:58:53.581Z","3.0.1":"2026-01-18T23:17:27.603Z"},"bugs":{"url":"https://github.com/tinovyatkin/is-localhost-ip/issues"},"author":{"name":"Konstantin Vyatkin","email":"tino@vtkn.io"},"license":"MIT","homepage":"https://github.com/tinovyatkin/is-localhost-ip#readme","keywords":["check-localhost","dns","ip","is-local-ip","is-localhost","is-loopback","localhost"],"repository":{"type":"git","url":"git+https://github.com/tinovyatkin/is-localhost-ip.git"},"description":"Checks whether given DNS name or IPv4/IPv6 address belongs to a local machine","maintainers":[{"name":"tinovyatkin","email":"tino@vtkn.io"}],"readme":"[![codecov](https://codecov.io/gh/tinovyatkin/is-localhost-ip/branch/master/graph/badge.svg)](https://codecov.io/gh/tinovyatkin/is-localhost-ip)\n![node](https://img.shields.io/node/v/is-localhost-ip)\n\n# is-localhost-ip\n\nZero-dependency Node.js utility that checks whether a hostname or IPv4/IPv6 address refers to the local machine.\n\nThis package aims to be strict and comprehensive:\n\n- Validates input as an IP address or a syntactically valid hostname (including bracketed IPv6).\n- Treats private/loopback/link-local ranges as local.\n- Optionally verifies the address exists on the current machine by attempting to bind to it.\n- Falls back to DNS resolution, so it works with hostnames mapped in `/etc/hosts` or a local resolver.\n\n## Installation\n\n```sh\nnpm i is-localhost-ip\n# or\nyarn add is-localhost-ip\n# or\npnpm add is-localhost-ip\n```\n\nRequires Node.js `>=18`.\n\n## Usage\n\n```js\nconst isLocalhost = require(\"is-localhost-ip\");\n\n(async () => {\n  await isLocalhost(\"127.0.0.1\"); // true\n  await isLocalhost(\"::ffff:127.0.0.1\"); // true\n  await isLocalhost(\"192.168.0.12\"); // true\n  await isLocalhost(\"192.168.0.12\", true); // true only if an interface has this address\n  await isLocalhost(\"184.55.123.2\"); // false\n\n  await isLocalhost(\"tino.local\"); // true if it resolves to a local address\n  await isLocalhost(\"localhost\"); // true\n  await isLocalhost(\"microsoft.com\"); // false\n})();\n```\n\n## API\n\n### `isLocalhost(ipOrHostname, canBind?)`\n\nReturns a `Promise<boolean>`.\n\n- `ipOrHostname` (`string`): IP address (v4/v6) or a hostname.\n- `canBind` (`boolean`, default `false`): when `true`, additionally checks that the local machine can bind to the\n  address (i.e., it is configured on a local interface).\n\nThe function throws for invalid inputs (non-string values or syntactically invalid hostnames).\n\n## Caveats\n\nInternationalized domain names (IDNs) are not supported. If you need IDNs, use\n[Punycode.js](https://github.com/bestiejs/punycode.js) (or another punycode implementation) to convert the input\nto ASCII before calling this function:\n\n```js\nconst isLocalhost = require(\"is-localhost-ip\");\nconst punycode = require(\"punycode\");\n\n(async () => {\n  await isLocalhost(punycode.toASCII(\"свобода.рф\")); // false\n  await isLocalhost(punycode.toASCII(\"私の.家\")); // true\n})();\n```\n\n## License\n\n`is-localhost-ip` is available under the [MIT](https://mths.be/mit) license.\n","readmeFilename":"README.md"}