Socket
Book a DemoInstallSign in
Socket

hosit

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hosit

update the latest and available google hosts file

latest
Source
npmnpm
Version
2.2.2
Version published
Maintainers
1
Created
Source

hosit

Version depend

更新最新的google hosts文件,基于racaljk/hosts,详情请查看license

This work is licensed under a CC BY-NC-SA 4.0 International License.

支持Linux, Windows及OS X 10.2+

install

npm install -g hosit

usage

  • hosit 更新最新的google hosts文件
  • hosit -h print help info, hosit -V print current version(please use the latest version)
  • hosit -r, --reset 完全清除hosts的内容(会保留localhost不建议使用
  • hosit -c, --clear 去除google hosts部分的内容
  • hosit -a, --add <ip> <domain> 添加一项记录
  • hosit -d, --delete <ip|domain> 删除一项记录
  • hosit -p, --path 打印出hosts文件的路径
  • hosit -P, --print 打印出hosts文件的内容
  • hosit -e, --edit 编辑hosts文件

license

MIT

Keywords

google

FAQs

Package last updated on 02 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts