Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this lib without node? #157

Closed
prashant-saxena opened this issue Jul 25, 2017 · 1 comment
Closed

How to use this lib without node? #157

prashant-saxena opened this issue Jul 25, 2017 · 1 comment
Assignees

Comments

@prashant-saxena
Copy link

Hi,
I am using isemail.php on server side. Luckily I have found this counter part for java script but unfortunately this is for Node. I would like to use this lib on my website as I use other java scripts. I haven't seen the code yet and would like to know how to go for conversion? Is it going to be difficult or is it possible?

Cheers
Prashant

@skeggse
Copy link
Owner

skeggse commented Jul 25, 2017

isemail doesn't have anything particularly unusual - for full compatibility you may need to polyfill some things like Array#fill. You'd need to either use a module loader for punycode or just embed it.

We don't explicitly support targetting the browser for this module, so I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants