npm install rest-wrapperYou can install via npm.
``bash`
$ npm install rest-wrapper --save
bash
$ rest-wrapper [-p port] [-r]
`Example
Suppose you have your rest apis under the directory named "test", you can add a new file to start the rest-wrapper
`bash
$ cd
$ rest-wrapper -p 3000 ./rest
`Rest API Example
`js
'use strict';class hello {
// Request example: /hello/echo?text=words
*echo(args){
return args.text;
}
}
module.exports = new hello();
``