pavelvlasov / koa-generic-session-mongo

MongoDB store for koa-session middleware backed by node-mongodb-native.
MIT License
37 stars 16 forks source link

Documentation is unclear on where to add those Options? #21

Closed ayushsharma82 closed 6 years ago

ayushsharma82 commented 6 years ago

Please Improve the Readme and Specify where those DB options are to be added.

It would be helpful.

pavelvlasov commented 6 years ago

thanks for the notice, @ayushsharma82. You can pass options as plain object as fist argument of the constructor. I updated docs accordingly