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

    staticserverpublic

    Simple Static Web Server

    A simple static webserver for local hosting. Ideal for development.

    Git clone and install globally...

    To Install:

    npm install staticserver -g
    

    To Run:

    From the directory you want to run:
    staticserver
    

    Optional Args:

    -p <port> - for manual port (default to 8000)
    -c <true | false> - turn cahce on/off (default true)
    -d <path> - Run from a different dir
    -l <true | false> - show directory listing
    -x <domains seperated by coma> - Allow cross domain requests from named origin CORS
    -h - help
    --help - the police
    

    Stuff

    Stuff
    

    Keywords

    none

    install

    npm i staticserver

    Downloadsweekly downloads

    15

    version

    1.0.6

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar