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

@sargonpiraev/pulumi-apps

v1.10.0

Published

Pulumi ComponentResources per Turborepo app type (webapp / extapp / mobapp) plus resource-triggered finops / npm ETL helpers

Readme

@sargonpiraev/pulumi-apps

Pulumi ComponentResources for Turborepo app types + resource-triggered warehouse ETL helpers.

One package, multiple modules — not one npm package per app type.

Exports

| Export | Type token | Role | | ----------------- | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Webapp | sargonpiraev:apps:Webapp | Infra cluster for apps/webapp: Vercel project + GSC property + GSC BQ dataset + GA4 property + GA4 BigQuery link + report_perf_by_page_type VIEWs + GA4 VIEW sessions in analytics_{propertyId}. pageTypes + productId in stack code. | | Extapp | sargonpiraev:apps:Extapp | CWS item id/slug in code + optional BQ dataset cws. Store metrics are meta chrome-vm Developer Dashboard scrape (not a public listing CF). Empty id fails with Developer Dashboard URL. API cannot create items. | | Mobapp | sargonpiraev:apps:Mobapp | ASC → BQ product_appstore + Gen1 CF + Scheduler (Play later) | | NpmDownloadsEtl | sargonpiraev:apps:NpmDownloadsEtl | npm downloads → product_npm | | VercelFinopsEtl | sargonpiraev:apps:VercelFinopsEtl | Vercel FOCUS → finops | | NeonFinopsEtl | sargonpiraev:apps:NeonFinopsEtl | Neon consumption → finops |

Also: repoHasWebapp / repoHasExtapp / repoHasMobapp / repoHasApp, and the *_TYPE constants for test:pulumi.

Subpath imports: @sargonpiraev/pulumi-apps/webapp, /webapp/env, /extapp, /extapp/env, /mobapp, /mobapp/env, /finops.

Install

npm install @sargonpiraev/pulumi-apps

Project usage

import {
  Webapp,
  WEBAPP_TYPE,
  Extapp,
  EXTAPP_TYPE,
  Mobapp,
  MOBAPP_TYPE,
  pageTypesFromOrigin,
} from '@sargonpiraev/pulumi-apps'
import { parseWebappEnv } from '@sargonpiraev/pulumi-apps/webapp/env'
import { parseExtappEnv } from '@sargonpiraev/pulumi-apps/extapp/env'
import * as pulumi from '@pulumi/pulumi'

loadWorkspaceEnv(pulumiDir)
const webappEnv = parseWebappEnv()
const extappEnv = parseExtappEnv()

new Webapp('webapp', {
  gscServiceAccountKeyB64: webappEnv.GOOGLE_SERVICE_ACCOUNT_KEY,
  gcpServiceAccountKeyB64: webappEnv.GCP_SERVICE_ACCOUNT_KEY,
  vercel: { apiToken: webappEnv.VERCEL_API_TOKEN, name: '…', gitRepository: '…' },
  productId: 'anidex',
  pageTypes: pageTypesFromOrigin({
    origin: 'https://anidex.tv',
    localePrefix: 'always',
    paths: [{ id: 'home', pathname: '/?' }],
  }),
  // …
})

new Extapp('extapp', {
  gcpProjectId: 'sargonpiraev',
  location: 'EU',
  datasetId: 'cws',
  cwsItemId: '…', // from Developer Dashboard — not env; empty throws
  cwsItemSlug: 'modreq',
  productLabel: 'modreq',
  gcpServiceAccountKeyB64: extappEnv.GCP_SERVICE_ACCOUNT_KEY,
})

void WEBAPP_TYPE
void EXTAPP_TYPE
void MOBAPP_TYPE

CF source archives stay in the consuming stack (meta pulumi/dwhapp/functions/<name>). Components wire SA/IAM/BQ/CF/Scheduler; they do not ship function source.

Wired vs stub

| Component | Status | | ----------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | | Webapp | Fully wired — successor of @sargonpiraev/pulumi-webapp-analytics | | Extapp | Wired — item id + optional dataset; metrics scrape is meta chrome-vm | | Mobapp | Wired — dataset + core tables + secrets IAM + CF + Scheduler | | NpmDownloadsEtl | Wired — dataset + table + CF + Scheduler; optional childAliases for meta wrap | | VercelFinopsEtl / NeonFinopsEtl | Wired — tables + secrets IAM + CF + Scheduler (finops dataset must already exist); optional childAliases for meta wrap |

Migration notes

From WebappAnalytics / ExtappAnalytics / MobappAnalytics

Class names and type tokens are short app-type names:

| Old | New | New type token | | ----------------- | -------- | -------------------------- | | WebappAnalytics | Webapp | sargonpiraev:apps:Webapp | | ExtappAnalytics | Extapp | sargonpiraev:apps:Extapp | | MobappAnalytics | Mobapp | sargonpiraev:apps:Mobapp |

Type constants: WEBAPP_TYPE / EXTAPP_TYPE / MOBAPP_TYPE (was *_ANALYTICS_TYPE).

Parent ComponentResources declare aliases to the previous type tokens so existing stacks (anidex / site / pddx) do not replace/create the parent URN. Child resources stay on existing childAliases patterns.

From @sargonpiraev/pulumi-webapp-analytics

Prefer this package:

// before
import { WebappAnalytics, WEBAPP_ANALYTICS_TYPE } from '@sargonpiraev/pulumi-webapp-analytics'
// after
import { Webapp, WEBAPP_TYPE } from '@sargonpiraev/pulumi-apps'

Home

https://github.com/sargonpiraev/shared/tree/main/packages/pulumi-apps

Release

Published from sargonpiraev/shared via Trusted Publishing (repo-on-push-main.yml).