UNPKG

@zaeny/mongodb

Version:

Wrap mongodb node.js driver so it expose only two main function `query` and `transact`, so you can seperate pure function in domain business and side-effect (avoiding not dot notation call)

42 lines (41 loc) 1.07 kB
{ "name": "@zaeny/mongodb", "version": "1.1.2", "description": "Wrap mongodb node.js driver so it expose only two main function `query` and `transact`, so you can seperate pure function in domain business and side-effect (avoiding not dot notation call)", "scripts": { "build": "node build", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [ "mongodb", "functional", "programming", "pure", "function", "query" ], "author": "Aziz Zaeny (https://azizzaeny.com)", "license": "GPL-3.0", "repository": { "type": "git", "url": "git+ssh://git@github.com/azizzaeny/composable.git" }, "bugs": { "url": "https://github.com/azizzaeny/mongodb/issues" }, "homepage": "https://github.com/azizzaeny/composable/tree/main/packages/mongodb", "module": "./src/index.mjs", "main": "./src/index.js", "type": "commonjs", "exports": { ".": { "require": "./src/index.js", "import": "./src/index.mjs" } }, "files": [ "src", "readme.md", "package.json" ] }