<commit_before># mongodb-redact [![][npm_img]][npm_url] [![][travis_img]][travis_url] [![][coverage_img]][coverage_url] [![][gitter_img]][gitter_url]

Remove potentially sensitive information from objects without changing the shape.

## Installation

```bash
npm install mongodb-redact
```

## Examples

```javascript
```

## API

```javascript
var redact = require('mongodb-redact')
```
#### redact(object)

## License

Apache 2.0

[travis_img]: https://secure.travis-ci.org/mongodb-js/mongodb-redact.svg?branch=master
[travis_url]: https://travis-ci.org/mongodb-js/mongodb-redact
[npm_img]: https://img.shields.io/npm/v/mongodb-redact.svg
[npm_url]: https://www.npmjs.org/package/mongodb-redact
[coverage_img]: https://coveralls.io/repos/mongodb-js/mongodb-redact/badge.svg?branch=master
[coverage_url]: https://coveralls.io/r/mongodb-js/mongodb-redact
[gitter_img]: https://badges.gitter.im/Join%20Chat.svg
[LogEntry]: #logentry
[gitter_url]: https://gitter.im/mongodb-js/mongodb-js
[mongodb-ns]: https://github.com/mongodb-js/ns<commit_msg>:memo: :lipstick:<commit_after># mongodb-redact [![][npm_img]][npm_url] [![][travis_img]][travis_url] [![slack][slack_img]][slack_url]

> Remove potentially sensitive information from objects without changing the shape.

Inspired by [fruitsalad][fruitsalad] and [mongo-redact][mongo-redact].

## Installation

```bash
npm install --save mongodb-redact
```

## API

```javascript
var redact = require('mongodb-redact')
```
#### redact(object)

## License

Apache 2.0

[travis_img]: https://secure.travis-ci.org/mongodb-js/mongodb-redact.svg?branch=master
[travis_url]: https://travis-ci.org/mongodb-js/mongodb-redact
[npm_img]: https://img.shields.io/npm/v/mongodb-redact.svg
[npm_url]: https://www.npmjs.org/package/mongodb-redact
[LogEntry]: #logentry
[mongodb-ns]: https://github.com/mongodb-js/ns
[slack_url]: https://slack.mongodb.parts/
[slack_img]: https://slack.mongodb.parts/badge.svg
[fruitsalad]: https://github.com/rueckstiess/fruitsalad
[mongo-redact]: https://github.com/jonrangel/mongo-redact
{'fraction_non_alphanumeric': 0.18926829268292683, 'fraction_numerical': 0.002926829268292683, 'mean_word_length': 5.976190476190476, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 18, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6451478', 'n_tokens_mistral': 858, 'n_tokens_neox': 796, 'n_words': 107}