{"_id":"host","_rev":"7-ab40367384e5a952dcc92d844e9ed2ab","name":"host","description":"host manage","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.0":{"name":"host","version":"0.0.0","description":"host manage","main":"host.js","scripts":{"test":"npm test"},"bin":{"host":"./bin/host"},"repository":{"type":"git","url":"https://github.com/qiu8310/host"},"keywords":["host","manage"],"author":{"name":"Zhonglei Qiu"},"license":"MIT","bugs":{"url":"https://github.com/qiu8310/host/issues"},"readme":"# host\r\n\r\nwindows host file manage\r\n","readmeFilename":"README.md","_id":"host@0.0.0","dist":{"shasum":"1e02cca9e1e8e713533fc98646460a5cd9619c1a","tarball":"https://registry.npmjs.org/host/-/host-0.0.0.tgz","integrity":"sha512-IcynXqXzuh0r2QGnnFyKYE75wZFPzAq+f9AUj1pmNXqXSLPC6Zm0YpYxh4+CychtLdG4AYOH7kbbXYvYx+YRzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAQChuLNIuotBE/Z+rQ8n30eiYuUcD2WoHDNf79rC7iQIhAPBA9h+QFXgLLQ3h9uoiDDmr5YynFqKyoDcXT9ykJ+oU"}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"qiu8310","email":"zhongleiqiu@gmail.com"},"maintainers":[{"name":"qiu8310","email":"zhongleiqiu@gmail.com"}]},"0.0.1":{"name":"host","version":"0.0.1","description":"host manage","main":"host.js","scripts":{"test":"npm test"},"bin":{"host":"./bin/host"},"repository":{"type":"git","url":"https://github.com/qiu8310/host"},"keywords":["host","manage"],"author":{"name":"Zhonglei Qiu"},"license":"MIT","devDependencies":{"matchdep":"~0.1.2","grunt-contrib-jshint":"~0.6.0","grunt-contrib-watch":"~0.5.0","grunt-contrib-nodeunit":"~0.2.0","grunt":"~0.4.0"},"bugs":{"url":"https://github.com/qiu8310/host/issues"},"readme":"# host\r\n\r\nwindows host file manage\r\n\r\n\tusage:  host <command> <params> [options]\r\n\t\r\n\t    command:        get | set | del | enable | disable | ip\r\n\t\r\n\t    params:         [ip string] [domain string] [group string]\r\n\t\r\n\t    options:        -h | -c comment | -e isEnabled\r\n\t\r\n\texample:\r\n\t    host -h                                 # show this help\r\n\t\r\n\t    host get 127.0.0.1                      # get ip(127.0.0.1)'s host\r\n\t    host get plus.google.com default        # get domain(plus.google.com) and group(default)'s host\r\n\t    host get 127.0.0.1 192.168.1.101        # get ip(127.0.0.1) and ip(192.168.1.101)'s host\r\n\t\r\n\t    host del 127.0.0.1\r\n\t    host del 127.0.0.1 192.168.1.101\r\n\t    host del \"default\" test.com\r\n\t\r\n\t    host set <domain> <ip> [group] [-e enabled] [-c comment]\r\n\t    host set test.com 127.0.0.1 \"personal use\" -e true -c \"this is comment\"\r\n\t\r\n\t    host enable 127.0.0.1\r\n\t    host enable test.com \"google group\" \"personal use\"\r\n\t    host disable 127.0.0.1 192.168.1.102\r\n\t\r\n\t    host ip <old ip> <new ip>               # change all <old ip> to <new ip>\r\n\t    host ip 192.168.1.101 192.168.1.102","readmeFilename":"README.md","_id":"host@0.0.1","dist":{"shasum":"e67a0955431775095d9046282aa214091802eeff","tarball":"https://registry.npmjs.org/host/-/host-0.0.1.tgz","integrity":"sha512-7XyNhoIkpS49Yjx5MKbiTfA5BywUz+Zp4Spq9/UDLdcj96Vs76sV+NKop7Dn/9eoRf8YVXOA7l3ndw4peUJ63Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGymTmqznNgR/UZaUkINaVGxiFP0Fnpap4u2AWt1AbiGAiBzl0RWKrAj7xnwCr9YmHtw5Fi/8y6mVbDqb+ObcU1CzQ=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"qiu8310","email":"zhongleiqiu@gmail.com"},"maintainers":[{"name":"qiu8310","email":"zhongleiqiu@gmail.com"}]}},"readme":"# host\r\n\r\nwindows host file manage\r\n","maintainers":[{"name":"qiu8310","email":"zhongleiqiu@gmail.com"}],"time":{"modified":"2022-06-18T21:35:24.530Z","created":"2013-10-03T13:43:12.739Z","0.0.0":"2013-10-03T13:43:19.754Z","0.0.1":"2013-10-04T11:07:34.840Z"},"author":{"name":"Zhonglei Qiu"},"repository":{"type":"git","url":"https://github.com/qiu8310/host"}}