Skip to content

piilite 0.2.0

Choose a tag to compare

@aman5062 aman5062 released this 27 Oct 07:27
· 11 commits to main since this release

First npm release of piilite: India-first PII detection and masking for JavaScript.

  • Aadhaar (Verhoeff), PAN, GSTIN (mod-36), UPI, +91 phones, bank accounts, IFSC, voter ID, passport, DL, vehicle numbers, ABHA, UAN, ESIC, OTPs
  • Indian names and addresses: Hinglish, 10 Indian languages, titles, S/O and W/O, PIN codes
  • Presets: DPDP Act 2023, KYC, fintech, PCI, healthcare, HR, secrets, GDPR, HIPAA
  • LLM helpers: fuzzy restore(), streaming redaction, redactObject()
  • Express middleware, React hooks, CommonJS build, TypeScript types
  • Optional piilite/openredaction bridge: 110 global ID types and document processors

Held-out benchmark: 84.3% recall, 99.7% precision (OpenRedaction 1.1.5: 45.7%, 76.7%).

npm install piilite