anonymize-nlp
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "anonymize-nlp", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"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", |
@@ -23,5 +23,5 @@ # AnonymizeNLP | ||
```javascript | ||
import { AnonymizeNlp, AnonymizeType } from 'anonymizenlp'; | ||
import { AnonymizeNlp } from 'anonymizenlp'; | ||
const anonymizer = new AnonymizeNlp([AnonymizeType.EMAIL, AnonymizeType.PHONE_NUMBER]); | ||
const anonymizer = new AnonymizeNlp(['email', 'phonenumber']); | ||
const anonymizedText = anonymizer.anonymize('My email is john@example.com and my phone number is +1-234-567-8900.'); | ||
@@ -37,3 +37,3 @@ | ||
## AnonymizeNlp API | ||
## API | ||
@@ -82,3 +82,3 @@ ### Create a new AnonymizeNlp instance. | ||
# Contributing | ||
## Contributing | ||
@@ -96,3 +96,3 @@ Contributions to this project are welcome! If you would like to contribute, please follow these steps: | ||
# License | ||
## License | ||
@@ -99,0 +99,0 @@ This project is licensed under the MIT License. See the LICENSE file for the full license text. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48162