← nopea.tech
ScaneaConsenteaMaskeaBundlesPricing
Secrets & PII

Only scan for the PII types you actually handle

pii({ types }) lets you skip categories that don't apply -- a support bot that never touches payments doesn't need the credit_card regex running on every call.

← All recipes
import { Maskea, pii } from "@nopeatech/maskea";

const maskea = new Maskea().use(
  pii({ mode: "mask", types: ["email", "phone"] })
);

// Skips ssn and credit_card scanning entirely for this pipeline.

Checked against the shipped @nopeatech/maskea API. Full docs at nopea.tech/maskea/docs.

More in Secrets & PII

Block a call outright if it contains a secret →