Skip to content

Peter-eid/soajs.nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

soajs.nodejs

Require this Middle Ware in your restful nodejs service, and append it to your app as follows:

var express = require('express');
var app = express();
const soajsMW = require('soajs.nodejs');
app.use(soajsMW({}));

Consequently, anywhere in your APIs you can get your soajs object, as follows:

app.post('/helloworld', function(req, res){
	var soajs = req.soajs;
});

Full Examples: https://github.com/soajs/soajs.nodejs.express https://github.com/soajs/soajs.nodejs.hapi

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%