simple-server

1.1.1 • Public • Published

Simple Server

Travis CI Build Status NPM version NPM downloads Dependency Status Dev Dependency Status
Patreon donate button Open Collective donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button
Slack community badge

Simple Server allows you to easily get a node.js static file server up and running anywhere anytime.

Install

NPM

  • Install: npm install --global simple-server
  • Executable: simple-server
  • Using

    Module usage is as so:

    require('simple-server')(dir, port)

    Command line usage is as so:

    npm i -g simple-server
    simple-server public 3000

    Number argument is the port. String argument is the directory. No directory will listen to the current directory. No port will listen on port 3000.

    As of v1.1.0 this project is now just a quick alias for zeit/serve, which you should just use directly, as that project is maintained and this project is not. If you have python on your computer, you can also just use:

    python -m SimpleHTTPServer 8000

    History

    Discover the release history by heading on over to the HISTORY.md file.

    Backers

    Maintainers

    These amazing people are maintaining this project:

    Sponsors

    No sponsors yet! Will you be the first?

    Patreon donate button Open Collective donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button Wishlist browse button

    Contributors

    These amazing people have contributed code to this project:

    License

    Unless stated otherwise all works are:

    and licensed under:

    Readme

    Keywords

    Package Sidebar

    Install

    npm i simple-server

    Weekly Downloads

    131

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • bevryme