emails-helper 0.0.1-security → 2.0.20230826074920

Sign up to get free protection for your applications and to get access to all the features.

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
+ ```