{"_id":"@godaddy/hostfile","_rev":"46-6cb8855028a6295b86052a0e2cdd6226","name":"@godaddy/hostfile","dist-tags":{"latest":"1.0.7"},"versions":{"1.0.2":{"name":"@godaddy/hostfile","version":"1.0.2","author":{"name":"jpage@godaddy.com"},"license":"MIT","_id":"@godaddy/hostfile@1.0.2","maintainers":[{"name":"decompil3d","email":"npm@jonathankeslin.com"},{"name":"elubin","email":"elubin@mit.edu"},{"name":"gergelyke","email":"mail@nemethgergely.com"},{"name":"gisenberg","email":"gisenberg@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"jpage","email":"jpage@godaddy.com"},{"name":"sbw","email":"silasbw@gmail.com"}],"homepage":"https://github.com/godaddy/hostwriter#readme","bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"bin":{"hostfile":"./lib/cli.js"},"dist":{"shasum":"f31eb5cc53f61a4751ddd88abcceb50e5170d0e7","tarball":"https://registry.npmjs.org/@godaddy/hostfile/-/hostfile-1.0.2.tgz","fileCount":22,"integrity":"sha512-HWnrNADZikhdgAMfjPoMFQAIaF53GnDLWeRfuOkMJ2Ceqt5n/qaaG0mLidBXX/g6ZhvT8075gsxZOWpl4NgMow==","signatures":[{"sig":"MEUCIQDjgY/GAIiuCdnbRAxAUDfz8VqiyiJzmDhYcrNvtAILiQIgaSmkyFFycGe6c2CoyIKcNd9l3xwpmFR/3fj6xukI0ws=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18592,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqlqZCRA9TVsSAnZWagAA2YIQAIOi8zvSUabeA8eFqn9u\nuO4qWjgt51Ik1/R+MwTXZkVfJvGDMuYQJtzmYssZ3xFEzhE996MX57sNMqVk\n7cheukxt4/irtyHzNMoz280gTzlifb0nn+5P4jQlW3Ok7mhRBfQoRhPKYbmx\nJ7dDy6SeqTtjr7bDWOOXNgbmKlWsokTY7CzWb6iBOe11mLB6kBURJWrGZypq\nwE4j3QY+evhgMJpRV4jdBemT6xECphj0zUQ9+w8iwWsAWBrnpyC4LXNRWsRf\nwpfAAoq2JI5tHWfTPwCR0ptIYXq2whhzSMF5Y5lcU6vM/TcYF3h/Tiz5PnfH\nJFMvkiLuIx1ggMoRPATvxuv7gVbSp6btPcx7MWCKFftE2unqPhbdEXdA6dWB\nfukWixMPj+Inig0f23oM2tjbaxqVSVmT3tjalJFTPig0NrPRXJND7XocfgQv\neGvo9E+Pa/9C3WMtUxciy32FrqK4x5f/MdrP3EoAAVt10HLY8RFAFz60IzzU\nuGRuUUKu0X8EdYkVQCCK4eGNYLLY4EBnawRRQ//TSQFP6kqMl1m7qFX2WOdU\nzEPDa/oS4KPy+ZbOmi9i2PpHOKx4ygOCFV+TVSww1GGHCs2BNzyQ6gfLGwNB\n6fyrOjukm/dPnw0u029Qx/MHwXP8/z7qRaX2/GO1UDQkM3hm9vgW+zk8f595\n0YQL\r\n=dhUx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"38f777f684d76aaa088fb1ad643bc9ba9a12cf61","scripts":{"test":"nyc mocha --recursive ./test/specs","pretest":"eslint ./lib ./test","prepublish":"npm run test"},"_npmUser":{"name":"jpage","email":"jpage@godaddy.com"},"deprecated":"this library is no longer in development, use at your own risk","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"_npmVersion":"6.4.1","description":"API and CLI for querying and manipulating host files","directories":{},"_nodeVersion":"8.11.2","dependencies":{"ip":"^1.1.5","rxjs":"^5.5.6"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.0.0","sinon":"^4.2.2","eslint":"^4.19.1","proxyquire":"^1.8.0","sinon-chai":"^2.14.0","eslint-plugin-json":"^1.2.1","eslint-plugin-mocha":"^4.11.0","eslint-config-godaddy":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/hostfile_1.0.2_1537890969107_0.044145553198849496","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@godaddy/hostfile","version":"1.0.3","author":{"name":"jpage@godaddy.com"},"license":"MIT","_id":"@godaddy/hostfile@1.0.3","maintainers":[{"name":"decompil3d","email":"npm@jonathankeslin.com"},{"name":"elubin","email":"elubin@mit.edu"},{"name":"gergelyke","email":"mail@nemethgergely.com"},{"name":"gisenberg","email":"gisenberg@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"jpage","email":"jpage@godaddy.com"},{"name":"sbw","email":"silasbw@gmail.com"}],"homepage":"https://github.com/godaddy/hostwriter#readme","bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"bin":{"hostfile":"./lib/cli.js"},"dist":{"shasum":"c3cc3ca0693119546a0235ad55cfd3e639cfe5f3","tarball":"https://registry.npmjs.org/@godaddy/hostfile/-/hostfile-1.0.3.tgz","fileCount":23,"integrity":"sha512-qzfKegFrq9KkY3uGanZZASeQArGquF10/rEFyCTluK7xYeu+pTOH1znkFevVbg6yasVAk1afv1/xFEI4RVDviA==","signatures":[{"sig":"MEYCIQCVPngphb8JkAzZVTtFN8lwZ/MxMceuZJlx/mzsBHpKTwIhAN+qLJBgSIxqPTljpQj6NQFEz0VWsQDXcFJoZFRD6FZ6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19267,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu9q3CRA9TVsSAnZWagAAmnQP/jIUiHdhMbWEOd/mFvdg\nN5qDWfWZtrPT+wMgWAwj2lu0ABkJy1a2Addoba+FLGuIKqy+9GSCQ4jh05cr\nEsRVHZKD9tMo9Hg+LfJZ9tWhlYGmZ/vfmE1UUKGFSoqbOFA5H/uLzU6Fq/iF\n8/DkehYtv1P5OK54Iq9uHkU/9NC2QbjR/pXBeh/z2VNEEjSpPzB0ATV/35eM\nPTgDwhI3TWsX7fU28ZvqfVr6rqOmj5aPWt1xRyvX6Nks2RjGCqVKEzl21ufY\nkVAy8VAX1a6NwuXdqrw21FRzIn+QPkQP5E9JpnwQzVStuQxRtLnKGndK2n5x\nhDeln363d/HoQRvuKD46wY3esv6IIr2uSogwHR4NYOJV8XTrnnuT2jIBLZSP\nAXQDaBpobpkvsm8Krqeq+WZQfUjEf19JNmDcknolCS2xFwyKujfsEqbEnnnP\nkdtN2/Q95wkTwVMhQzRj6B6GXC3zF6QBBhpI0Q2UIz7xfD8NLpTtOcuAumVl\nvaZd3RXjQ9Wg5mQWlvzC8HKQMF21X9D47messwqfhgdIvD/z+8zXbCWzdXUv\n0+dRXxC127lKTu2T9Hhaq19xTX7KexLGq4kWj1NTk5yxM2fRiqAghon2Ruk9\nx3q5iTZD+frQVonnb2w8HW6thSdwRiIch7GdU5EEoOnNaHKnpVjk1wa2MCxn\n/8Tc\r\n=GEMg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"b9f212fd3aa261e420476ffa01252df5ef87c4a5","scripts":{"test":"nyc mocha --recursive ./test/specs","pretest":"eslint ./lib ./test","prepublish":"npm run test"},"_npmUser":{"name":"jpage","email":"jpage@godaddy.com"},"deprecated":"this library is no longer in development, use at your own risk","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"_npmVersion":"6.4.1","description":"API and CLI for querying and manipulating host files","directories":{},"_nodeVersion":"8.11.2","dependencies":{"ip":"^1.1.5","rxjs":"^5.5.6"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.0.0","sinon":"^4.2.2","eslint":"^4.19.1","proxyquire":"^1.8.0","sinon-chai":"^2.14.0","eslint-plugin-json":"^1.2.1","eslint-plugin-mocha":"^4.11.0","eslint-config-godaddy":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/hostfile_1.0.3_1539037879034_0.6239252187936646","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@godaddy/hostfile","version":"1.0.4","author":{"name":"jpage@godaddy.com"},"license":"MIT","_id":"@godaddy/hostfile@1.0.4","maintainers":[{"name":"decompil3d","email":"npm@jonathankeslin.com"},{"name":"elubin","email":"elubin@mit.edu"},{"name":"gergelyke","email":"mail@nemethgergely.com"},{"name":"gisenberg","email":"gisenberg@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"jpage","email":"jpage@godaddy.com"},{"name":"sbw","email":"silasbw@gmail.com"}],"homepage":"https://github.com/godaddy/hostwriter#readme","bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"bin":{"hostfile":"./lib/cli.js"},"dist":{"shasum":"080b3fcde2587fa64b535ac86026aec940725409","tarball":"https://registry.npmjs.org/@godaddy/hostfile/-/hostfile-1.0.4.tgz","fileCount":23,"integrity":"sha512-tWCIseKOitPm9ClHMBIOkhkErCpUlewAfTjzIHEPw4DoM1RSal5mJyMkQ0z63fCjNfuHW3zDbhua0I8YKlepxA==","signatures":[{"sig":"MEYCIQCGl5FiEPPD7pnWVPQiKSE+yqdbhzR1AcWIeVyGF621OQIhAJ6e6bM2QI4qr4KMWAbwAlYK24DEDAGUm0uaP89tXzdl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19372,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu939CRA9TVsSAnZWagAAeNAQAI7Vyu/deJqUYvObVsMQ\nXXVAi8hNyrkgLrrEjjRkdqSUniVQINk2AO7isAj1YCk/EO783NiN4reRCmd1\nxnMvMLZpzn/EN5b+7dQFb+HFdsu0pZIc2RXqA2YjutsHvQ+45EyMeB4Fezsa\nLBf9z8Z662lhi2Xt57hTzit9LI1Ka90ez11ykbGPMP66Zk6aZwP/5THydgwP\nCysvcD8QuPn4CZB9iyH9v33FWVEDJM9tMphLw1XQiFoLbDCvlrjZ2p/esg8R\nPCQxjCNLkQL/lbr6GCO41Si6+NqqIkPt+dhYO7+PpVTV+kxbuR+QTCAgVPYn\ntRssTJcSrbimpqcCzPjRCGMYpAx2jtqBhffsps1NXAWG0RVZQDTJkoV7oDGa\nIk8fmOU0kqU5yBEgxGpGx6V2j1yxhcnqMdoNrqUr++KnTNXJJjbXTB4GP6as\n+qFNG80W98pAsMBxIvXIHBAcSldaLN7I/9EgZIGlKeAoeTHQJqvaG/M3CBmJ\nlvD9aiYr8cLbkqal/qPdzJZXIx466yv3cn8sk7vSTls6DRw++wRfOToCvAoJ\nQ+MlsG5QHaNFcPiWEIIFf9kGmRaYaNGu4DL5fIoQrQnq0uggtD3UPq0/mVVB\nYhpNvOP94za1hf8fQ7zav8HIUIHk9TLbz9NOuUA/d/mMfUfAisUDvuiGWkg3\nsj5r\r\n=oYOK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"d4942973f2ce66672ff452fe4759ce88afeeb326","scripts":{"test":"nyc mocha --recursive ./test/specs","pretest":"eslint ./lib ./test","prepublish":"npm run test"},"_npmUser":{"name":"jpage","email":"jpage@godaddy.com"},"deprecated":"this library is no longer in development, use at your own risk","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"_npmVersion":"6.4.1","description":"API and CLI for querying and manipulating host files","directories":{},"_nodeVersion":"8.11.2","dependencies":{"ip":"^1.1.5","rxjs":"^5.5.6"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.0.0","sinon":"^4.2.2","eslint":"^4.19.1","proxyquire":"^1.8.0","sinon-chai":"^2.14.0","eslint-plugin-json":"^1.2.1","eslint-plugin-mocha":"^4.11.0","eslint-config-godaddy":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/hostfile_1.0.4_1539038716824_0.95692924533647","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@godaddy/hostfile","version":"1.0.5","author":{"name":"jpage@godaddy.com"},"license":"MIT","_id":"@godaddy/hostfile@1.0.5","maintainers":[{"name":"decompil3d","email":"npm@jonathankeslin.com"},{"name":"elubin","email":"elubin@mit.edu"},{"name":"gergelyke","email":"mail@nemethgergely.com"},{"name":"gisenberg","email":"gisenberg@gmail.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"jpage","email":"jpage@godaddy.com"},{"name":"sbw","email":"silasbw@gmail.com"}],"homepage":"https://github.com/godaddy/hostwriter#readme","bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"bin":{"hostfile":"./lib/cli.js"},"dist":{"shasum":"7f02eb8e54a11879972175049960e0612c931498","tarball":"https://registry.npmjs.org/@godaddy/hostfile/-/hostfile-1.0.5.tgz","fileCount":23,"integrity":"sha512-PM566AtgzMU5qGwNpI7TKouY/D0zPXZU3bPJFzfvpJPBCZ041tPXW58/4EEl3AFA/RD8GvUZ6Ot29pYOy1M/LQ==","signatures":[{"sig":"MEUCICEF1bgTc0M710myUaspBKJby84mSBj6+c1I3fz8AhF7AiEAmSOIx5DOw9YPrr9LPdMsgaPpqBshqws6k9qP3Mvf+kw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu+GoCRA9TVsSAnZWagAABXIP/3uY6ZUwLtARpekOHxpe\nigFUFQZUD6UprjP0dMuonaqfcQqtI1fdslefv1czkrUC1H5Jmw/KxFLmiXm3\nR+EmuG9njSkUoycwnsL/f1zMzzWBCdZfJmXeBbvByekiLVNew02coI9v1Is6\ns1OyU5CG7p7z4BgibmXmVnysDTBqM1JTOgtK3z1NoXUNkf6bh2xCnfQW3Uwr\nAIVqc/2sQKleiCe6WrknVEpMsZg+ZnRxEbZ3sIQWFpzIcFT+/lBW2byhWmW0\n/CgmxRt+LScWlW8Qz4Ld80iCXYAO9m1oDXdXVfEEJhFHACb+qsbhmc+IEc6N\n4uWnPvT3eHJHzNsL0NoFt6k+CxfojklrelEodQw7RH2bXMZ06WMBKX6uyiEr\nUyQBLJdeC2mN/3xEnv+DlBKl1qW5Gj5ygSkrxT+csJRFYkqZCAnqhtfzs0ab\ncOHtDDt0oai+KACrHJkj96YgxGoiU2Mo5BAubaVLByO+TGC03x6xjlojNasz\ntkC8a/dK+8K5xbfoRNgdVv3so+lDQ6ar4h9s3LrdgzH8KAgxBV/DLNzRv8Jn\njASbzuqR6Ja5uWSD0YAqfySRLl+t7xdw52vnFzDDQxEidKMZLcXpi6fFO2m0\nSK++gSp28jXBWbl/KV0HTgqNrdDWtLYM1HMpoidQa2UXY0N3ebEKvn7WyH4k\ngoDN\r\n=wuxT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"1dd09b118f36b8f2056307ad01afd38a74e43d10","scripts":{"test":"nyc mocha --recursive ./test/specs","pretest":"eslint ./lib ./test","prepublish":"npm run test"},"_npmUser":{"name":"jpage","email":"jpage@godaddy.com"},"deprecated":"this library is no longer in development, use at your own risk","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"_npmVersion":"6.4.1","description":"API and CLI for querying and manipulating host files","directories":{},"_nodeVersion":"8.11.2","dependencies":{"ip":"^1.1.5","rxjs":"^5.5.6"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","chai":"^4.1.2","mocha":"^5.0.0","sinon":"^4.2.2","eslint":"^4.19.1","proxyquire":"^1.8.0","sinon-chai":"^2.14.0","eslint-plugin-json":"^1.2.1","eslint-plugin-mocha":"^4.11.0","eslint-config-godaddy":"^2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/hostfile_1.0.5_1539039655460_0.3641844808014689","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@godaddy/hostfile","version":"1.0.6","author":{"name":"jpage@godaddy.com"},"license":"MIT","_id":"@godaddy/hostfile@1.0.6","maintainers":[{"name":"decompil3d","email":"npm@jonathankeslin.com"},{"name":"elubin","email":"elubin@mit.edu"},{"name":"gergelyke","email":"mail@nemethgergely.com"},{"name":"indexzero","email":"charlie.robbins@gmail.com"},{"name":"jpage","email":"jpage@godaddy.com"},{"name":"kinetifex","email":"andrew@kinetifex.com"},{"name":"rxmarbles","email":"rmarkins@gmail.com"},{"name":"salilagrawal","email":"agrwlsk@gmail.com"},{"name":"sbw","email":"silasbw@gmail.com"}],"homepage":"https://github.com/godaddy/hostwriter#readme","bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"bin":{"hostfile":"./lib/cli.js"},"dist":{"shasum":"bb543ec75046e4fed0dec180ec1fcc7b28a48651","tarball":"https://registry.npmjs.org/@godaddy/hostfile/-/hostfile-1.0.6.tgz","fileCount":23,"integrity":"sha512-Qk8GlyQaqf1sv/H4n2vMbvCbXkQ0obneeRjfe38X4l7pY8w/dbwiaU0aNGHYQlvOE8FS2pbEKIGQWgLtiSsTnA==","signatures":[{"sig":"MEYCIQCaVGQjOVQXu09erm1mSIslXksvML5xXRdGv+tiVmYKGAIhAL0kcrZe8Wz347j3FAGZMCNTDu7q5T8vZxE18IrUaBIv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzHwKCRA9TVsSAnZWagAAWasP/jZefUVGfz/9IK00LeaM\n/vEe7412MVwzqtelwZPNups6BiJX54CahwPxJC7hcedrW+/n0Mt+gcdpHPv4\nI9PTI8lg6XjwmXZgGYMC5UbXf+wNc8bQ5DU0XHgCXQgLhzMFJgov8q+dplKg\nUCs/RpHj53bkqqVeW+WTPCFLaMCh8fSZMRaBfZaJ8o2aZJz0/QcbqGDTvLNh\ndgwNbq5y15QVKqBcVJQG37hPPo5ab7I1kTT+JjscKzzWam1eC9PAuBUHdSvz\nifNrtDBVxuYuPHXk2EBWY7hxhhx3sGE/Dd8lBVaz6FIFBWED/E8JSuDw5yyy\nluRc0bvarl4+or+vg2CHb6ix4aRAo+OPVVhNCPNtmxwB32K3ffcG0KmAbWlt\ndwedAQ0rgXbqLvS5ho42HcVy1b2pfePoTiRdYjndB6w821u6Vd+TsPYaJcpc\n8iX9cldb78PRF5/l0as1RhFTyNd7Ze/ZOr2tsz6NO25yrstr3ENsiU+bDZIO\nxbjhkx/u0aZecqc5NPUnInCUP2Uj9tE+1DbEevXG/LuUCWExyN8Dr3xOjxa1\nZbrlid2QWZoGYsFA94sPXqLfomUctAExkTrUpanisnHDyyZ0fWDidji2S8ab\nkUtiL72+vZOGdghIAw0mE36vWOlEFfjJRgkCBDri8tgZd4cUlCEwmckCcAIt\nkUDm\r\n=LcZJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"0b369480ccd900e32c202fe8c8d6dd0a9f8fea60","scripts":{"test":"nyc mocha --recursive ./test/specs","pretest":"eslint ./lib ./test","prepublish":"npm run test"},"_npmUser":{"name":"jpage","email":"jpage@godaddy.com"},"deprecated":"this library is no longer in development, use at your own risk","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"_npmVersion":"6.13.0","description":"API and CLI for querying and manipulating host files","directories":{},"_nodeVersion":"12.13.0","dependencies":{"ip":"^1.1.5","rxjs":"^5.5.6"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.1.2","mocha":"^5.2.0","sinon":"^4.5.0","eslint":"^5.16.0","proxyquire":"^1.8.0","sinon-chai":"^2.14.0","eslint-plugin-json":"^1.3.2","eslint-plugin-mocha":"^5.2.1","eslint-config-godaddy":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hostfile_1.0.6_1573682186030_0.7412332697999051","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@godaddy/hostfile","version":"1.0.7","author":{"name":"jpage@godaddy.com"},"license":"MIT","_id":"@godaddy/hostfile@1.0.7","maintainers":[{"name":"decompil3d","email":"npm@jonathankeslin.com"},{"name":"jpage","email":"jpage@godaddy.com"},{"name":"kinetifex","email":"andrew@kinetifex.com"},{"name":"salilagrawal","email":"agrwlsk@gmail.com"},{"name":"rxmarbles","email":"rmarkins@gmail.com"},{"name":"kquerna","email":"kirsten@querna.org"},{"name":"3rdeden","email":"npmjs@3rd-Eden.com"},{"name":"msluther","email":"msluther99@gmail.com"},{"name":"jwilhelm","email":"tarkatronic@gmail.com"},{"name":"jacopodaeli","email":"jacopo.daeli@gmail.com"},{"name":"jcrugzz","email":"jcrugzz@gmail.com"},{"name":"dcousineau","email":"dcousineau@gmail.com"}],"homepage":"https://github.com/godaddy/hostwriter#readme","bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"bin":{"hostfile":"lib/cli.js"},"dist":{"shasum":"6ef24c4a8d9128acb920130487c9b6b92e2f5fcb","tarball":"https://registry.npmjs.org/@godaddy/hostfile/-/hostfile-1.0.7.tgz","fileCount":23,"integrity":"sha512-up6k6Xb+ghv+f9jaP6MZWrwmCeY75/V1piWsLS/8dEPUj7squUzN/hcTdY/dV0RwQuoDYA/+yT4ovt3TZYOJSA==","signatures":[{"sig":"MEUCIQCmVvxNkYiwpusuLkDWRSJyuJdtxXcQt4cUMmSwiIvG+gIgawULKwdUiWFmo4mElU+60NT1etT8RpWJby/cxXubINQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhsT9uCRA9TVsSAnZWagAAcRQP/iC9hbF8UDjo/ANEMMOD\nlpr6cPQv7Si+wrsah0isfiQu7fVl4WgN0VOQNCmIom2l7czM0B0oZfIIDvlA\nNV5YtGDow+VWkveFXwnbzzFjOVhafrb1PLx1+wgLvo2Swq2y1xOqhKLXzYG/\nkqempOps8XcpIw6c6GRDAFXtZcLwiNv0ppon7p9/wD5o/sm/lOuFBQ+xyajQ\nsNXX1Bl7HSaUdRimFnz1Z0aZqK5FxapYUuqnyEX7kzV2Ka7PrbQQJppj/pT0\nJIyxkI+Zmh7aaimGFGXxF4pQSXvjWlVxxCqMIbkYDUWIMnV23bDV1of00XYj\n0Tu141WW92Vbc1nK/qvJ9KHHrFtWVQOx6vF1newCkhPOQqgnUHJvx22l2MQG\nYYNDMqHVP7xMkGsG5vOz4bvpsWU8FLby35R4M2EN4ifwTnm9AOWL5xCS1W1a\n/fCGrvJIuP6F/JkdBbdgSXGRLUHMRmj9oC/x8ATBcG101kl5lWQmS4XUiZHz\nEKnZT+mr5/QGta/baVV7lVFtM6MHnu4g7UDUv4Qn5G64NpJ10ef57TLyJMA+\nWlSIWUTq5MGdd+CpI/GaLT0Z9VmKECMR+1PVtW5LgSISgSTNiXWAkuw+tPm9\nKmJhuvbVrn4xp5lcIBnRTSuV76EPxVkpgfBiaa+8e49z5JQ2QjltQ23QnI5P\n6Vnq\r\n=nVtI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib","gitHead":"e9854dc6cc4eafbd8ca2537933b82465d9767714","scripts":{"test":"nyc mocha --recursive ./test/specs","pretest":"eslint ./lib ./test","prepublishOnly":"npm run test"},"_npmUser":{"name":"jpage","email":"jpage@godaddy.com"},"deprecated":"this library is no longer in development, use at your own risk","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"_npmVersion":"6.14.15","description":"API and CLI for querying and manipulating host files","directories":{},"_nodeVersion":"14.17.6","dependencies":{"ip":"^1.1.5","rxjs":"^5.5.6"},"publishConfig":{"registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.0","chai":"^4.1.2","mocha":"^7.1.1","sinon":"^4.5.0","eslint":"^6.8.0","proxyquire":"^1.8.0","sinon-chai":"^2.14.0","eslint-plugin-json":"^1.4.0","eslint-plugin-mocha":"^5.3.0","eslint-config-godaddy":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/hostfile_1.0.7_1639006062639_0.16017512173461856","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-09-25T15:56:08.938Z","modified":"2025-10-06T15:56:18.532Z","1.0.2":"2018-09-25T15:56:09.304Z","1.0.3":"2018-10-08T22:31:19.165Z","1.0.4":"2018-10-08T22:45:16.959Z","1.0.5":"2018-10-08T23:00:55.576Z","1.0.6":"2019-11-13T21:56:26.201Z","1.0.7":"2021-12-08T23:27:42.778Z"},"bugs":{"url":"https://github.com/godaddy/hostwriter/issues"},"author":{"name":"jpage@godaddy.com"},"license":"MIT","homepage":"https://github.com/godaddy/hostwriter#readme","repository":{"url":"git+ssh://git@github.com/godaddy/hostwriter.git","type":"git"},"description":"API and CLI for querying and manipulating host files","maintainers":[{"email":"jpage@godaddy.com","name":"jpage"},{"email":"igor-brandao@outlook.com","name":"ibrandao"},{"email":"andrew@kinetifex.com","name":"kinetifex"},{"email":"rmarkins@gmail.com","name":"rxmarbles"},{"email":"kirsten@querna.org","name":"kquerna"},{"email":"npmjs@3rd-Eden.com","name":"3rdeden"},{"email":"jcrugzz@gmail.com","name":"jcrugzz"},{"email":"jeremiah@gowdy.me","name":"jgowdy"},{"email":"martijn@swaagman.online","name":"swaagie"},{"email":"jpina1@godaddy.com","name":"jpina1-godaddy"},{"email":"mmason2@godaddy.com","name":"mmason2"},{"email":"sgore@godaddy.com","name":"sgore-godaddy"},{"email":"rmarkins@godaddy.com","name":"rmarkins"},{"email":"wcole1@godaddy.com","name":"wcole1-godaddy"}],"readme":"# @godaddy/hostfile\n\nAPI and CLI for querying and manipulating host files.\n\n![Build Status](https://travis-ci.org/godaddy/hostwriter.svg?branch=master)\n\n## Installation\n\nFirst, an important note. By default, most operating systems protect your host file by restricting write permissions.\nYou'll need to change the permissions on that file before you can use the API or CLI to modify the file. For example:\n\n```shell\nsudo chown %USER: /etc/hosts\n```\n\n\n## API\n\nTo use the API, install as a dependency:\n\n```shell\nnpm i --save @godaddy/hostfile\n```\n\n...then import:\n\n```js\nconst hostfile = require('@godaddy/hostfile');\n```\n\nThe following methods are supported:\n\n### `.point(hostEntries: Dictionary<string, string>): Promise<void>`\n\nWhere `hostEntries` is an object mapping host names to IP addresses, `point` assigns each host to an address. If an\naddress is set to `null`, any existing host file overrides for the host are commented out instead.\n\n### `.pointHost(host: string, address: string): Promise<void>`\n\nShortcut method for `.point({ [host]: address })`.\n\n### `.pointLocal(host: string): Promise<void>`\n\nShortcut method for `.point({ [host]: '127.0.0.1' })`.\n\n### `.reset(host: string): Promise<void>`\n\nShortcut method for `.point({ [host]: null })`.\n\n### `.untilExit(hostEntries: Dictionary<string, string>): Promise<void>`\n\nSame as `.point`, except `SIGTERM`, `SIGINT`, and `SIGHUP` handlers are installed for the process, and before exit,\neach of the hosts are reset. This is useful if you're developing a local service, and you only want your host file\npointing locally while the service is running.\n\n### `.isLocal(host: string): Promise<bool>`\n\nResolves to `true` if the host is pointing to `0.0.0.0`, `127.0.0.1`, `::1`, or `::0`.\n\n### `.watch(): Observable<string>`\n\nReturns an `Observable` that emits events when the host file changes. This is just a wrapper around\n[fs.watch](https://nodejs.org/dist/latest-v8.x/docs/api/fs.html#fs_fs_watch_filename_options_listener); see the node\ndocumentation for more information.\n\n\n## CLI\n\nTo install the `hostfile` command-line:\n\n```shell\nnpm i -g @godaddy/hostfile\n```\n\nThe `hostfile` command can be used as follows:\n\n```shell\nhostfile query host <hosts>               # Lists active entries for one or most hosts. Supports * wildcards.\nhostfile query address <addresses>        # Lists active entries pointing to one or more address\nhostfile point <hosts> [to] <address>     # Assigns <address> to one or most hosts\nhostfile reset <hosts>                    # Removes hostfile assignments for one or more hosts\n```\n \n\n\n## Operating System Support\n\n`hostwriter` only knows how to find the host file on MacOS, Linux, and Windows at this time. If you have a need for\nother OS's, let us know.\n","readmeFilename":"README.md"}