A flexible way to mask sensitive data
Install
$ npm install --save iron-mask
Usage
const ironMask = const mask = ironMask const bankAccount = password: '123456789' creditCard: password: '987654321' cvv: '123' name: 'Vitor Abner' const maskedBankAccount = // Output://// maskedBankAccount = {// password: '*',// creditCard: {// password: '*',// cvv: 1**// },// name: 'Batman'// }
License
MIT © Vitor Abner