secure sensitive user data from loging


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


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


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


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.