Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anonymize-nlp

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anonymize-nlp - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc