strip-passwords
1.1.2 • Public • Published strip-passwords
![Coverage Status](https://coveralls.io/repos/helpdotcom/strip-passwords/badge.svg?branch=master&service=github)
Strip passwords from an object
Install
$ npm install --save strip-passwords
Usage
var clean = require('strip-passwords')
clean({ password: 'test' })
clean({ password: 'test' }, {
replace: '____'
})
Options
replace
: The string to use for replacement
Author
Evan Lucas
License
MIT (See LICENSE
for more info)
Package Sidebar
Install
Weekly Downloads