Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 981 Bytes

readme.md

File metadata and controls

15 lines (10 loc) · 981 Bytes

#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);