sws

0.0.2 • Public • Published

SWS

An instant Static Web Server (for static content). Actually just a command line runner for connect.[static|staticProvider]. Just a quick and easy command line tool.

Installation

$ npm install sws

Features

  • Everything in connect.[static|staticProvider], and not a whole lot else.
  • Stupidly simple.
  • Works with old and new versions of connect and node.
  • No logging. (Yes, that's a feature.)
  • No config file. (Yes, that's a feature.)

Usage

sws [OPTIONS] [ARGS]

Options: 
  -p, --port [NUMBER]    Listen on this port (Default is 8080)
  -s, --serve [PATH]     Serve static files from PATH (Default is .)
  -v, --version          Display the current version
  -h, --help             Display help and usage details

License

(The MIT License)

Copyright (c) 2011 Bryan English <bryan@bryanenglish.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme

Keywords

none

Package Sidebar

Install

npm i sws

Weekly Downloads

3

Version

0.0.2

License

none

Last publish

Collaborators

  • bengl