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

n8n-nodes-emag

v0.1.0

Published

n8n community node for tracking eMAG product prices

Readme

n8n-nodes-emag

Community n8n nodes for automating eMAG.ro, Romania's largest online marketplace.

The first node tracks product prices and fires an alert when a price drops.

eMAG Price Tracker node — config and output

Disclaimer — This is an unofficial package not affiliated with eMAG. It works by scraping public product pages, so it can break if eMAG changes their HTML. Intended for personal use (e.g. watching a price before you buy). Respect eMAG's terms of service and don't hammer their servers.

Nodes

| Node | What it does | | --- | --- | | eMAG Price Tracker | Scrapes a product page for price, discount, stock and image; keeps a price history and can flag a price drop. |

More eMAG-related nodes will be added to this package over time.

Installation

From the n8n UI (recommended)

  1. Go to Settings → Community Nodes → Install.
  2. Enter n8n-nodes-emag and confirm.
  3. The eMAG Price Tracker node appears in the node panel.

With npm

npm install n8n-nodes-emag

(For self-hosted n8n, install into your n8n user folder / custom extensions directory.)

Example workflow

workflows/price-alert-example.json — a daily schedule → eMAG Price Tracker → IF (price dropped) → alert placeholder. Import it via Workflows → Import from File and swap the final node for your email/Telegram/Slack node.

Local development

cd D:\upwork\portofolio\n8n\n8n-nodes-emag
npm install
npm run build

Run inside n8n via Docker (mounts the built package as a custom extension):

docker run -it --rm --name n8n -p 5678:5678 `
  -v n8n_data:/home/node/.n8n `
  -v "D:\upwork\portofolio\n8n\n8n-nodes-emag:/home/node/.n8n/custom/n8n-nodes-emag" `
  -e N8N_CUSTOM_EXTENSIONS="/home/node/.n8n/custom/n8n-nodes-emag" `
  docker.n8n.io/n8nio/n8n

Open http://localhost:5678.

Tests

npm test

Unit tests cover the HTML parser (against real eMAG page snapshots plus synthetic discount/out-of-stock fixtures) and the node's stateful logic (price history, 30-entry cap, and the price-drop alert thresholds).

License

MIT © Catalin Barabas