UNPKG

query-registry

Version:

Query the npm registry for packuments, manifests, packages and download counts

91 lines (90 loc) • 2.19 kB
{ "name": "query-registry", "version": "5.0.0", "description": "Query the npm registry for packuments, manifests, packages and download counts", "keywords": [ "api", "client", "downloads", "manifest", "npm", "package", "packument", "query", "registry", "search", "typescript" ], "bugs": { "url": "https://github.com/velut/query-registry/issues" }, "license": "MIT", "author": { "name": "Edoardo Scibona", "url": "https://github.com/velut" }, "repository": { "type": "git", "url": "https://github.com/velut/query-registry.git" }, "files": [ "dist" ], "type": "module", "sideEffects": false, "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "scripts": { "check": "tsc --noEmit", "build": "tsc --noEmit && zshy", "attw": "attw --pack . --profile esm-only", "test": "vitest", "test:update-data": "bun run scripts/update-test-data.ts", "test:ci": "vitest run --coverage --bail 1", "lint": "oxfmt --check && oxlint --type-aware", "format": "oxfmt", "pre-push": "bun install && bun run lint && bun run build && bun run test:ci && bun run attw", "release": "npx np --no-cleanup --stage" }, "dependencies": { "query-string": "^10.0.0", "quick-lru": "^8.0.0", "url-join": "^6.0.0", "validate-npm-package-name": "^8.0.0", "zod-package-json": "^3.0.0" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.2", "@types/bun": "^1.4.3", "@types/node": "^26.6.5", "@types/validate-npm-package-name": "^4.0.2", "@vitest/coverage-v8": "^5.1.0", "fflate": "^0.8.3", "oxfmt": "^0.79.0", "oxlint": "^1.94.0", "oxlint-tsgolint": "^7.0.2007", "typescript": "^6.0.2", "vitest": "^5.1.0", "zshy": "^0.8.0" }, "peerDependencies": { "zod": "^4.0.0" }, "engines": { "node": ">=22" }, "zshy": { "exports": { "./package.json": "./package.json", ".": "./src/index.ts" }, "cjs": false } }