@am.hofney/data-masker
v1.0.2
Published
- An npm package for masking sensitive data, built for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format (CJS). It can be used in Node.js and browser applications. - Utilizing DataMasting for sensitive information within
Downloads
5
Maintainers
Readme
DataMasker
- An npm package for masking sensitive data, built for both the ECMAScript Module format (i.e. ESM or ES Module) and CommonJS Module format (CJS). It can be used in Node.js and browser applications.
- Utilizing DataMasting for sensitive information within app.
Installation
npm i @am.hofney/data-masker
Usage
const maskingConfig: MaskConfigInput = {
data: string;
keys: string[];
values?: string[];
mask?: string;
};
const maskedData = new DataMasker(maskingConfig).run();
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.