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

6 years ago

0.1.0

6 years ago

0.0.34

6 years ago

0.0.33

6 years ago

0.0.32

6 years ago

0.0.31

6 years ago

0.0.30

6 years ago

0.0.29

6 years ago

0.0.28

6 years ago

0.0.27

6 years ago

0.0.26

6 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.8

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago