Skip to content

Commit 6256954

Browse files
committed
docs: update list of PII parsers
1 parent 72f2f47 commit 6256954

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Use `.redact()` to replace matched entity spans with a mask character:
161161
```ts
162162
import { Duckling, PIIParsers } from "@claudiu-ceia/ts-duckling";
163163

164-
// Redact all PII (email, phone, IP, SSN, credit card, UUID, API key)
164+
// Redact all PII (email, phone, IP, SSN, credit card, UUID, API key, IBAN, MAC, JWT)
165165
Duckling(PIIParsers).redact(
166166
"Patient email: john.doe@clinic.org, SSN 078-05-1120, phone +14155552671",
167167
);
@@ -517,6 +517,9 @@ const PIIParsers: [
517517
CreditCardParser,
518518
UUIDParser,
519519
ApiKeyParser,
520+
IBANParser,
521+
MACAddressParser,
522+
JWTParser,
520523
];
521524
```
522525

@@ -565,8 +568,8 @@ Union of all 18 built-in entity types. This is the return element type of
565568

566569
### `PIIEntity`
567570

568-
Union of the 7 PII entity types:
569-
`EmailEntity | PhoneEntity | IPAddressEntity | SSNEntity | CreditCardEntity | UUIDEntity | ApiKeyEntity`.
571+
Union of the 10 PII entity types:
572+
`EmailEntity | PhoneEntity | IPAddressEntity | SSNEntity | CreditCardEntity | UUIDEntity | ApiKeyEntity | IBANEntity | MACAddressEntity | JWTEntity`.
570573

571574
## Caveats
572575

0 commit comments

Comments
 (0)