https://github.com/kevboh/emcee
Temporarily add entries to your hosts file.
https://github.com/kevboh/emcee
Last synced: 2 months ago
JSON representation
Temporarily add entries to your hosts file.
- Host: GitHub
- URL: https://github.com/kevboh/emcee
- Owner: kevboh
- License: isc
- Created: 2019-10-24T00:38:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T12:27:11.000Z (almost 7 years ago)
- Last Synced: 2025-07-08T06:04:51.020Z (about 1 year ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# emcee
A very simple way to temporarily patch your /etc/hosts file by way of a local `Hostsfile`.
To use:
```
npm install -g @kevboh/emcee
echo "127.0.0.1 mycoolsite.online" > Hostsfile
sudo emcee # You probably need sudo here, sorry.
```
I made this in like five minutes, feel free to PR suggestions!