mdgrech
mdgrech

Reputation: 955

Which MongoDB Driver for Node.js?

The choices are over whelming. I looked at Mongoose and didn't like b/c I don't want I should have to model data when using Mongo. Any help is appreciated :)

Upvotes: 14

Views: 15613

Answers (3)

Scott Stensland
Scott Stensland

Reputation: 28305

Correct nodejs mongodb driver as of 2019 :

The official MongoDB driver for Node.js https://github.com/mongodb/node-mongodb-native

Upvotes: 1

Gates VP
Gates VP

Reputation: 45297

There is really only one node.js MongoDB driver.

There are several other tools that sit on top of this driver.

  • Mongoose is an ORM tool, but completely unnecessary.
  • You may want to take a look at Mongoskin or Mongolia which provide less verbose access than the "native" driver.

Good list of MongoDB/Node.JS tools here.

Upvotes: 19

mna
mna

Reputation: 23993

Then you may want to use node.js' native mongodb driver, which is the underlying driver upon which mongoose is built. You can also search on the npm registry for more options.

Upvotes: 1

Related Questions