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

@modootoday/envs-wrangler

v0.5.2

Published

Mirrors the wrangler command surface, projects envs-config declarations into wrangler.toml, and puts a worker its secrets.

Readme

@modootoday/envs-wrangler

Mirrors the wrangler command surface and projects the values @modootoday/envs and @modootoday/envs-config manage, instead of asking for them at a prompt.

The mirror is pass-through

Measured against wrangler 4.90.1: 45 top-level namespaces, 392 commands including subcommands. Writing those out would be a copy, and a copy is stale the day wrangler releases. So anything this package does not intercept is forwarded verbatim — argv, stdio, exit code. A wrangler command added tomorrow works here tomorrow, with no release of this package.

Every command gets the values

Whatever you run, the declaration is resolved and its values are in the child's environment. envs-wrangler pages deploy and envs-wrangler secret put are the same shape, which is the point of putting a different name in front of wrangler at all.

Values reach wrangler through the child environment, never through argv, so they do not land in a process listing or a shell history.

What is intercepted

Interception is a smaller question: which commands must not run at all when the declaration resolved nothing.

secret            put | bulk | delete | list
pages secret      put | bulk | delete | list
versions secret   put | bulk | delete | list
secrets-store     create | update | duplicate | get | delete | list
deploy · dev · types

These never prompt. If nothing resolved they fail and send nothing, because a prompt turns a projection into manual entry that nothing downstream can detect.

Everything else forwards even with nothing resolved. pages deploy is the reason the two are separate: it wants the account credential in its environment, not a secret put into a deployed artifact, and a project that authenticates from its ambient environment must still be able to deploy.

Two entry points

@modootoday/envs-wrangler writes files and talks to nobody. It contains no fetch(, no CLOUDFLARE_API_TOKEN and no Authorization — asserted by a test over the source, so it holds rather than being claimed here.

@modootoday/envs-wrangler/api is the half that reaches a live Cloudflare account. Importing it is the decision to need credentials.

Design

plan/20260908062202-envs-config-package-design.md in tools.datalab.