1.0.5 • Published 6 years ago

node-sanitizer v1.0.5

Weekly downloads
185
License
MIT
Repository
github
Last release
6 years ago

node-sanitizer

Node Object Sanitizer

Installation

Clone the repo and make it yours:

yarn add node-sanitizer

Use

const sanitizer = require('node-sanitizer');

const obj = {
  username: 'some@email.com',
  password: 'veryverysecret',
  fullname: 'Awesome guy',
};

const sanitizedObject = sanitizer(obj, ['password']);

console.log(sanitizedObject);

License

MIT License - Suhendra Ahmad

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago