Skip to content

kuliebiakin/antispambotjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antispambot JS

JavaScript implementation of WordPress PHP function. Converts selected email addresses characters to HTML entities to block spam bots. Not all characters in the email address are converted: the selection is random and changes each time the function is called.

Installation

$ npm i --save antispambotjs

Usage

antispambot(emailAddress, hexEncoding);

Example

import antispambot from 'antispambotjs';

let encoded = antispambot('test@test.com');

console.log(encoded); // test@test.com

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published