AWS API Gateway request signing library
npm install apigateway4 ![npm]()

apigateway4 is a simple SDK for AWS API Gateway request signing with the Signature Version4 Signing Process.
- support default API Gateway domain as well as the custom domain name
- support popular npm modules like request and request-promise
``
var agw4 = require('apigateway4')
var requestOpts = {
uri: 'https://
}
var signer = new agw4.BuildRequestSigner(requestOpts,credentials)
signer.sign()
// example for 'got'
require('got')(requestOpts.uri, requestOpts)
.then( (html)=> console.log(html.body))
.catch( (e) => console.log(e))
// example for 'request-promise'
require('request-promise')(requestOpts)
.then( (html)=> console.log(html))
.catch( (e) => console.log(e))
``
see example.js for more details