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-miravig

v0.1.11

Published

Detects and masks sensitive data in your n8n workflows before an LLM call, then restores it after.

Readme

n8n-nodes-miravig

Detect and mask sensitive data in your n8n workflows before text is sent to an LLM — then restore your own business terms in the response.

Miravig is a community node for n8n. It runs entirely on your n8n instance: the text you analyze is never sent to Miravig. It uses the same detection engine as the Miravig browser extension and web app.

  • Detection is free and unlimited.
  • Automatic masking and the business glossary require an active Miravig subscription (one license key, shared with the extension and web app).

Full documentation · Pricing · Miravig

Installation

Self-hosted n8n: Settings → Community Nodes → Install, then enter n8n-nodes-miravig. See the n8n community nodes guide.

Operations

One node, one Operation parameter:

| Operation | Where | What it does | |---|---|---| | Mask | Before your LLM node | Detects sensitive data; masks it if Automatic Masking is on (licensed). | | Unmask | After your LLM node | Restores the original values of your business-glossary terms in the model's answer. |

Typical chain:

Trigger → Miravig (Mask) → LLM node → Miravig (Unmask) → rest of workflow

The node can also be used as a tool by an AI Agent.

What it detects

Emails, IBANs, bank cards, phone numbers, API keys and secrets, and national identification numbers. For 24 countries the official checksum is verified (France, Spain, Portugal, Germany, Italy, Switzerland, Australia, Canada, Belgium, Austria, Norway, Finland, Netherlands, Poland, Czechia, Slovakia, Croatia, Ireland, Iceland, Romania, Bulgaria, Slovenia, Lithuania, Estonia). Denmark, Latvia and the United States (SSN) have no reliable public checksum, so they are detected by format and context only. Your own {{ $json.field }} expressions are never touched.

Native categories are replaced by one-way tokens such as [EMAIL_HIDDEN].

Business glossary

Add your own sensitive terms (project names, clients, internal codes). They are replaced by numbered tokens ([TERM_G1]…) that Unmask restores. Paste the same glossary JSON in the Mask and the Unmask nodes:

[
  { "term": "ProjectPhoenix", "id": 1, "groups": ["General"] },
  { "term": "LegacyClient" }
]

If the two glossaries differ, Unmask warns you in its output instead of failing silently.

LLM nodes and the miravig field. Some nodes (e.g. Basic LLM Chain) rebuild their output and drop the miravig field used for the glossary consistency check. Unmask still restores your terms and tells you the check was skipped. To keep the check, add an Edit Fields node after the LLM with Include Other Fields on, and set miravig to {{ $('Miravig (Mask)').item.json.miravig }}.

Behavior on detection

  • Pass Through and Annotate (default) — workflow continues, detections listed in the output.
  • Stop Workflow — stops if sensitive data is found.
  • Route flagged items to a second output — optional.

License

Create a Miravig License credential and paste your license key (received by email after subscribing). Your key covers up to 3 activations, shared across devices and n8n instances. The credential test checks the key against the Miravig license service.

Only the license key is checked online (about once every 15 minutes, cached). If the service is unreachable, the node uses your last verified status; with no cached status, you choose whether to stop or continue without the licensed features (On License Check Failure).

Compatibility

Tested on n8n 2.x, self-hosted.

Support

Questions or bugs: [email protected] or open an issue on GitHub.

License

MIT