<commit_before>
<img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="96" height="96" />

# js-data-mongodb

[![Slack][1]][2]
[![NPM][3]][4]
[![Tests][5]][6]
[![Downloads][7]][8]
[![Coverage][9]][10]

A MongoDB adapter for the [JSData Node.js ORM][11].

### Installation

    npm install --save js-data js-data-mongodb bson mongodb

### Usage

```js
import { MongoDBAdapter } from 'js-data-mongodb';

// Create an instance of MongoDBAdapter
const adapter = new MongoDBAdapter({
  uri: 'mongodb://localhost:27017'<commit_msg>Trigger rebuild<commit_after>
<img src="https://raw.githubusercontent.com/js-data/js-data/master/js-data.png" alt="js-data logo" title="js-data" align="right" width="96" height="96" />

# js-data-mongodb

[![Slack][1]][2]
[![NPM][3]][4]
[![Tests][5]][6]
[![Downloads][7]][8]
[![Coverage][9]][10]

A MongoDB adapter for the [JSData Node.js ORM][11].

### Installation

    npm install --save js-data js-data-mongodb mongodb bson

### Usage

```js
import { MongoDBAdapter } from 'js-data-mongodb';

// Create an instance of MongoDBAdapter
const adapter = new MongoDBAdapter({
  uri: 'mongodb://localhost:27017'
{'fraction_non_alphanumeric': 0.20757825370675453, 'fraction_numerical': 0.036243822075782535, 'mean_word_length': 5.075, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3150636', 'n_tokens_mistral': 501, 'n_tokens_neox': 457, 'n_words': 96}