node package manager

supergiovane

website for searching through history of npm modules

supergiovane

NPM version Linux Status Dependency Status Coveralls

supergiovane logo

website for searching through history of npm modules

Build badge with all versions found (using https://github.com/badges/shields) versions Write with Bootstrap & Angular. And of course node

Installation

Install through NPM

npm install supergiovane

or

git clone git://github.com/hex7c0/supergiovane.git

API

var supergiovane = require('supergiovane');
 
supergiovane(options);

supergiovane(options)

options

  • env - String Selected environment (development, production, test) (default "production")
  • host - String Which host accept connection from web (default "127.0.0.1")
  • port - Integer Which port accept connection from web (default "3000")
  • referer - String Which referer send data (default "http://127.0.0.1")
  • dir - String Absolute path of web files directory (default "/public")
  • logger - Object | false Configuration for logger-request or disable (default "standard")
  • timeout - Object | false Configuration for timeout-request or disable (default "standard")
  • sitemap - Object | false Configuration for express-sitemap or disable (default "standard")
  • vhost - Object | false Configuration for top-vhost or disable (default "disabled")
  • signature - Object | false Configuration for server-signature or disable (default "disabled")
  • cache - Number | false Flag for store last "Number" results in cache (default "6")
  • flush - Number Flush cache (if enabled) after milliseconds (default "86400000")
  • fork - Number Number of forks (see cluster module), for single thread use "development" env (default "cpus")
  • max - Number | String Restart max number of crashed forks (use String for unlimited restart) (default "no restart")
  • debug - String | false Write debug information to file or disable (default "debug.log")
  • task - Number | String | false Related to task-manager (default "false")
  • mamma - Number | String | false Related to mamma createClient (default "false")

Examples

Take a look at my examples

License GPLv3