Skip to content
PluginStats

flare-redact weekly downloads statistics

By flare-collection · npm · AI SDKs

Keep secrets and PII out of logs, Sentry, LLM prompts and commits. Reads values, not field names. Zero dependencies.

View on npm Fresh · Dec 6, 2026

flare-redact has 11,895 recorded weekly downloads on npm, an increase of 416% over the past 30 days, ranking #1209 of 3,247 tracked listings.

Weekly downloads
11,895
Official API · Dec 5, 2026
7-day growth
+0.1%
+11 weekly downloads
30-day growth
+416%
+9.6K weekly downloads
90-day growth
+263%
+8.6K weekly downloads
Rank
#1209
▼ 28 in 7 days

About flare-redact

<p align="center"> <img src="https://raw.githubusercontent.com/flare-collection/flare-redact/main/assets/flare-redact.svg" alt="flare-redact" width="160"> </p> <h1 align="center">flare-redact</h1> <p align="center"> <b>Keep secrets and personal data out of your logs, Sentry, LLM prompts and commits.</b><br> It reads the values, not the field names. Zero dependencies. </p> <p align="center"> <a href="https://www.npmjs.com/package/flare-redact"><img src="https://img.shields.io/npm/v/flare-redact?label=npm" alt="npm version"></a> <a href="https://github.com/flare-collection/flare-redact/actions/workflows/ci.yml"><img src="https://github.com/flare-collection/flare-redact/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI"></a> <a href="https://github.com/flare-collection/flare-redact/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License"></a> <img src="https://img.shields.io/npm/types/flare-redact.svg" alt="TypeScript"> <img src="https://img.shields.io/badge/dependencies-0-brightgreen" alt="Zero dependencies"> <img src="https://img.shields.io/badge/detectors-155-4f46e5" alt="155 detectors"> <img src="https://img.shields.io/badge/languages-24-4f46e5" alt="24 languages"> </p> <p align="center"> <a href="https://flare-collection.github.io/flare-redact/">Playground</a> · <a href="https://github.com/flare-collection/flare-redact/blob/main/docs/guide.md">Guide</a> · <a href="https://github.com/flare-collection/flare-redact/blob/main/docs/guide.md#api">API</a> · <a href="https://flare-collection.github.io/flare-redact/guides/">Recipes</a> · <a href="https://flare-collection.github.io/flare-redact/llms-full.txt">Docs for AI assistants</a> </p> <p align="center"> <img src="https://raw.githubusercontent.com/flare-collection/flare-redact/main/assets/demo.svg" alt="Before and after: secrets and PII masked in a log line, across languages" width="820"> </p>

Someone logs an object, a session token was inside it, and now that token sits in your log aggregator, your error tracker and an LLM provider's servers. Redaction by field name only hides the fields you remembered to list. flare-redact looks at the values themselves, so the AWS key pasted into a note field and the card number inside a stack trace are masked too.

import { redact } from 'flare-redact';

redact('User alice@corp.com paid with 4242 4242 4242 4242, token ghp_' + 'a'.repeat(36));
// → 'User a***@*** paid with **** **** **** 4242, token ghp_***'

redact({ user: 'bob@corp.com', password: 'hunter2', note: 'my key is AKIAIOSFODNN7EXAMPLE' });
// → { user: 'b***@***', password: '***', note: 'my key is AKIA***' }

Highlights

  • 🔍 Reads content, not field names. 155 detectors for API keys, tokens, JWTs, private keys, cards, IBANs, emails and national IDs, checksum-validated wherever a checksum exists.
  • ⚡ No code change needed. node --import flare-redact/register app.js redacts everything console prints: log, warn, error, trace, table, dir and the rest.
  • 🤖 Private LLM calls. Wrap the OpenAI or Anthropic client, or add one middleware to the Vercel AI SDK for every provider: the model sees placeholders, your app gets the real values back, streaming included.
  • 🔌 Fits what you already run. pino, winston, Sentry, Express, fetch, streams, and any SDK through one middleware.
  • 🚫 Stops leaks before the commit. A pre-commit hook that scans only the lines you add, and a CI scan with SARIF output.
  • 🌍 International by default: 24 languages of secret vocabulary and national ID formats.
  • 🧭 Keeps your path rules. The paths syntax of fast-redact and pino (items[*].card, headers["x-api-key"], plus **.email) and remove, with value detection on top. Switching guide.
  • 🪶 Zero dependencies. Node 20+, browsers, edge runtimes, Bun and Deno; import or require, and a 34 KB gzipped flare-redact/lite for the browser.
  • 🐍 Python, Go, Rust, Java and .NET engines that run the same detector spec and pass the same conformance suite.
<p align="center"> 🇬🇧 🇨🇳 🇮🇳 🇪🇸 🇸🇦 🇫🇷 🇵🇹 🇷🇺 🇯🇵 🇩🇪 🇰🇷 🇹🇷 🇮🇹 🇮🇷 🇵🇱 🇺🇦 🇳🇱 🇻🇳 🇮🇩 🇹🇭 🇬🇷 🇮🇱 🇦🇿 🇷🇴 </p>

Quick start

npm install flare-redact

Then pick the way that suits you:

# No code change: everything console prints is redacted
node --import flare-redact/register app.js

# Let it read your package.json and print the lines to paste
npx flare-redact init          # openai, @anthropic-ai/sdk, ai, Sentry, pino, winston, express
npx flare-redact init --hook   # also stop any commit that adds a secret
npx flare-redact init --ci     # also scan every pull request
<p align="center"> <img src="https://raw.githubusercontent.com/flare-collection/flare-redact/main/assets/demo.gif" alt="node app.js prints an email, a password, a GitHub token, a database password and a card number; the same app started with --import flare-redact/register prints them masked" width="760"> </p>

Want more than the defaults? Choose a goal instead of a detector list: { preset: 'logs' }, 'llm', 'gdpr' or 'strict' (what each adds).

Where it plugs in

Logs

ORM query logs too: Prisma, Drizzle, TypeORM, Knex and Sequelize hooks from flare-redact/db mask bound parameters by the column they go into, so the password in ["ada@example.com", "hunter2"] is caught (details).

import pino from 'pino';
import { pinoRedact } from 'flare-redact/pino';

const log = pino(pinoRedact());
log.info({ user: 'bob@corp.com', token: 'ghp_…' }, 'login');
// {"user":"b***@***","token":"***","msg":"login", …}
```…

Description from the npm listing.

  • redact
  • redaction
  • redactor
  • secrets
  • secret
  • secret-detection
  • secret-scanning
  • pii
  • pii-redaction
  • mask
  • masking
  • data-masking
  • sanitize
  • sanitization
  • scrub
  • anonymize
  • pseudonymize
  • obfuscate
  • censor
  • log

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

flare-redact weekly downloads on npm, last 90 days: 11,895 weekly downloads as of Dec 5, 2026, +263% over 90 days.flare-redactWeekly downloads on npm · Last 90 days11,895downloads / week+263% over 90 days05K10K15K20K25KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
flare-redact weekly downloads on npm, last 90 days: 11,895 weekly downloads as of Dec 5, 2026, +263% over 90 days.

7/30/90-day growth

flare-redact weekly downloads growth on npm: +0.1% over 7 days, +416% over 30 days, +263% over 90 days.flare-redactWeekly downloads growth on npm11,895downloads / week now7-day growth+11 weekly downloads+0.1%30-day growth+9,591 weekly downloads+416%90-day growth+8,620 weekly downloads+263%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
flare-redact weekly downloads growth on npm: +0.1% over 7 days, +416% over 30 days, +263% over 90 days.

Ranking history

flare-redact npm ranking history: currently #1209 (by weekly downloads).flare-redactnpm ranking · by weekly downloads · Last 90 days#1209current rank#950#1000#1050#1100#1150#1200#1250Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankNov 19, 2026 – Dec 6, 2026 · 18 observations · Updated Dec 5, 2026pluginstats.com
flare-redact npm ranking history: currently #1209 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 61, #9 (overall #1,209)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 5, #4 (overall #84)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (135)
Recent weekly downloads observations for flare-redact
Date (UTC)Weekly downloadsChange vs. previous
11,895-1.1K
12,947+1.5K
11,418-496
11,914-109
12,023+561
11,462-781
12,243+359
11,884+527
11,357+262
11,095+616
10,479-2.3K
12,819-2.8K
15,613-994
16,607—

Similar npm AI SDKs plugins

All 20 flare-redact alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/flare-redact. First seen Nov 19, 2026; last successful collection Dec 6, 2026. See the methodology.