localhoster

0.0.0 • Public • Published

Localhoster

A port-forwarding system for local web apps. Allows you to easily access localhost with custom domains under the .dev TLD. For example, you can forward mytestsite.dev => localhost:3000.

Heavily inspired by pow and local-tld.

Easy setup

  1. Install localhoster with npm install -g localhoster
  2. Create a ~/.localhoster file -- something like this:
{
  "http://mytestsite.dev": "3000",
  "https://mytestsite.dev": "4000"
}
  1. There is no step 3. http://mytestsite.dev now forwards to localhost:3000, and https://mytestsite.dev forwards to localhost:4000.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i localhoster

      Weekly Downloads

      1

      Version

      0.0.0

      License

      MIT

      Last publish

      Collaborators

      • demands