Nietzsche's Preposterous Moustache

    localhost

    0.3.4 • Public • Published

    localhost

    Static file server which returns files regardless of the header method - unlike popular others.

    Embed within a NodeJS script

    npm install localhost --save-dev
    require('localhost')('./').listen(port);

    Run as an executable

    localhost [directory] [-p portNumber|8080]

    npm install -g localhost
    cd ./www/
    localhost

    Keywords

    none

    Install

    npm i localhost

    DownloadsWeekly Downloads

    62

    Version

    0.3.4

    License

    BSD

    Unpacked Size

    3.78 kB

    Total Files

    6

    Last publish

    Collaborators

    • adodson