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

@fabcovalesci/n8n-nodes-affiliate-marketplaces

v0.1.6

Published

Crawlers de listas de afiliados (Mercado Livre hoje; extensível para Amazon e outros marketplaces).

Downloads

667

Readme

@fabcovalesci/n8n-nodes-affiliate-marketplaces

Pacote n8n Community Node: crawl de listas do Mercado Livre (grid Nordic em __NORDIC_RENDERING_CTX__) via fetch nativo — Node 18+.

Inclui marketplace Mercado Livre e Amazon (em breve) no painel do nó.

Repositório / pasta de trabalho

Trate esta pasta (onde está este README.md e o package.json do pacote) como raiz do projeto Git que você versiona e publica no npm.

.
├── README.md
├── package.json
├── lib/
│   └── mercadolivreSocialList.js
├── nodes/
│   └── AffiliateMarketplaceList/
│       ├── AffiliateMarketplaceList.node.js
│       └── icon.svg
└── scripts/
    └── smoke-url.js

Instalar dependências

npm install

(Não há runtime deps além do peer n8n-workflow, já resolvido pelo n8n.)

URLs suportadas

| Modo no nó | Exemplo | |------------|---------| | Lista de afiliados | https://www.mercadolivre.com.br/social/NICK/lists/UUID?matt_tool=… | | Catálogo / ofertas | https://www.mercadolivre.com.br/ofertas?category=MLB5672&page=1 | | Hub favoritos (myaccount) | https://myaccount.mercadolivre.com.br/bookmarks/wishlist/hub/detail/UUID → o crawl usa a lista pública www…/social/NICK/lists/UUID |

Hub myaccount não é público (403). Informe o nick da lista social em:

  • campo Nick na lista social no nó, ou
  • …/detail/UUID?nickname=NICK, ou
  • env MERCADOLIVRE_SOCIAL_NICKNAME.

Publicar no npm

npm publish --access public

(publishConfig.access já está public no package.json.)

Instalar no n8n (Community Nodes)

Settings → Community Nodes → Install@fabcovalesci/n8n-nodes-affiliate-marketplaces

Desenvolvimento local (npm link)

Na pasta do pacote:

npm link

No host onde roda o n8n (ajuste o caminho conforme sua instalação):

npm link @fabcovalesci/n8n-nodes-affiliate-marketplaces

Reinicie o n8n. O nó aparece como Affiliate Marketplace List.

Parâmetros do nó

  1. Marketplace — Mercado Livre ou Amazon (em breve).
  2. Mercado Livre · tipo de páginaLista de afiliados ou Catálogo / ofertas (pageSource na saída: affiliate ou catalog).
  3. URL da página — ver tabela acima; fragmento #… é ignorado ao paginar.
  4. Nick na lista social — só para URLs myaccount…/bookmarks/…/detail/….
  5. Máximo de páginas — default 250, teto 500 (?page=N).

Saída JSON

products, itemsCollected, pageSource, listUrl (URL efetiva após resolver hub → social), totalDeclared, campos de paginação, etc.

Teste pela CLI (sem n8n)

npm run test:lib
npm run smoke:url -- "<URL>" [affiliate|catalog] [maxPages] [socialNickname]

Exemplos:

npm run smoke:url -- "https://www.mercadolivre.com.br/ofertas?category=MLB5672&page=1" catalog 1
npm run smoke:url -- "https://myaccount.mercadolivre.com.br/bookmarks/wishlist/hub/detail/UUID?nickname=SEU_NICK" affiliate 5

Licença

MIT