anonymize-nlp
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "anonymize-nlp", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Anonymize-NLP is a lightweight and robust package for text anonymization. It uses Natural Language Processing (NLP) and Regular Expressions (Regex) to identify and mask sensitive information in a string.,", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -25,3 +25,3 @@ # AnonymizeNLP | ||
const anonymizer = new AnonymizeNlp(['email', 'phonenumber']); | ||
const anonymizer = new AnonymizeNlp(); | ||
const anonymizedText = anonymizer.anonymize('My email is john@example.com and my phone number is +1-234-567-8900.'); | ||
@@ -28,0 +28,0 @@ |
48973