{"_id":"@amresh0614/unify-sdk","_rev":"2-8226928a8434af2ec63ea32cf67bcd77","name":"@amresh0614/unify-sdk","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@amresh0614/unify-sdk","version":"1.0.0","keywords":["api-key","security","openai","anthropic","proxy","unify"],"author":{"name":"Unify"},"license":"MIT","_id":"@amresh0614/unify-sdk@1.0.0","maintainers":[{"name":"amresh0614","email":"25f2006140@ds.study.iitm.ac.in"}],"homepage":"https://unifykeys.com","bugs":{"url":"https://github.com/amresh0614/Unify/issues"},"dist":{"shasum":"a1983db538a13c1a624b53f15361f8a777dece45","tarball":"https://registry.npmjs.org/@amresh0614/unify-sdk/-/unify-sdk-1.0.0.tgz","fileCount":3,"integrity":"sha512-AwzNHUEWujL6U/JL7q73nWDLk3+3VQimZSd/b9nQL93kiO7xBx54Sk2E2xMn0hPx5iP8SLDcG8fy4/p9++MKng==","signatures":[{"sig":"MEYCIQDVPqqDBBXW6U+y2I9DKh6cXmO5jsT1maQGUlA5M1p6KAIhAMSmn6dqRvYLismI8td9/0BDl/qOkgDsVb4elTqpqLjy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3613},"main":"index.js","type":"module","_npmUser":{"name":"amresh0614","email":"25f2006140@ds.study.iitm.ac.in"},"repository":{"url":"git+https://github.com/amresh0614/Unify.git","type":"git"},"_npmVersion":"10.9.2","description":"Protect your API keys with Unify — real-time IP tracking, one-click blocking, and spend monitoring","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"peerDependencies":{"openai":">=4.0.0","groq-sdk":">=0.3.0","@anthropic-ai/sdk":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/unify-sdk_1.0.0_1777783033534_0.7499518826643998","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@amresh0614/unify-sdk","version":"1.0.3","description":"Protect your API keys with Unify — real-time IP tracking, one-click blocking, and spend monitoring","main":"index.js","type":"module","keywords":["api-key","security","openai","anthropic","proxy","unify"],"author":{"name":"Unify"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/amresh0614/Unify.git"},"homepage":"https://unifykeys.com","dependencies":{"openai":">=4.0.0","@anthropic-ai/sdk":">=0.20.0"},"peerDependencies":{"openai":">=4.0.0","@anthropic-ai/sdk":">=0.20.0"},"_id":"@amresh0614/unify-sdk@1.0.3","bugs":{"url":"https://github.com/amresh0614/Unify/issues"},"_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ZLlDQ9QOb5VuZ+wDNJ2WfUGEJcfCEdTWQF5dwr8FZL1cU1L9EqkZItUi7M03/k+mjs3fVu2W6jmOcGIh6EQ7SQ==","shasum":"d726b9d62babed0bbe46d71d076c5c87bdb6917f","tarball":"https://registry.npmjs.org/@amresh0614/unify-sdk/-/unify-sdk-1.0.3.tgz","fileCount":3,"unpackedSize":4016,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID0PBjN4z7euCoPkjOq8Q8MFSVWsS5hgg7OT8tZt81O6AiEA9imjgmRvzhQSiSInlpqJoOWr/OO0YKMTWq7qfEXNLfA="}]},"_npmUser":{"name":"amresh0614","email":"25f2006140@ds.study.iitm.ac.in"},"directories":{},"maintainers":[{"name":"amresh0614","email":"25f2006140@ds.study.iitm.ac.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unify-sdk_1.0.3_1777784095494_0.8651006614731682"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-03T04:37:13.362Z","modified":"2026-05-03T04:54:55.726Z","1.0.0":"2026-05-03T04:37:13.677Z","1.0.3":"2026-05-03T04:54:55.630Z"},"bugs":{"url":"https://github.com/amresh0614/Unify/issues"},"author":{"name":"Unify"},"license":"MIT","homepage":"https://unifykeys.com","keywords":["api-key","security","openai","anthropic","proxy","unify"],"repository":{"type":"git","url":"git+https://github.com/amresh0614/Unify.git"},"description":"Protect your API keys with Unify — real-time IP tracking, one-click blocking, and spend monitoring","maintainers":[{"name":"amresh0614","email":"25f2006140@ds.study.iitm.ac.in"}],"readme":"# unify-sdk\n\nProtect your API keys with [Unify](https://unifykeys.com) — real-time IP tracking, one-click blocking, and spend monitoring for OpenAI, Anthropic, Groq, Twilio and more.\n\n## Install\n\n```bash\nnpm install unify-sdk\n```\n\n## Usage\n\n### Option 1 — Drop-in replacement (recommended)\n\n```javascript\nimport { createOpenAI } from 'unify-sdk'\n\nconst openai = createOpenAI('px_live_your_token_here')\n\nconst response = await openai.chat.completions.create({\n  model: 'gpt-4o-mini',\n  messages: [{ role: 'user', content: 'Hello!' }]\n})\n```\n\n### Option 2 — Configure once, use anywhere\n\n```javascript\nimport { configure } from 'unify-sdk'\n\n// Add this at the top of your app entry point\nconfigure('px_live_your_token_here')\n\n// Then use OpenAI/Anthropic/Groq SDK normally — no other changes needed\nimport OpenAI from 'openai'\nconst client = new OpenAI() // automatically uses Unify proxy\n```\n\n### Option 3 — Environment variables only\n\n```bash\nOPENAI_API_KEY=px_live_your_token_here\nOPENAI_BASE_URL=https://unifykeys.com/api/forward\n```\n\n## Get your proxy token\n\n1. Sign up at [unifykeys.com](https://unifykeys.com)\n2. Download the Unify desktop app\n3. Add your API key\n4. Copy your proxy token\n\n## What is Unify?\n\nUnify sits between your code and your API providers. Your real API key never travels over the wire. Instead you get a proxy token — see every IP using your keys, block abuse in one click, track spend across all platforms.\n\nFree 15-day trial at [unifykeys.com](https://unifykeys.com)\n","readmeFilename":"README.md"}