npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@de-otio/saas-foundation-cdk

v0.4.0

Published

AWS CDK constructs for de-otio SaaS deployment plumbing

Readme

@de-otio/saas-foundation-cdk

AWS CDK constructs for the deployment plumbing every de-otio SaaS back-end needs: an opinionated NodejsLambda (esbuild bundling with optional Prisma engine packaging, IteratorAge alarms, log-group retention defaults), a QueueWithDlq SQS + DLQ pair, a SingleTable DynamoDB construct with on-demand billing and PITR defaults, three ready-to-render CloudWatch dashboard templates, and a HouseDefaultsAspect that enforces them across a stack via construct-tree introspection (raw resources are detected by tag).

Pure constructs library — no runtime dependency on @de-otio/saas-foundation.

Install

npm install @de-otio/saas-foundation-cdk aws-cdk-lib constructs

Requires Node ≥ 24 and aws-cdk-lib@^2.200.

Constructs

NodejsLambda

import { NodejsLambda } from "@de-otio/saas-foundation-cdk";

new NodejsLambda(this, "Worker", {
  entry: "src/worker.ts",
  prisma: { engine: "rhel-openssl-3.0.x" },
  alarmOnIteratorAge: { thresholdMinutes: 5 },
});

A Lambda function with house defaults (ARM64, X-Ray tracing, 30-day log retention, optional Prisma client bundling, and optional alarms for errors/throttles). See doc/foundation-cdk/02-nodejs-lambda.md.

SesEmailIdentity

import { SesEmailIdentity } from "@de-otio/saas-foundation-cdk";

const identity = new SesEmailIdentity(this, "EmailIdentity", {
  domainName: "mail.example.com",
  hostedZone: zone,
  dmarc: { policy: "quarantine", rua: "[email protected]" },
});

// Grant a Lambda permission to send through this identity
identity.grantSend(myLambda, ["[email protected]"]);

Provisions a domain identity for transactional email with Easy DKIM, custom MAIL FROM (SPF-aligned), DMARC record, TLS-required configuration set, and SNS topic for bounce/complaint events. When a Route53 hosted zone is provided, all DNS records are created automatically; otherwise they are emitted as CloudFormation outputs for manual entry.

Properties:

  • identity: The verified ses.EmailIdentity (Easy DKIM enabled)
  • configurationSet: The TLS-required configuration set
  • bounceComplaintTopic: SNS topic receiving bounce and complaint events
  • domainName: The verified domain (e.g. mail.example.com)
  • mailFromDomain: The custom MAIL FROM domain (e.g. mail.mail.example.com)

Method:

  • grantSend(grantee, fromAddresses?): Grants ses:SendEmail and ses:SendRawEmail permission scoped to this identity, optionally restricted to specific fromAddresses.

See doc/foundation-cdk/07-ses-email-identity.md for detailed configuration options and DMARC policy guidance.

Additional resources

Aspects (HouseDefaultsAspect) and the dashboard helpers (houseDashboard, listHouseDashboards) are exported from the same package root.

Design docs

See doc/foundation-cdk/ in the source repository and the position paper at doc/09-foundation-cdk-package.md.

License

Apache-2.0.