UNPKG

set-hosts-file

Version:

这是一个配置hosts文件的脚本,如果你用的macOs 或者 Linux, hosts文件默认在 `/etc/hosts`. window默认在 `C:/Windows/System32/drivers/etc/hosts`.

26 lines 458 B
{ "name": "set-hosts-file", "version": "1.0.5", "description": "", "main": "index.js", "bin": { "setHosts": "./bin/cmd.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "home king", "/etc/hosts", "change hosts", "etc hosts", "hostname", "hosts file" ], "author": "zlq", "license": "MIT", "dependencies": { "chalk": "^4.1.0", "minimist": "^1.2.5" } }