Question is as you might have guessed from title, if I can use Node.JS with connected to MongoDB, without loaded MongoJS module.
I want to minimize application on maximum, so loading external module will load client. What are other alternatives to MongoJS?
You can directly use the mongodb-native driver without using the MongoJS module which wraps it.
npm install mongodb
See the docs here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.