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

dcl-ops-lib

v9.13.0

Published

Used to compile pulumi projects

Readme

dcl-ops-lib

Used to compile pulumi projects

Sidecars, environment variables and SSM parameters

createFargateTask accepts ssmParameters for the primary container, and each entry of additionalContainers accepts environmentVariables and ssmParameters, both as { ENV_VAR_NAME: value } maps:

  • environmentVariables values are written as plain environment variables.
  • ssmParameters values are SSM parameters exposed as secrets: a name (with or without a leading /), a full parameter ARN, or a pulumi.Output such as the .name of an aws.ssm.Parameter created in the same stack. A plain string name is looked up at preview (a typo fails early); an Output is not looked up, so a parameter created in the same stack works on its first deploy.

They are appended to the container's environment / secrets arrays, which keep working as before. A variable name may be defined only once per container.

The execution role is granted read access to every secret of every container (secrets and ssmParameters, primary and sidecars) through one inline policy: ssm:GetParameters on SSM parameters and secretsmanager:GetSecretValue on Secrets Manager secrets. No policy is created when there are no secrets.

  • Customer-managed KMS keys are not covered: a value encrypted with one also needs kms:Decrypt on that key, granted through executionRolePolicies.
  • Names are turned into ARNs for the account and region of the default AWS provider (ssmParameterArn(name) does the same). For a parameter elsewhere, pass its full ARN.
  • Only createFargateTask supports the maps. createInternalService rejects them, since it can't grant the execution role access to the secrets.
import * as aws from "@pulumi/aws"
import { createFargateTask } from "dcl-ops-lib/createFargateTask"

// Created by the stack; its value is set out of band (console / CLI), so
// Pulumi never overwrites it.
const collectorToken = new aws.ssm.Parameter(
  "collector-token",
  { name: "/my-service/collector-token", type: "SecureString", value: "set-me" },
  { ignoreChanges: ["value"] }
)

await createFargateTask(
  "my-service",
  image,
  5000,
  [{ name: "LOG_LEVEL", value: "info" }],
  "my-service.decentraland.zone",
  {
    team: "platform",
    ssmParameters: { DATABASE_URL: "/my-service/database-url" },
    taskCpuReservation: 512,
    taskMemoryReservation: 1024,
    additionalContainers: [
      {
        name: "otel-collector",
        image: "otel/opentelemetry-collector-contrib:latest",
        cpu: 256,
        memory: 512,
        essential: false,
        environmentVariables: { CLICKHOUSE_HOST: "clickhouse.internal" },
        ssmParameters: {
          CLICKHOUSE_PASSWORD: "/my-service/clickhouse-password",
          COLLECTOR_TOKEN: collectorToken.name,
        },
      },
    ],
  }
)

Releases

Published to npm as dcl-ops-lib by GitHub Actions (.github/workflows/release.yml) via semantic-release, using npm OIDC trusted publishing:

  • push to master → stable release on the latest dist-tag
  • push to next → prerelease on the next dist-tag

License

Published under Apache-2.0