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

@konfig.ts/sops

v0.0.10

Published

sops integration for konfig.ts — Sops.source reads encrypted files at render time; Sops.backend emits SopsSecret CRs.

Readme

@konfig.ts/sops

SOPS secret backend for konfig.ts. Keep encrypted secrets in git and turn them into cluster secrets at render time — either by re-encrypting to your cluster's recipients, or by emitting an already-encrypted SopsSecret for the in-cluster sops-secrets-operator to reconcile.

Install

bun add @konfig.ts/sops

Needs the sops CLI on the machine that runs konfig build. KMS / age credentials come from each file's own sops: metadata block.

Usage

Bind a secret contract (Secret.define, from @konfig.ts/env) to a Sops backend. Sops offers three modes — pick by how you want plaintext to flow.

import { Secret } from "@konfig.ts/k8s"
import { Sops } from "@konfig.ts/sops"

// dbCreds = Secret.define({ name, namespace, env: { url, password } })

// passthrough — emit an already-encrypted SopsSecret verbatim (offline, no decrypt)
Secret.bind({
  secret: dbCreds,
  backend: Sops.passthrough({ file: "infra/secrets/SopsSecret-db-creds.yaml" })
})

// backend — re-encrypt the resolved values to the operator's recipients
Secret.bind({
  secret: dbCreds,
  backend: Sops.backend({ recipients: { age: ["age1..."] } }),
  source: Sops.source({ file: "infra/secrets/db-creds.enc.yaml", keys: ["url", "password"] })
})

Secret.bind(...) returns a handle whose .manifest is the emitted CR. For a whole env bundle, plug the same backend into Environment.bind({ env, namespace, secrets: { db: { backend, source? } } }).

Modes

| Mode | Signature | Source | Emits | | ------------------ | ---------------------------- | ------ | ----------------------------------------------------------------------- | | Sops.passthrough | ({ file }) | no | the encrypted file's SopsSecret, restamped to the bound namespace | | Sops.backend | ({ recipients, type? }) | yes | a SopsSecret re-encrypted to recipients | | Sops.source | ({ file, keys, extract? }) | — | a SecretSource that decrypts a file once and yields Redacted values |

recipients accepts age / kms / gcpKms / azureKv / pgp arrays. Sops.source composes with any backend (e.g. decrypt with SOPS, seal with SealedSecrets.backend). Every emitted value is checked for the ENC[...] marker first — konfig fails closed rather than emit plaintext dressed as a secret.

Internals

Backends implement the SecretBackend<N, K, RequiresSource> contract from @konfig.ts/k8s; requiresSource: true makes source a compile-time requirement. See the Environment section of .docs/architecture.md.

Requirements

konfig.ts is built on Effect, currently in beta. Until Effect ships a stable 4.x, install the exact beta konfig.ts is built against:

  • [email protected] — required by every package.
  • @effect/[email protected] — required only when you call render() (the Node filesystem/subprocess entrypoint); manifest-only consumers can omit it (it is declared as an optional peer).

The pin is exact on purpose: Effect's beta line makes breaking changes between builds, so a looser range surfaces as ERESOLVE install conflicts. It relaxes to a caret range once Effect reaches a stable 4.x.