📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

is-email-list

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-email-list

Validates string as email list

1.0.2
latest
Source
npm
Version published
Weekly downloads
13
-23.53%
Maintainers
1
Weekly downloads
 
Created
Source

is-email-list

Validates strings as email lists. Emails should be separated by comma or semicolon (mix enabled). Uses validator package internally.

Example of usage:

import {isEmailList} from 'is-email-list'

isEmailList('a@a.com, b@b.com, aaa') // false
isEmailList('a@a.com, b@b.com') // true

If you have any idea, how to improve this package, please raise an issue. Happy coding :)

Keywords

email list

FAQs

Package last updated on 13 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts