simple-server
Simple Server allows you to easily get a node.js static file server up and running anywhere anytime.
Last updated 2 years ago by balupton .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install simple-server -g
SYNC missed versions from official npm registry.

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:

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

16 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           8 years ago
  • 0.4.0                                ...           9 years ago
  • 0.3.0                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.8                                ...           9 years ago
  • 0.1.7                                ...           9 years ago
  • 0.1.6                                ...           9 years ago
  • 0.1.5                                ...           9 years ago
  • 0.1.4                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 35
Last Day 0
Last Week 33
Last Month 22
Dependencies (1)
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |