emails-helper 0.0.1-security → 2.0.20230826074920

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of emails-helper might be problematic. Click here for more details.

package/README.md CHANGED
@@ -1,5 +1,17 @@
1
- # Security holding package
1
+ # emails-helper
2
2
 
3
- This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
3
+ A javascript library to validate email address against different formats.
4
4
 
5
- Please refer to www.npmjs.com/advisories?search=emails-helper for more information.
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install emails-helper
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```javascript
14
+ var validator = require("emails-helper");
15
+ validator.validate("test@email.com"); // true
16
+ validator.validate("test@@email.com"); // false
17
+ ```