2.0.4 • Published 8 years ago
perfusorius-js v2.0.4
PerfusoriusJS for restful APIs
Lightweight RESTful API framework for NodeJS.
Configuration variables
name
string Currently not in useserverName
string Shows in 'server' headerenableSecurityHeaders
boolean, Default trueport
number API server port`cors
object Object where you can set the cors information likemaxAge, origin, credentials
Route
method
string Request methodpath
string Path name, variables in path should start with colon :(ex. /path/:id)
middleware
function || array of functions Single middleware function or array of a middleware functionsservice
function Route controllerversion
string Route version (ex.'1.*.*'
)
Without the "version" key is the route version 1.0.0 and it is accessible from v1/ before the route path ( /v1/here/is/route/path )
Installing a PerfusoriusJS
npm install perfusorius-js --save
Example
2.0.4
8 years ago
2.0.3
8 years ago
2.0.2
8 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.0.14
8 years ago
1.0.13
8 years ago
1.0.12
8 years ago
1.0.11
8 years ago
1.0.10
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago