data-mask
a package for data masking
Installation
$ npm install data-mask
Usage
/** * options parameter is optional in the constructor. */const masking show = ; // Cover character; // 176****5678 // 1761234567*; // 176####5678 // Select show character; // 张**; // **丰; // 张##
License
Copyright (c) 2019 Hosea, Licensed under the MIT license.