UNPKG

drizzle-cursor

Version:

Utils for Drizzle ORM cursor based pagination

62 lines 1.78 kB
{ "name": "drizzle-cursor", "version": "0.5.3", "description": "Utils for Drizzle ORM cursor based pagination", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "keywords": [ "drizzle", "orm", "pagination", "cursor", "drizzle-orm", "base64", "multiple cursors" ], "author": "Santiago Montoya <xantiagoma@gmail.com>", "license": "MIT", "peerDependencies": { "drizzle-orm": ">= 0.33.0 < 1" }, "devDependencies": { "@changesets/cli": "^2.27.1", "@electric-sql/pglite": "^0.2.3", "@faker-js/faker": "^8.4.1", "@total-typescript/ts-reset": "^0.5.1", "@types/better-sqlite3": "^7.6.9", "@types/node": "^20.11.17", "base-x": "^4.0.0", "better-sqlite3": "^9.4.1", "dayjs": "^1.11.13", "dotenv": "^16.4.4", "drizzle-kit": "^0.20.14", "superjson": "^2.2.1", "tsup": "^8.0.2", "tsx": "^4.7.1", "typescript": "^5.3.3", "vitest": "^1.2.2" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsup src/index.ts --format cjs,esm --dts", "release": "pnpm run build && changeset publish", "lint": "tsc", "test": "vitest", "generate:changelog": "changeset", "generate:version": "changeset version", "db:generate": "drizzle-kit generate:sqlite", "db:migrate": "tsx test/db/migrate.ts", "db:seed": "tsx test/db/seed.ts", "db:drop": "drizzle-kit drop", "db:pull": "drizzle-kit introspect:sqlite", "db:push": "drizzle-kit push:sqlite", "db:studio": "drizzle-kit studio", "db:check": "drizzle-kit check:sqlite", "test:example": "tsx test/example.ts", "test:example:sqlite": "tsx test/example.sqlite.ts", "test:example:pg": "tsx test/example.pg.ts" } }