<commit_before>PouchDB Server [![Build Status](https://travis-ci.org/pouchdb/pouchdb-server.svg)](https://travis-ci.org/pouchdb/pouchdb-server)
=====

PouchDB Server is a drop-in replacement for CouchDB, using PouchDB and
Node.js. It is modeled after the single-node design of CouchDB 1.x,
although it contains some CouchDB 2.x features such as
[Mango queries](http://github.com/nolanlawson/pouchdb-find).

PouchDB Server is much less battle-tested than CouchDB, but it does pass the full [PouchDB test suite](https://github.com/pouchdb/pouchdb/tree/master/tests).

_For the `express-pouchdb` sub-package, skip to [express-pouchdb](#express-pouchdb)._

Usage
---

Install:

    npm install -g pouchdb-server

Then run:

    pouchdb-server

Now you can view the [Fauxton](https://github.com/apache/couchdb-fauxton) web
interface by opening `http://localhost:5984/_utils` in a browser.  

### Basic options

PouchDB Server's default port is 5984. To change it:

    pouchdb-server --port 3000

By default, all files are written in the current directory. To use another one:

    pouchdb-server --dir path/to/my/directory<commit_msg>Update README with monorepo info and link to pouchdb.com (#258)<commit_after>PouchDB Server [![Build Status](https://travis-ci.org/pouchdb/pouchdb-server.svg)](https://travis-ci.org/pouchdb/pouchdb-server)
=====
PouchDB Server is a drop-in replacement for CouchDB, using PouchDB and
Node.js. It is modeled after the single-node design of CouchDB 1.x,
although it contains some CouchDB 2.x features such as
[Mango queries](http://github.com/nolanlawson/pouchdb-find).

PouchDB Server is much less battle-tested than CouchDB, but it does pass the full [PouchDB test suite](https://github.com/pouchdb/pouchdb/tree/master/tests).

_For the `express-pouchdb` sub-package, skip to [express-pouchdb](#express-pouchdb)._

This git repository is a [monorepo](https://github.com/babel/babel/blob/master/doc/design/monorepo.md), and is the source for many [pouchdb npm packages](https://github.com/pouchdb/pouchdb-server/tree/master/packages/node_modules).

For information about interacting with a PouchDB, see https://pouchdb.com/.

Usage
---

Install:

    npm install -g pouchdb-server

Then run:

    pouchdb-server

Now you can view the [Fauxton](https://github.com/apache/couchdb-fauxton) web
interface by opening `http://localhost:5984/_utils` in a browser.  

### Basic options

PouchDB Server's default port is 5984. To change it:

    pouchdb-server --port 3000

By default, all files are written in the current directory. To use another one:

    pouchdb-server --dir path/to/my/directory
{'fraction_non_alphanumeric': 0.1145475372279496, 'fraction_numerical': 0.011836578846888126, 'mean_word_length': 4.229540918163672, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 11, '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': '5461492', 'n_tokens_mistral': 907, 'n_tokens_neox': 851, 'n_words': 262}