{"id":23091113,"url":"https://github.com/joblocal/middy-json-api-parser","last_synced_at":"2025-04-03T18:17:13.509Z","repository":{"id":42902765,"uuid":"251632819","full_name":"joblocal/middy-json-api-parser","owner":"joblocal","description":"A middy middleware to parse JSON API requests.","archived":false,"fork":false,"pushed_at":"2023-01-05T18:04:20.000Z","size":746,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-01T23:02:10.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joblocal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-31T14:44:05.000Z","updated_at":"2020-08-13T07:40:44.000Z","dependencies_parsed_at":"2023-02-04T09:31:02.962Z","dependency_job_id":null,"html_url":"https://github.com/joblocal/middy-json-api-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fmiddy-json-api-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fmiddy-json-api-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fmiddy-json-api-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joblocal%2Fmiddy-json-api-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joblocal","download_url":"https://codeload.github.com/joblocal/middy-json-api-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247052618,"owners_count":20875685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T21:17:07.028Z","updated_at":"2025-04-03T18:17:13.471Z","avatar_url":"https://github.com/joblocal.png","language":"JavaScript","readme":"# Middy JSON API Parser\n\nThis is a [middy](https://middy.js.org/) middleware, which is parsing AWS API Gateway events according to the [JSON:API spec](https://jsonapi.org/).\n\n## Installation\n\n```sh\nnpm install @joblocal/middy-json-api-parser\n```\n\n## Usage\n\n```js\n# handler.js\nconst middy = require('middy');\nconst jsonApiParser = require('@joblocal/middy-json-api-parser');\n\nconst yourHandler = (event) =\u003e {\n  console.log(event.data);\n};\n\nconst handler = middy(yourHandler)\n  .use(jsonApiParser());\n\nmodule.exports = { handler };\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoblocal%2Fmiddy-json-api-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoblocal%2Fmiddy-json-api-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoblocal%2Fmiddy-json-api-parser/lists"}