0.1.7 • Published 5 years ago

lambda-proxy-responses v0.1.7

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

lambda-proxy-response

A Typescript Node.js package that create and generate responses into Lambda proxy.

Installation

Getting Started

You will need to import the node module into your file:

  import ResponseBuilder from 'lambda-proxy-responses';

Usage

  ResponseBuilder.ok('this is a new response', cb);
  ResponseBuilder.ok({message: 'this is a new response'}, cb);
  ResponseBuilder.notFound('object notFound', cb);
  ResponseBuilder.serverError(500, new Error('this is a new response'), cb);

Response Type support

  • ok
  • notFound
  • badRequest
  • forbidden
  • serverError
  • internalServerError

License

Not yet

forthebadge forthebadge forthebadge

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.34

5 years ago

0.0.33

5 years ago

0.0.32

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.8

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago