@moneytree/mask-pii

0.1.0 • Public • Published

mask-pii

JavaScript / Node.js module for masking PII in strings.

Currently only e-mail address and domain name masking are supported. Pull requests to add masking for other PII very welcome.

We maintain 100% test coverage.

Installation

npm install @moneytree/mask-pii --save

Usage

const { string, email, domain } = require('mask-pii');

string('foobar', '#');           // f########r
domain('sub.example.com');       // s********e.com
email('bob.foobar@example.com'); // b********r@e********e.com

License

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.02latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.02

Package Sidebar

Install

npm i @moneytree/mask-pii

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

3.47 kB

Total Files

4

Last publish

Collaborators

  • mt-dfrey
  • ronkorving
  • rory_lin
  • mt-sergio
  • mt-it-admin
  • mt-max