Connect Url Beautifier
A Node Connect middleware for beautiful URLs
Install
npm install url-beautifier --save
Usage
var connect = var urlBeautifier = var http = var options = {}var app = apphttp
API
options.extension
Type: String
Default: html
The file extension to complete
options.notFoundPage
Type: String
Default: /404.html
Custom not found page (optional)
options.basePath
Type: String
Default: /public
The base path to check file existence