UNPKG

@conpago/mongo-cursor-pagination

Version:

Make it easy to return cursor-paginated results from a Mongo collection

85 lines 2.32 kB
{ "name": "@conpago/mongo-cursor-pagination", "version": "8.9.5", "description": "Make it easy to return cursor-paginated results from a Mongo collection", "main": "index.js", "types": "./dist/types/index.d.ts", "files": [ "index.js", "dist", "src" ], "repository": { "type": "git", "url": "git+https://github.com/conpagoaus/mongo-cursor-pagination.git" }, "keywords": [ "mongo", "pagination", "cursor", "database", "fulltext", "search", "find" ], "author": "Brad Vogel <brad@mixmax.com> (https://mixmax.com/)", "license": "MIT", "bugs": { "url": "https://github.com/conpagoaus/mongo-cursor-pagination/issues" }, "homepage": "https://github.com/conpagoaus/mongo-cursor-pagination#readme", "dependencies": { "bson": "^6.10.4", "lodash": "^4.17.21", "mongodb": "^6.13.0", "object-path": "^0.11.8", "projection-utils": "^1.1.0", "semver": "^7.7.2", "underscore": "^1.13.7" }, "devDependencies": { "@commitlint/config-conventional": "^19.2.2", "@eslint/js": "^9.26.0", "@mixmaxhq/semantic-release-config": "github:mixmaxhq/semantic-release-config", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.19", "@types/node": "^22.15.17", "@types/object-path": "^0.11.4", "@types/underscore": "^1.13.0", "babel-jest": "^29.7.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^9.26.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "jest": "^29.7.0", "mockgoose": "^8.0.4", "mongodb-memory-server": "^10.1.4", "mongoose": "8.5.1", "np": "^10.2.0", "prettier": "^3.6.1", "semantic-release": "23.x", "ts-jest": "^29.4.0", "typescript": "~5.8.3", "typescript-eslint": "^7.16.1" }, "engines": { "node": ">= 20.0.0" }, "publishConfig": { "access": "public" }, "config": { "mongodbMemoryServer": { "_": 0 } }, "scripts": { "ci": "npm run lint && npm run test", "ci:commitlint": "commitlint-jenkins --pr-only", "lint": "eslint --fix .", "prepublish": "npm run prepare", "semantic-release": "SEMANTIC_COMMITLINT_SKIP=f4543f643bac890c627d538e6200c5f5a1d45ebc semantic-release", "test": "jest --forceExit", "publish:npm": "np" } }