show-front

    1.0.3 • Public • Published

    show-front

    NPM Downloads

    Description

    Show defined directory as frontend via HTTP server.

    Installation

    npm install -g show-front

    Using template

    show-front [<directory>] [-h <hostname>] [-p <port>] [-l <logfile>]

    Using samples

    # Simple start in current directory. 
    show-front
    # Now you can see directory "./" at "localhost:3000". 
     
    # Start with user-defined directory. 
    show-front dir_name
    # Now you can see directory "dir_name" at "localhost:3000". 
     
    # Start with user-defined directory and hostname. 
    show-front dir_name -h 10.10.1.100
    # Now you can see directory "dir_name" at "10.10.1.100:3000". 
     
    # Start with user-defined directory, hostname and port. 
    show-front dir_name -h 10.10.1.100 -p 5555
    # Now you can see directory "dir_name" at "10.10.1.100:5555". 
     
    # Simple start in current directory and save requests to log file. 
    show-front -l requests.log
    # Now you can see directory "./" at "localhost:3000". 
    # Requests saved to log file "requests.log". 

    License

    The MIT License (MIT)

    Copyright © 2018 - 2019 Volodymyr Sichka

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

    Install

    npm i show-front

    DownloadsWeekly Downloads

    28

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    10 kB

    Total Files

    9

    Last publish

    Collaborators

    • volodymyr.sichka