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

@wraps.dev/pulumi

v0.1.3

Published

Pulumi component for deploying Wraps email infrastructure

Readme

@wraps.dev/pulumi

Pulumi component for deploying Wraps email infrastructure to your AWS account.

Installation

npm install @wraps.dev/pulumi

Quick Start

import { WrapsEmail } from "@wraps.dev/pulumi";

// Minimal setup with Vercel OIDC
const email = new WrapsEmail("email", {
  vercel: {
    teamSlug: "my-team",
    projectName: "my-app",
  },
});

// Export the role ARN for your Vercel environment
export const roleArn = email.roleArn;
export const configSetName = email.configSetName;

Features

  • Zero credentials stored - Uses OIDC for secure authentication
  • Full AWS ownership - Infrastructure deploys to your AWS account
  • Sensible defaults - Works out of the box, customize as needed
  • SST-style API - Composition over presets, transform functions for customization

Configuration Options

With Domain and Event Tracking

const email = new WrapsEmail("email", {
  vercel: {
    teamSlug: "my-team",
    projectName: "my-app",
  },
  domain: "example.com",
  events: {
    types: ["SEND", "DELIVERY", "BOUNCE", "COMPLAINT", "OPEN", "CLICK"],
    storeHistory: true,
    retention: "90days",
  },
});

Full Configuration

const email = new WrapsEmail("email", {
  // Authentication (choose one)
  vercel: {
    teamSlug: "my-team",
    projectName: "my-app",
  },
  // Or custom OIDC:
  // oidc: {
  //   providerUrl: "https://token.actions.githubusercontent.com",
  //   audience: "sts.amazonaws.com",
  //   subjectPattern: "repo:my-org/my-repo:*",
  // },

  // Domain configuration
  domain: "example.com",
  mailFromSubdomain: "mail", // Creates mail.example.com

  // Event tracking
  events: {
    types: ["SEND", "DELIVERY", "BOUNCE", "COMPLAINT", "OPEN", "CLICK"],
    storeHistory: true,
    retention: "90days", // "7days" | "30days" | "90days" | "6months" | "1year" | "unlimited"
  },

  // Email settings
  reputationMetrics: true,
  tlsRequired: false,
  sendingEnabled: true,

  // Suppression list
  suppressionList: {
    enabled: true,
    reasons: ["BOUNCE", "COMPLAINT"],
  },

  // SMTP credentials (for legacy systems)
  smtp: {
    enabled: false,
  },

  // Resource tags
  tags: {
    Environment: "production",
  },

  // Transform underlying resources
  transform: {
    table: (args) => ({
      ...args,
      billingMode: "PROVISIONED",
    }),
  },
});

Outputs

| Output | Description | |--------|-------------| | roleArn | IAM role ARN for SDK authentication | | configSetName | SES configuration set name | | tableName | DynamoDB table name (if history enabled) | | queueUrl | SQS queue URL (if events enabled) | | domain | Verified domain (if configured) |

Accessing Underlying Resources

const email = new WrapsEmail("email", { /* ... */ });

// Access raw Pulumi resources via .nodes
email.nodes.role;           // aws.iam.Role
email.nodes.configSet;      // aws.sesv2.ConfigurationSet
email.nodes.table;          // aws.dynamodb.Table (if enabled)
email.nodes.queue;          // aws.sqs.Queue (if enabled)
email.nodes.lambda;         // aws.lambda.Function (if enabled)
email.nodes.oidcProvider;   // aws.iam.OpenIdConnectProvider (if OIDC)

Using with @wraps.dev/email SDK

After deploying, use the @wraps.dev/email SDK to send emails:

import { Wraps } from "@wraps.dev/email";

const wraps = new Wraps();

await wraps.emails.send({
  from: "[email protected]",
  to: "[email protected]",
  subject: "Hello from Wraps!",
  html: "<h1>Welcome!</h1>",
});

Requirements

  • Node.js 20+
  • Pulumi 3.x
  • @pulumi/aws 6.x or 7.x

License

AGPL-3.0-or-later