This is a fork of https://github.com/mongodb-developer/nodejs-quickstart, simplified for FerretDB testing.
npm installnode index.js --uri='mongodb://localhost:27017/'- To run with strict Stable API:
node index.js --uri='mongodb://localhost:27017/' --strict - To run with PLAIN authentication pass PLAIN to the
authMechanismURI option:node index.js --uri='mongodb://localhost:27017/?authMechanism=PLAIN'