UNPKG

@tepez/mongo-cursor-pagination

Version:

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

74 lines (73 loc) 2.06 kB
{ "name": "@tepez/mongo-cursor-pagination", "version": "9.1.0", "description": "Make it easy to return cursor-paginated results from a Mongo collection", "main": "index.js", "files": [ "index.js", "dist", "src", "index.d.ts" ], "scripts": { "babelBuild": "babel src -d dist/node", "babelWatch": "babel --watch src -d dist/node", "lint": "eslint .", "test-native": "npx cross-env DRIVER=native jest", "test-native-debug": "npx cross-env DRIVER=native npx --node-options=--inspect-brk jest --runInBand", "test": "npm run test-native", "test-debug": "npm run test-native-debug", "update": "npm run babelBuild && npx np --no-publish --branch tepez" }, "repository": { "type": "git", "url": "git+https://github.com/tepez/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/tepez/mongo-cursor-pagination/issues" }, "homepage": "https://github.com/tepez/mongo-cursor-pagination#readme", "dependencies": { "base64-url": "^2.3.3", "bson": "^6.10.3", "dot-prop": "^6.0.1", "projection-utils": "^1.1.0", "semver": "^7.7.2", "underscore": "^1.13.7" }, "devDependencies": { "@mixmaxhq/prettier-config": "^1.1.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-plugin-transform-async-to-generator": "^6.24.1", "cross-env": "^7.0.3", "eslint": "^8.41.0", "eslint-config-mixmax": "^5.2.6", "jest": "^29.7.0", "mongodb": "6.16.0", "mongodb-memory-server-core": "^10.1.4", "mongoose": "8.15.0", "np": "^10.2.0", "prettier": "^2.8.8" }, "engines": { "node": ">= 6.9.1" }, "config": { "manualPublishMessage": "This repository is configured to use np for its releases. Please do not release manually.\n" }, "publishConfig": { "access": "public" } }