A Leith package containing a common mongodb connector - 0.4.0
Install from NPM using the following command.
npm i @datr.tech/@datr.tech/leith-common-mongodb-connector
Install the package from GitHub using the following commands.
git clone https://github.com/datr.tech/leith-common-mongodb-connector.git
Then install the required dependencies
cd @datr.tech/leith-common-mongodb-connector
npm i
Format code, config files and (when applicable) tests
npm run format
The formatting will be performed by Prettier, and the associated Prettier config can be found [here][./.prettierrc.json].
Lint code, config files and (when applicable) tests
npm run lint
The formatting will be performed by EsLint, and the associated config can be found from the following address [./eslint.config.mjs][./eslint.config.mjs].