Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emails in String ✉️

Build Status

Extract unique email addresses out of just about any string!

How to use

import emailsInString from "emails-in-string";

const uniqueEmails = emailsInString(`user@domain.com,
  "User at Domain" <user@domain.com>, user2@domain.com,
  user+something@domain.com`);
// ["user@domain.com", "user2@domain.com", "user+something@domain.com" ]

Enjoy!

Tests

A suite of tests can be found in the ./tests directory and can be executed by running npm run test.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages