serveur npm

Serve with more magic

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 &lt;[email protected]&gt; & François Robichet &lt;http://francois.robichet.com&gt;

Related Repositories

pia

pia

Version web front office de l’application PIA à déployer sur un serveur afin d’en donner l’accès via un navigateur web | Front office of the PIA application to be deployed on a server in order to access it through a web browser. ...

mailserver-autoinstall

mailserver-autoinstall

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

rpi-docker-lizmap

rpi-docker-lizmap

websig serveur on a raspberry pi ...

Client-Serveur-Bluetooth

Client-Serveur-Bluetooth

A bluetooth server-client iOS App using CFNetwork ...

MCBin

MCBin

Bash script to easily and simply manage your Minecraft server(s) | Script Bash pour gérer facilement et simplement votre(vos) serveur(s) Minecraft ...


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