diff --git a/README.md b/README.md index 7b8eb21..2ee8db3 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,13 @@ Follow the codes below to create a config object: var config = { fields: [], // {array} data to import db: 'name', // {string} name of db - collection: 'collection' // {string|function} name of collection, or use a function to + collection: 'collection', // {string|function} name of collection, or use a function to // return a name, accept one param - [fields] the fields to import // they're options host: 'localhost:27017', // {string} [optional] by default is 27017 username: 'sofish', // {string} [optional] - password: '***' // {string} [optional] + password: '***', // {string} [optional] callback: (err, db) => {} // {function} [optional] }; ```