@debitoor/secure-log-data

secure sensitive user data from loging

Stats

StarsIssuesVersionUpdatedCreatedSize
@debitoor/secure-log-data
021.2.27 days ago5 years agoMinified + gzip package size for @debitoor/secure-log-data in KB

Readme

#secure-log-data npm version Build Status Coverage Status NSP Status Module for securing sensitive data from log objects.

##Installation

npm i -S -E @debitoor/secure-log-data

##Usage

const secureLogData = require('@debitoor/secure-log-data');
const options = {sensitiveKeys: ['array', 'of', 'custom', 'sensitive',  'keys']}
const securedData = secureLogData(logObject, options);

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.