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

container-superposition

v0.1.10

Published

Solution-ready devcontainer templates and features with guided initialization

Readme

container-superposition

Validate Overlays Build DevContainers npm version

Composable devcontainer scaffolds that collapse into normal, editable configs.

Development Policy

This project follows spec-first development. Every feature MUST start with a reviewed spec committed under docs/specs/ before implementation code is written.

Quickstart

# Guided questionnaire — always writes superposition.yml
npx container-superposition init

# Declarative project config committed in the repo
cat > .superposition.yml <<'YAML'
stack: compose
language:
  - nodejs
database:
  - postgres
env:
  APP_ENV: development
mounts:
  - "./local-tools:/workspace/tools"
customizations:
  envTemplate:
    POSTGRES_PASSWORD: postgres
YAML
npx container-superposition init --no-interactive

# Regenerate from the repository project file (superposition.yml is required)
npx container-superposition regen

# Or select the project file explicitly
npx container-superposition regen --from-project

# Non-interactive example
npx container-superposition init --stack compose --language nodejs --database postgres

# Write only superposition.yml without generating .devcontainer/
npx container-superposition init --stack compose --language nodejs --no-scaffold

# Preview before writing files
npx container-superposition plan --stack compose --overlays nodejs,postgres,grafana

# Explain why dependencies were included
npx container-superposition plan --stack compose --overlays grafana --verbose

# Migrate a manifest-only repo to the project-file model
npx container-superposition migrate

What It Does

  • Base templates: plain (single image) and compose (multi-service).
  • Overlays: add languages, databases, observability, cloud tools, dev tools.
  • Composition: merges overlays into a standard .devcontainer/ you can edit freely.
  • Project config: superposition.yml (or .superposition.yml) is the canonical input for all generation and regeneration flows. Commit it to your repo for reproducible team and CI builds.
    • init always writes superposition.yml as its primary output
    • regen reads only the project file — superposition.json is an output-only receipt
    • Repos without a project file should run cs migrate once to create one from their manifest
    • doctor compares the project file against the last-generated manifest and reports drift

Core Commands

  • init — run the interactive questionnaire; always writes superposition.yml and (by default) scaffolds .devcontainer/
    • Add --no-scaffold to write only the project file without generating .devcontainer/
    • Add --project-root <path> to resolve persisted input from a different repository root
  • regen — deterministically replay the repository project file (superposition.yml required)
    • Add --project-root <path> to resolve persisted input from a different repository root
  • migrate — one-time migration: creates superposition.yml from an existing superposition.json
    • Required for repos that ran init before this project-file-first model was introduced
  • adopt — migrate an existing .devcontainer/ to the overlay-based workflow
  • list — browse overlays
  • explain — overlay details
  • plan — preview output
    • Add --verbose to narrate dependency resolution and inclusion reasons
    • Add --from-manifest <path> to preview an existing manifest with the same explanation model
  • hash — deterministic environment fingerprint
  • doctor — validate environment and detect project-file drift

Documentation

Start here:

Examples

Contributing

See CONTRIBUTING.md

License

MIT. See LICENSE