<commit_before># db-pool [![Build Status](https://secure.travis-ci.org/mark/node-db-pool.png?branch=master)](http://travis-ci.org/mark/node-db-pool)

Easily create a Postgres/MySQL connection pool (postgres only until I get MariaDB/MySQL working on my new Ubuntu 13.04 dev machine).

Behind the scenes it returns an any-db pool which can be used as described (https://github.com/grncdr/node-any-db)[here].

## Getting Started
Install the module with: `npm install db-pool`

## Configuration
Create a config/database.js containing something like
```javascript
exports.postgres = {
  defaults: {
    min: 5,
    max: 20
  },
  development: {
    database: "development",
    username: "username",
    password: "<PASSWORD>"
  },
  production: {
    database: "production",<commit_msg>Fixed link syntax in README.md<commit_after># db-pool [![Build Status](https://secure.travis-ci.org/mark/node-db-pool.png?branch=master)](http://travis-ci.org/mark/node-db-pool)

Easily create a Postgres/MySQL connection pool (postgres only until I get MariaDB/MySQL working on my new Ubuntu 13.04 dev machine).

Behind the scenes it returns an any-db pool which can be used as described [https://github.com/grncdr/node-any-db](here).

## Getting Started
Install the module with: `npm install db-pool`

## Configuration
Create a config/database.js containing something like
```javascript
exports.postgres = {
  defaults: {
    min: 5,
    max: 20
  },
  development: {
    database: "development",
    username: "username",
    password: "<PASSWORD>"
  },
  production: {
    database: "production",
{'fraction_non_alphanumeric': 0.12966476913345984, 'fraction_numerical': 0.008855154965211892, 'mean_word_length': 4.038216560509555, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, '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': '1610156', 'n_tokens_mistral': 514, 'n_tokens_neox': 491, 'n_words': 147}