serveur npm

Serve with more magic

3 years after

serveur

Simple 5 minute command-line file / directory server built with connect, inspired by nodejitsu's http-server to show off the simplicity and flexibility of connect as a modular server.

Installation

$ npm install -g serveur

Usage


Usage: serveur [options] [dir]

Options:

  -v, --version        output the version number
  -F, --format <fmt>   specify the log format string
  -p, --port <port>    specify the port [3000]
  -f, --favicon <path> serveur the given favicon
  -H, --hidden         enable hidden file serving
  -c, --no-coffee      disable coffee rendering
  -b, --no-babel       disable babel rendering')
  -J, --no-jade        disable jade rendering
  -S, --no-stylus      disable stylus rendering
      --no-less        disable less css rendering
      --no-sass        disable sass css rendering
  -o, --open           open with your browser
  -I, --no-icons       disable icons
  -L, --no-logs        disable request logging
  -D, --no-dirs        disable directory serving
  -C, --cors           allows cross origin access serving
      --compress       gzip or deflate the response
  -R, --livereload     refresh your CSS (or page) with each save
      --exec <cmd>     execute command on each request
  -h, --help           output usage information

Examples

Directory listing served by connect's connect.directory() middleware.

directory listings

License

MIT

Copyright © 2011 TJ Holowaychuk <[email protected]> & François Robichet <http://francois.robichet.com&gt;

Related Repositories

cfp-devoxx

cfp-devoxx

Call for Papers application created for Devoxx France, used by many conferences ...

Uber-Like

Uber-Like

...

mailserver-autoinstall

mailserver-autoinstall

Script d'installation automatique d'un serveur mail avec Postfix, Dovecot et Rai ...

domotique-assistant

domotique-assistant

Application de gestion domotique via un Raspberry-Pi ...

vm-dev-php

vm-dev-php

Installation / configuration d'une Machine Virtuelle de développement / expérime ...


Top Contributors

tj Calvein oncletom rauchg rstacruz btmills SlexAxton chuckpreslar CurtisHumphrey scttnlsn

Releases

-   v1.1.4 zip tar
-   v1.1.3 zip tar
-   v1.1.2 zip tar
-   v1.1.1 zip tar
-   v1.1.0 zip tar
-   1.3.0 zip tar
-   1.2.0 zip tar
-   1.1.0 zip tar
-   1.0.3 zip tar
-   1.0.2 zip tar
-   1.0.1 zip tar
-   1.0.0 zip tar
-   0.0.5 zip tar
-   0.0.4 zip tar
-   0.0.3 zip tar
-   0.0.2 zip tar