An open API service indexing awesome lists of open source software.

https://github.com/sparkpost/lambda-request

Request-promise wrapper to set User-Agent data
https://github.com/sparkpost/lambda-request

appteam javascript nodejs team-ac

Last synced: about 2 months ago
JSON representation

Request-promise wrapper to set User-Agent data

Awesome Lists containing this project

README

          

#lambda-request
This is a wrapper for `request-promise` that includes information about your lambda function on the `User-Agent` header of each request.

##Usage
Pass in your package.json file like so, then use the result as you would normally use `request-promise`.
```
const package = require('./package.json');
const request = require('@sparkpost/lambda-request)(package);
```