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

    http-staticpublic

    HTTP Static

    HTTP Static is a tiny web server for testing static web pages. It is designed around testing and developing single page web apps, like with backbone, ember, angular etc. It handles mime-types, includes, etc. It doesn't have any required config settings. Just install it, and run it. It serves files out of the directory it is running in, and any files and folders that are included underneath.

    Install

    HTTP Static runs as as executable, so installing with -g is the preferred method: npm install -g http-static

    Run

    Run http-static from whatever directory you are in, and it will serve files from that directory as the root. http-static. http-static is now serving files from the localdirectory on port 3333: http://localhost:3333/

    install

    npm i http-static

    Downloadsweekly downloads

    33

    version

    0.0.8

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar