Appearance
Get Started
Installation
  npm i @serverless-use/apigw
Basic Handler
import { use, useQueryParameters } from '@serverless-use/apigw'
export const handler = use(async () => {
  const { get } = useQueryParameters()
  const name = get('name')
  return {
    name,
  }
})
Typed Handler
import { use, useQueryParameters } from '@serverless-use/apigw'
export const handler = use(async () => {
  const { get } = useQueryParameters<{ name: string; email?: string }>()
  const name = get('name')
  return {
    name,
  }
})
Recommended Serverless libraries
Architect
Simple framework for building on top of AWS with minimal configuration
Serverless Stack
CDK based platform making IaC simple and powerful