Skip to content

kondaurovDev/effortless-aws

Repository files navigation

effortless-aws

npm version npm downloads

TypeScript framework for AWS serverless. Export handlers, deploy with one command. No YAML, no CloudFormation, no state files.

npm install effortless-aws

What it looks like

import { defineHttp } from "effortless-aws";

export const hello = defineHttp({
  method: "GET",
  path: "/hello",
  onRequest: async () => {
    return { status: 200, body: { message: "Hello!" } };
  },
});
npx eff deploy

One export, one command. Lambda, API Gateway route, and IAM role created automatically.

Features

  • Infrastructure from code — export a handler, get the AWS resources. No config files.
  • Typed everythingdefineTable<Order> gives you typed put(), typed deps.orders.get(), typed record.new.
  • Direct AWS SDK deploys — no CloudFormation. Deploy in ~5-10s, not minutes.
  • No state files — AWS resource tags are the source of truth.
  • Cross-handler depsdeps: { orders } auto-wires IAM and injects a typed TableClient.
  • SSM paramsparam("stripe-key") fetches from Parameter Store at cold start. Auto IAM, auto caching.
  • Partial batch failures — DynamoDB stream processing reports failed records individually.
  • Cold start cachingcontext factory runs once per cold start, cached across invocations.

Documentation

Full docs, examples, and API reference: effortless-aws docs

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •