1.2.4 • Published 10 months ago

@redmunroe/aglar v1.2.4

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Api Gateway Lambda Response (AGLaR)

This module simplifies responding for lambdas so instead of writing an object you can use dot notation and achieve the same outcome.

Install

npm i @RedMunroe/aglar

Import

import AGLaR from '@RedMunroe/aglar' 

Usage

const responder = new AGLaR(); 
return responder.OK().header("some-header", "header-value").JSON({
    "user_id": "some-id-here" 
}).send()
1.2.4

10 months ago

1.2.3

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.4

10 months ago