UNPKG

mongoose-advanced-paginate

Version:

A library which makes pagination with search, sorting and filtering a breeze for devs in mongoose.

76 lines 1.89 kB
{ "name": "mongoose-advanced-paginate", "version": "1.2.0", "description": "A library which makes pagination with search, sorting and filtering a breeze for devs in mongoose.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "engines": { "node": ">=16.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/bilalhassan97/mongoose-advanced-paginate.git" }, "keywords": [ "mongoose", "aggregate", "searching", "sorting", "filtering", "ts", "typescript", "nestjs", "paginate", "advanced", "pagination", "paging", "page", "mongodb", "nextpage", "prevpage", "paginator", "cursor", "starting", "ending" ], "author": "Bilal Hassan", "license": "MIT", "bugs": { "url": "https://github.com/bilalhassan97/mongoose-advanced-paginate/issues" }, "homepage": "https://github.com/bilalhassan97/mongoose-advanced-paginate#readme", "dependencies": { "mongoose": "^8.4.1" }, "devDependencies": { "@changesets/cli": "^2.27.5", "@eslint/js": "^9.4.0", "eslint": "9.x", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.1.3", "globals": "^15.4.0", "husky": "^9.0.11", "lint-staged": "^15.2.5", "prettier": "^3.3.2", "tsup": "^8.1.0", "typescript": "^5.4.5", "typescript-eslint": "^7.13.0" }, "lint-staged": { "{src,apps,libs,test}/**/*.ts": [ "eslint --fix" ], "./**/*.{ts,js,json,*rc}": [ "prettier --write" ] }, "scripts": { "prepublish": "npm run build", "build": "tsup src/index.ts --format cjs,esm --dts", "ts-check": "tsc --skipLibCheck --noEmit", "release": "pnpm run build && changeset publish", "precommit": "lint-staged --concurrent false && pnpm run ts-check", "lint": "eslint ./src" } }