0.1.7 • Published 6 years ago

lambda-proxy-responses v0.1.7

Weekly downloads
2
License
ISC
Repository
github
Last release
6 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

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.34

7 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.8

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago