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

cloudmock

v1.8.3

Published

Local AWS emulation. 98 services. One command.

Readme

cloudmock

Local AWS emulation. 100 services. One command.

Install

npx cloudmock

Or install globally:

npm install -g cloudmock
cloudmock

What this does

This npm package downloads the pre-built CloudMock binary for your platform (macOS, Linux, Windows on arm64/x64) and runs it. The binary is cached at ~/.cloudmock/bin/ so subsequent runs start instantly.

Usage

# Start CloudMock
npx cloudmock

# Point your AWS SDK at it
aws --endpoint-url=http://localhost:4566 s3 ls

Distributed Tracing

Every request is automatically traced with W3C-compatible trace and span IDs. Incoming traceparent headers are propagated, and responses include traceparent, X-Cloudmock-Trace-Id, and X-Cloudmock-Span-Id headers. View traces in the DevTools UI at http://localhost:4500.

SDKs

Native SDK adapters for Go, Node.js, Python, Java, Rust, and Ruby with trace propagation and devtools integration. Any language works via HTTP.

Infrastructure as Code

CloudMock works with your existing IaC tools — no code changes needed.

Terraform

# Install the wrapper
go install github.com/Viridian-Inc/cloudmock/tools/cloudmock-terraform@latest

# Use your existing .tf files — they just work
cloudmock-terraform init
cloudmock-terraform plan
cloudmock-terraform apply

Or configure the official AWS provider manually:

provider "aws" {
  endpoints {
    s3       = "http://localhost:4566"
    dynamodb = "http://localhost:4566"
    # ... all services use the same endpoint
  }
  skip_credentials_validation = true
  skip_metadata_api_check     = true
  skip_requesting_account_id  = true
}

CDK

cloudmock-cdk deploy --all
cloudmock-cdk destroy --all

30 CloudFormation resource types fully provisioned (S3, DynamoDB, Lambda, IAM, EC2, SQS, SNS, RDS, ECS, Route53, KMS, and more).

Pulumi

cloudmock-pulumi up
cloudmock-pulumi destroy

Works with the official @pulumi/aws provider. Also ships a native CloudMock Pulumi provider with 44 resource types.

Multi-Account Support

Simulate multiple AWS accounts with per-account resource isolation and cross-account STS AssumeRole:

# cloudmock.yml
accounts:
  - id: "222222222222"
    name: "Development"
  - id: "333333333333"
    name: "Production"

Each account gets isolated service instances. Cross-account sts:AssumeRole returns credentials bound to the target account. Organizations CreateAccount automatically provisions new isolated accounts.

Traffic Recording & Replay

Record real AWS traffic and replay it against CloudMock to prove your mock matches production.

# Record: proxy mode captures real AWS calls
cloudmock record --output prod-traffic.json
# (run your test suite — hits real AWS via proxy, all recorded)

# Replay: send recorded traffic to CloudMock
cloudmock replay --input prod-traffic.json

# Validate: CI-friendly comparison (exit code 0 = all match)
cloudmock validate --input prod-traffic.json

Go SDK interceptor for zero-config recording:

recorder := sdk.NewRecorder()
cfg.HTTPClient = &http.Client{Transport: recorder.Wrap(http.DefaultTransport)}
// Use AWS SDK normally — all calls recorded
recorder.SaveToFile("recording.json")

Contract Testing

Verify CloudMock fidelity against real AWS in real time. The dual-mode proxy sends every request to both endpoints, diffs the responses, and produces a compatibility report.

# Run your test suite through the contract proxy
cloudmock contract \
  --cloudmock http://localhost:4566 \
  --port 4577 \
  --ignore-paths RequestId,ResponseMetadata \
  --run "npm test"

# Outputs contract-report.json with per-service compatibility %
# Exit code 0 = 100% match, 1 = mismatches found

Links