UNPKG

@zishone/monique

Version:

A middleware that utilized rsql-mongodb to parse url queries into mongodb filter and options. Who's monqique? It is not a who, it's just short for Mongo I Query.

78 lines (77 loc) 2.45 kB
{ "name": "@zishone/monique", "version": "1.0.0", "description": "A middleware that utilized rsql-mongodb to parse url queries into mongodb filter and options. Who's monqique? It is not a who, it's just short for Mongo I Query.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "directories": { "test": "test" }, "scripts": { "cleanup": "rimraf dist && rimraf coverage && rimraf .nyc_output && rimraf docs", "lint": "eslint ./src --ext .ts", "lint:fix": "npm run lint -- --fix", "build": "tsc", "build:watch": "tsc --watch", "docs": "typedoc --out docs --mode modules --tsconfig tsconfig.json src && touch docs/.nojekyll", "docs:deploy": "npm run docs && gh-pages --dotfiles --dist docs", "test": "TS_NODE_FILES=true mocha --require ts-node/register --require source-map-support/register --file tests/index.ts tests/**/*.test.ts --exit", "test:coverage": "nyc --require @istanbuljs/nyc-config-typescript --reporter lcov --include src npm run test", "prepare": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/zishone/monique.git" }, "keywords": [ "mongo", "mongodb", "rsql", "middleware", "mw", "request", "req", "query" ], "author": "Zishran Garces <zishgarces@gmail.com> (https://github.com/zishone)", "license": "MIT", "bugs": { "url": "https://github.com/zishone/monique/issues" }, "homepage": "https://github.com/zishone/monique#readme", "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", "@types/chai": "^4.2.11", "@types/express": "^4.17.6", "@types/http-errors": "^1.8.0", "@types/mocha": "^7.0.2", "@types/mongodb": "^3.6.3", "@types/node": "^14.14.17", "@types/sinon": "^9.0.8", "@typescript-eslint/eslint-plugin": "^4.8.1", "@typescript-eslint/parser": "^4.8.1", "chai": "^4.2.0", "eslint": "^7.13.0", "eslint-config-prettier": "^7.1.0", "eslint-plugin-prettier": "^3.3.0", "gh-pages": "^2.2.0", "husky": "^4.3.6", "lint-staged": "^10.5.3", "mocha": "^7.1.2", "nyc": "^15.0.1", "prettier": "^2.2.1", "rimraf": "^3.0.2", "sinon": "^9.2.1", "source-map-support": "^0.5.19", "ts-node": "^9.1.1", "typedoc": "^0.17.6", "typescript": "^4.1.3" }, "dependencies": { "http-errors": "^1.8.0", "rsql-mongodb": "^1.5.0" } }