1.1.2 • Published 8 years ago

strip-passwords v1.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

strip-passwords

Build Status Coverage Status

Strip passwords from an object

Install

$ npm install --save strip-passwords

Usage

var clean = require('strip-passwords')

clean({ password: 'test' })
// => { password: '****' }

// or pass options
clean({ password: 'test' }, {
  replace: '____'
})
// => { password: '____' }

Options

  • replace: The string to use for replacement

Author

Evan Lucas

License

MIT (See LICENSE for more info)

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago