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
- Host: GitHub
- URL: https://github.com/sparkpost/lambda-request
- Owner: SparkPost
- Created: 2020-01-15T14:47:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-17T03:29:52.000Z (over 2 years ago)
- Last Synced: 2025-05-21T08:48:50.635Z (about 1 year ago)
- Topics: appteam, javascript, nodejs, team-ac
- Language: JavaScript
- Homepage:
- Size: 752 KB
- Stars: 0
- Watchers: 23
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
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);
```