1.0.6 • Published 8 months ago

lambda-api-utils v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

lambda-api-utils

This library contains utilities for use with the Lambda-Api to create rest endpoints in BFF services.

Middleware

  • Debug Logger
  • Error Handling
  • Serializer
  • CORS
  • forRole
  • forOrganization

JWT

  • getClaims
  • getUsername
  • getUserGroups

Connectors

  • DynamoDB
  • S3

Mapper

A very simple read mapper for the DynamoDB Single Table pattern.

  • Hide internal fields like pk and sk.
  • Create an aggreate json object out of many rows

Encryption

  • encrypt
  • decrypt (integrated with mapper)

Examples

  • see test cases

Related Projects

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

9 months ago

1.0.2

12 months ago

1.0.1

1 year ago

0.1.0

1 year ago

1.0.0

8 years ago