1.9.4 ā€¢ Published 1 year ago

bigsby v1.9.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Bigsby is the newest NodeJS Lambda library on the block. Written in Typescript, heavily leveraging decorators and classes, it might not be everyone's cup of šŸ«–, but its purpose is to šŸ§™ā€šŸŖ„ away the heavy lifting and let you focus on the important stuff.

Show me some code

const bigsby = new Bigsby();

@Api()
class ArnyQuotesHandler implements ApiHandler {
  @Autowire(ArnyService)
  private service!: ArnyService;

  @ReqSchema(requestSchema)
  @ResSchema(200, responseSchema)
  public async invoke(@Body() request: GetQuoteRequest): Promise<string> {
    return this.service.getQuote(request.movie);
  }
}

const handler = bigsby.createApiHandler(ArnyQuotesHandler);

Features

šŸ’‰ Injection

Bigsby uses ts-injection under the hood to provide an easy to use, intuitive and clean dependency injection interface.

šŸ”Ž Parsing

Use a comprehensive set of decorators to map API Gateway events into the parameters your handler needs, resulting in concise, clean and easy to read code.

šŸ‘® Validation

Leveraging Joi's powerful schema description language, Bigsby makes it easy to define complex request and response schemas.

šŸ”¢ Versioning

Support for header or path based versioning is available out of the box with Bigsby. You define the mapping, and we'll worry about getting the request to the right handler version.

šŸ” Authentication

Register authentication methods to secure your APIs. Assign these methods at the global level, to an individual handler, or even to a specific version of a handler.

šŸŖ Lifecycle

Tap into a diverse range of hooks exposed throughout Bigsby's request lifecycle. It's simple to build highly customizable execution flows.

View full documentation

1.9.1

1 year ago

1.9.4

1 year ago

1.9.3

1 year ago

1.9.2

1 year ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.4.2

2 years ago

1.5.0

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago