Socket
Socket
Sign inDemoInstall

@moneytree/mask-pii

Package Overview
Dependencies
0
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @moneytree/mask-pii

Mask PII in strings


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
3
Install size
3.39 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 08 Jan 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc