1.1.2 • Published 10 years ago

strip-passwords v1.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
10 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

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.1

11 years ago

1.0.0

11 years ago