Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-manual-data-masking

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-manual-data-masking

A vue2 component for manual data masking

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

vue-manual-data-masking

Vue2 version of easy-data-masking.

Features

1. Configurable categories of sensitive data like swear word, person name, home address...

  1. Providing input for entering categories of sensitive data like swear word, person name, home address...
  2. Showing sensitive data been masked when mouse hover.
  3. Replacing sensitive data by using characters "●" and "*".

Demo

Try!

Installation

npm install --save vue-manual-data-masking

How to use

import dataMasking from "vue-manual-data-masking";
<data-masking v-model="dataMasked" :text="text" @afterMasking="afterMasking" />

Options

PropertyDescriptionTypeRequiredDefault
v-model(1)sensitive data been masked
e.g.
[{ content: "080080080", category: "phone number", start: 0, end: 5 }]
Arrayno[]
texttextStringyes
maskingTextColorcolor of masking textStringno"#35495e"
maskingBgColorcolor of masking backgroundStringno"#41b883"
maxHeightmax height of data masking containerNumber or Nullnonull

Events

afterMasking event will be emitted when new sensitive data been masked. textAfterMasking can be used inside of the callback function registered in advance.

Build Setup

# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build

Keywords

FAQs

Package last updated on 27 May 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc