Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hostsman

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hostsman

Hosts file management for OS X.

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

Hostsman

A simple node tool to provide easy management of host overrides.

Introduction

In my current role I work on a MacBook Pro and frequently need to locally host websites in a virtual machine running Windows. In order to minimise the number of applications running in the virtual machine I use an OS X web browser to access the websites hosted by the virtual machine.

This means I end up adding host overrides to the hosts file very frequently. Even more so If I work from a location other than the office and my virtual machine is assigned a dynamic IP.

Aims

The aim of this project is to produce a tool which provides a quick and easy command line interface to manipulate the hosts file on OS X.

You should be able to specify an IP for a development machine and add domains which should point to that IP. If I update the IP for the development machine, all the domains should update too.

I'm sure additional features will appear as the project progresses.

Installation

Install from npm.

npm install -g hostsman

Usage

Currently must be used with sudo to allow appropriate write access.

hostsman --help

FAQs

Package last updated on 10 Nov 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc