brandtdefang

1.0.0 • Public • Published

What is this?

When sending the contents of an artifact within an email notification, any web and IP addresses need to be “defanged” to prevent the user from inadvertently clicking a malicious link.

This npm package can automatically defang any IP address.

Installation

npm i brandtdefang --save

Then..

import { brandtdefang }
from 'brandtdefang';

brandtdefang("255.100.50.0")

// Output: "255[.]100[.]50[.]0"

Package Sidebar

Install

npm i brandtdefang

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.6 kB

Total Files

3

Last publish

Collaborators

  • coolnerd