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

@anvil-cloud/sdk

v0.0.5

Published

Anvil — secure-by-default cloud infrastructure components

Readme

@anvil-cloud/sdk

Cloud infrastructure that's secure by default — not by accident.

Anvil wraps raw cloud resources into opinionated, production-ready components. No 200-line Terraform modules. No copy-pasting security configs. Just declare what you need and Anvil handles the rest.

Install

npm install @anvil-cloud/sdk

Quick start

Create anvil.config.ts at your project root:

import { App } from '@anvil-cloud/sdk';
import * as anvil from '@anvil-cloud/sdk';

export default new App({
  run(ctx) {
    const bucket = new anvil.aws.Bucket('uploads', {
      dataClassification: 'sensitive',
    });
    ctx.export('bucketName', bucket.bucketName);
  },
});

Deploy:

anvil deploy

That S3 bucket ships with public access blocked, encryption enabled, and versioning on — because that's how every bucket should start. You opt in to risk, not out of it.

The App class

Every Anvil program starts with new App(). The run callback receives a Context with:

  • ctx.stage — the current deployment stage (defaults to your OS username for dev isolation)
  • ctx.project — the project name from anvil.yaml
  • ctx.export(name, value) — export stack outputs
  • ctx.providers — named cloud providers for multi-region / multi-account

Multi-cloud

export default new App({
  run(ctx) {
    // AWS
    const bucket = new anvil.aws.Bucket('data', {
      dataClassification: 'sensitive',
    });

    // GCP
    const gcsBucket = new anvil.gcp.StorageBucket('backup', {
      dataClassification: 'internal',
      location: 'US',
    });
  },
});

Overrides

Every component accepts a transform argument to override the underlying resource config:

const bucket = new anvil.aws.Bucket('custom', {
  dataClassification: 'non-sensitive',
  transform: {
    bucket: { forceDestroy: true, tags: { env: 'dev' } },
  },
});

How it works

Anvil is built on Pulumi. Each component wraps one or more cloud resources with secure defaults. The App class handles config, providers, and exports so you write infrastructure — not boilerplate.

Links

License

Apache-2.0