antispambotjs

0.0.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    0

Package Sidebar

Install

npm i antispambotjs

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • kuliebiakin