{"_id":"@abdulmuiz44/clientpad-cloud","name":"@abdulmuiz44/clientpad-cloud","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@abdulmuiz44/clientpad-cloud","version":"0.2.0","description":"ClientPad Cloud control plane for hosted projects, plans, subscriptions, and API keys.","license":"MIT","type":"module","main":"dist/index.js","types":"dist/index.d.ts","keywords":["clientpad","cloud","api-keys","billing","control-plane"],"scripts":{"build":"tsc -p tsconfig.json","typecheck":"pnpm --filter @abdulmuiz44/clientpad-core build && tsc -p tsconfig.json --noEmit","test":"pnpm --filter @abdulmuiz44/clientpad-core build && npm run build && node test/cloud.test.mjs","prepack":"npm run build"},"dependencies":{"@abdulmuiz44/clientpad-core":"workspace:*","pg":"^8.13.3"},"devDependencies":{"@types/pg":"^8.11.10"},"engines":{"node":">=18"},"publishConfig":{"access":"public"},"_id":"@abdulmuiz44/clientpad-cloud@0.2.0","gitHead":"f2d5f2e2cfc05cc89b2dc516f675f50b140bba80","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-ioV7iwRnz5rOxMa9cqrAya6guZDXU1JEKoyrRQ9BmaH6wfckvTSMkF8qAjOV5MYu0eMAgqU3Q5LTCe1f/cs7gw==","shasum":"983aeea912645860dcb0cc108c0114553eae4c90","tarball":"https://registry.npmjs.org/@abdulmuiz44/clientpad-cloud/-/clientpad-cloud-0.2.0.tgz","fileCount":6,"unpackedSize":30473,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC2NjErwzewJiO1Vti5HrCv+cI+zj7jfZfOUnF0p5Nx7QIhANdI7PtX+NIAG4GcYJH+QE0lsAod2xLTOPOv2iyW21Fw"}]},"_npmUser":{"name":"abdulmuiz44","email":"abdulmuizproject@gmail.com"},"directories":{},"maintainers":[{"name":"abdulmuiz44","email":"abdulmuizproject@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/clientpad-cloud_0.2.0_1778252479870_0.9016623531537311"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-08T15:01:19.747Z","0.2.0":"2026-05-08T15:01:20.019Z","modified":"2026-05-08T15:01:20.201Z"},"maintainers":[{"name":"abdulmuiz44","email":"abdulmuizproject@gmail.com"}],"description":"ClientPad Cloud control plane for hosted projects, plans, subscriptions, and API keys.","keywords":["clientpad","cloud","api-keys","billing","control-plane"],"license":"MIT","readme":"# ClientPad Cloud\n\nHosted control plane for ClientPad projects, plans, subscriptions, API keys, usage, and operational health.\n\n```bash\npnpm add @abdulmuiz44/clientpad-cloud\n```\n\n```ts\nimport { createClientPadCloudHandler } from \"@abdulmuiz44/clientpad-cloud\";\n\nexport const handler = createClientPadCloudHandler({\n  databaseUrl: process.env.DATABASE_URL!,\n  apiKeyPepper: process.env.API_KEY_PEPPER!,\n  adminToken: process.env.CLIENTPAD_CLOUD_ADMIN_TOKEN!,\n});\n```\n\nThe cloud handler is for your hosted ClientPad Cloud control plane. It is separate from the public API handler in `@abdulmuiz44/clientpad-server`.\n\n## Routes\n\n- `GET /health`\n- `GET /openapi.json`\n- `GET /plans`\n- `POST /projects`\n- `GET /projects`\n- `POST /api-keys`\n- `GET /usage`\n- `POST /billing/events`\n\nAll routes except `/health`, `/openapi.json`, and `/plans` require:\n\n```text\nAuthorization: Bearer <CLIENTPAD_CLOUD_ADMIN_TOKEN>\n```\n","readmeFilename":"README.md","_rev":"1-5808f36f72c370e067bd6136a71a2e79"}