2.0.4 • Published 9 years ago
perfusorius-js v2.0.4
PerfusoriusJS for restful APIs
Lightweight RESTful API framework for NodeJS.
Configuration variables
namestring Currently not in useserverNamestring Shows in 'server' headerenableSecurityHeadersboolean, Default trueportnumber API server port`corsobject Object where you can set the cors information likemaxAge, origin, credentials
Route
methodstring Request methodpathstring Path name, variables in path should start with colon :(ex. /path/:id)middlewarefunction || array of functions Single middleware function or array of a middleware functionsservicefunction Route controllerversionstring 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 --saveExample
2.0.4
9 years ago
2.0.3
9 years ago
2.0.2
9 years ago
2.0.1
9 years ago
2.0.0
9 years ago
1.0.14
9 years ago
1.0.13
9 years ago
1.0.12
9 years ago
1.0.11
9 years ago
1.0.10
9 years ago
1.0.9
9 years ago
1.0.8
9 years ago
1.0.7
9 years ago
1.0.6
9 years ago
1.0.5
9 years ago
1.0.4
9 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
9 years ago
1.0.0
9 years ago