JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 947
  • Score
    100M100P100Q80797F
  • License MIT

Code-first AWS Lambda framework

Package Exports

  • effortless-aws
  • effortless-aws/package.json

Readme

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