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

tynk-track

v0.2.5

Published

Instalador guiado-executável da skill Meta CAPI do Zero — um comando instala, configura e automatiza (DNS Cloudflare, sGTM Stape, worker, webhook Kiwify) o tracking Meta do funil

Readme

tynk-track — Meta CAPI do Zero

Skill + runbook + instalador guiado-executável para configurar o tracking Meta (Pixel + Conversions API) num funil: 4 eventos via hub sGTM (Stape) e Purchase exclusivo do Cloudflare Worker (webhook do checkout). Um comando instala, configura e — com os tokens — automatiza DNS, sGTM, deploy e webhook.

Instalação (um comando)

npx tynk-track          # sempre a latest do npm
npx [email protected]    # fixar versão (opcional)
npx tynk-track update   # atualiza skill já instalada (preserva config)

O wizard (8 etapas, interface visual com setas) pergunta idioma, onde instalar, pixel, domínio e credenciais — e executa o que der:

| Etapa | O que acontece | |---|---| | 0 · Credenciais | Coleta e valida tokens (Cloudflare, Stape, Meta CAPI) — inválido cai pro caminho guiado | | 1 · Instalação | Copia a skill pros seus agentes (76 suportados — Claude Code, Codex, Cursor, Hermes, Antigravity...) no projeto ou global | | 2 · Site e Meta | Pixel + domínio; cria a zona na Cloudflare via API (só nameserver é manual fora da CF) | | 3 · Verificação de domínio | 3 métodos no BM (DNS TXT / metatag SSR / arquivo /CODE.html). Com token CF: cola CODE, linha facebook-domain-verification=… ou até a metatag — o wizard normaliza e cria/corrige o TXT canônico (nunca grava HTML no DNS). Sem token: guia + checagem DNS (detecta TXT sujo) | | 4 · sGTM | Stape API: cria container, conecta o domínio, ativa Custom Loader — e o CNAME alimenta a Cloudflare sozinho | | 5 · Worker | Cloudflare API: deploy do worker + secrets + URL — sem wrangler login | | 6 · Webhook | Kiwify: cadastra via API; Lastlink/Hotmart: guia clicável (sem API pública) | | 7 · Snippets | Gera snippet-head.html / snippet-body.html com seus valores — e o modelo "um domínio, vários produtos" (preço/checkout por meta tag da LP) | | 8 · Validação | Prova de fogo no Test Events |

Sem tokens, cada etapa degrada graciosamente pro passo a passo guiado (o runbook completo vai junto na skill).

Alternativa (só os arquivos, ecossistema de skills):

npx skills@latest add grupo-ecom/meta-capi-do-zero -g -y

Conteúdo

skills/tynk-track/      ← a skill (SKILL.md + LEIA-ME + runbook/ + plataformas/ + worker/)
src/                    ← instalador: wizard, i18n, guias, APIs (cloudflare, stape, kiwify, meta-domain)
docs/                   ← pesquisas de API + desenhos arquivados

Desenvolvimento

npm install
npm run test   # worker + doctrine-grep + meta-domain

Licença

MIT — veja LICENSE.