https://github.com/jkyberneees/serverless-json-parser
Simple JSON parser for AWS Lambda + HTTP integration via serverless-http
https://github.com/jkyberneees/serverless-json-parser
Last synced: about 2 months ago
JSON representation
Simple JSON parser for AWS Lambda + HTTP integration via serverless-http
- Host: GitHub
- URL: https://github.com/jkyberneees/serverless-json-parser
- Owner: jkyberneees
- License: mit
- Created: 2020-03-30T09:40:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-30T11:24:45.000Z (about 5 years ago)
- Last Synced: 2025-01-11T17:46:20.230Z (3 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- cuban-opensource - serverless-json-parser - http. (Web Development / Javascript)
README
# serverless-json-parser
Simple JSON parser for AWS Lambda + HTTP integration via [serverless-http](https://github.com/dougmoscrop/serverless-http)## Usage
```js
'use strict'const jsonParser = require('serverless-json-parser')()
const service = require('restana')()
service.use(jsonParser)service.post('/create', (req, res) => {
const payload = req.body// ...
})module.exports = service
```