diff --git a/README.md b/README.md index 692e2d9..371ea2f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The function takes the following parameters: * sqlite: path to the SQLite database. Does not need to actually exist -- couch-sqlite autocreates it. * table: SQLite table name. * schema: table schema, used when autocreating the table. -* couchUri: The URI of the couch database. If couch is running on localhost, using the default port (5884) and the database name is `sqlite_data` this would be `http://localhost:5984/sqlite_data`. +* couchUri: The URI of the couch database. If couch is running on localhost, using the default port (5984) and the database name is `sqlite_data` this would be `http://localhost:5984/sqlite_data`. ```javascript var couchSqlite = require('couch-sqlite'); diff --git a/index.js b/index.js index ca9dac8..85a3a42 100644 --- a/index.js +++ b/index.js @@ -163,9 +163,7 @@ var update = function(conn, record, callback) { * * - `sqlite` (required) Path to a sqlite file, or a location to write one. * - `schema` (required) a statement which can be used to create the schema. - * - `couchHost` (required) the host of the couch database - * - `couchPort` (required) the port on which couch is running - * - `couchDb` (required) the database name + * - `couchUri` (required) the URI of the couch database. * - `table` Name to use for data table in the sqlite database, defaults to `data` * - `map` (deprecated) * diff --git a/test/lib/daybed.js b/test/lib/daybed.js index d9f6d7a..38ba5ed 100644 --- a/test/lib/daybed.js +++ b/test/lib/daybed.js @@ -3,7 +3,7 @@ var http = require('http'), /** * Prop up a fake CouchDB server which can be used to (psycho)analyize what our - * tells it. + * library tells it. */ module.exports = function(port, callback) { var server = new http.Server();