UNPKG

wso2-apimgr

Version:

A lightweight JS SDK to work with the WSO2 API Manager

24 lines (12 loc) 338 B
module.exports=ApiMgr; var Proxy = require('./proxy'); var config = require('./config'); var Store = require('./store'); //var Utils = require('./utils'); function ApiMgr(config2){ if (typeof config2 === 'object') { config.baseUrl = config2.baseUrl } this.proxy = new Proxy(config); this.store = new Store(this.proxy); }