Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    localhosterpublic

    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.

    Keywords

    none

    install

    npm i localhoster

    Downloadsweekly downloads

    2

    version

    0.0.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar