{"_id":"@upstash/context7-sdk","_rev":"8-f049ddc4f15e5e9f35dc30eaca71f9ed","name":"@upstash/context7-sdk","dist-tags":{"canary":"0.1.0-canary.0","latest":"0.5.0"},"versions":{"0.1.0-canary.0":{"name":"@upstash/context7-sdk","version":"0.1.0-canary.0","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.1.0-canary.0","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"31ab7153a3c6dbdb9fd51618642ed530d87f2d0c","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.1.0-canary.0.tgz","fileCount":7,"integrity":"sha512-V7+l8twnZwVIyLNQX4nV55w8NUSdu3XpAWMMpKO+EJpy9wFQoBIUTP/mZCqG6/qrQzBlWcD78oDtnxoLXGBdsA==","signatures":[{"sig":"MEQCIDdhgod/q90RzsvqX5OIZLduqgCNfBPMiqmf5inspoQzAiB7VDU7/4AldirGBMn//gmB4aGRyLr43kPGDxg0PykBdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26215},"main":"./dist/client.cjs","type":"module","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"9a02c2a048e6bc1a8b40b9814e4624f272e282c6","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","lint:check":"eslint .","test:watch":"vitest"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.9.3","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.2.3","vitest":"^4.0.13","typescript":"^5.8.2","@types/node":"^22.13.14"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.1.0-canary.0_1764336167400_0.8393764238413894","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@upstash/context7-sdk","version":"0.1.0","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.1.0","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"f6dadfa1390159967bef678acca4da3c9b84fbb5","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.1.0.tgz","fileCount":7,"integrity":"sha512-hev3MQTlyJJPb1mVpqPhh60fjpZAMq0bt1NhfuD1RmlrBojv6EgI8EvusJrCu5zUU3J+BPtu9GhSsc5uIBhDvQ==","signatures":[{"sig":"MEUCIQCwUn02BbY4kPdk8bYrFuBvl4v1nRCQUpdcG97Zl+kwKQIgYfEb5os5PPVLB2r0mXPoIkJfG60SxOIMdLIhPh2U6ZM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26255},"main":"./dist/client.cjs","type":"module","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"gitHead":"6c0515818d6b71c1fc75c3972e8991ed495d2f2a","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","lint:check":"eslint .","test:watch":"vitest"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.9.3","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"22.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.2.3","vitest":"^4.0.13","typescript":"^5.8.2","@types/node":"^22.13.14"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.1.0_1764336969114_0.6815914447460649","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@upstash/context7-sdk","version":"0.2.0","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.2.0","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"b2c0f327f376adc203c69a5ade6d321059fd8901","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.2.0.tgz","fileCount":7,"integrity":"sha512-Dty3uRPKUhdLpzjufONkWebNhUKzt0oyaU7Vq4ZUHGHM3qptNsL19IQu64rVO1aJL8B1a4pLQJPfbGT+otpYpA==","signatures":[{"sig":"MEUCIQD/eqo1YV1bxeHVaQr1iV1rZUUhb6oJPiV9unrR6srfmgIgJ7nROJUz+qvTMR1cCdQQgFciZtEQiItf412rbDGFmzI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26007},"main":"./dist/client.cjs","type":"module","_from":"file:upstash-context7-sdk-0.2.0.tgz","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint:check":"eslint .","test:watch":"vitest"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"_resolved":"/tmp/4f63a370eb022818d6cc2a2846cc359f/upstash-context7-sdk-0.2.0.tgz","_integrity":"sha512-Dty3uRPKUhdLpzjufONkWebNhUKzt0oyaU7Vq4ZUHGHM3qptNsL19IQu64rVO1aJL8B1a4pLQJPfbGT+otpYpA==","repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.2.3","vitest":"^4.0.13","typescript":"^5.8.2","@types/node":"^22.13.14"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.2.0_1767771429062_0.20747812655352593","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@upstash/context7-sdk","version":"0.3.0","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.3.0","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"267cb48d88067e38ba4a7708f84a04661a214741","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.3.0.tgz","fileCount":7,"integrity":"sha512-kW5UV49mG9hh30sWP7nLq0mF7YHbTtfWrnm1VsT0UFW8mR6ovlYp7anobUh5qOaewSzraq9o2QyY77KVpI1twg==","signatures":[{"sig":"MEUCIQCffKwX1+uj4hWFhnM865Tt38mB5gvKlt0Hc8Epx0pqpAIgNQk1CB109soxW4enXxl4Zbomqs2lQHS9LZYGAX4gJZ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30487},"main":"./dist/client.cjs","type":"module","_from":"file:upstash-context7-sdk-0.3.0.tgz","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint:check":"eslint .","test:watch":"vitest"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"_resolved":"/tmp/8bbf144ce547c0d68fd9ff1898587a30/upstash-context7-sdk-0.3.0.tgz","_integrity":"sha512-kW5UV49mG9hh30sWP7nLq0mF7YHbTtfWrnm1VsT0UFW8mR6ovlYp7anobUh5qOaewSzraq9o2QyY77KVpI1twg==","repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.2.3","vitest":"^4.0.13","typescript":"^5.8.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.3.0_1767783253281_0.7532045091769635","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@upstash/context7-sdk","version":"0.3.1","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.3.1","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"b09837107ca246011abf6848ac2e0b405bbccbb7","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.3.1.tgz","fileCount":7,"integrity":"sha512-K1NZ8MuaMkCJ9y1/q6P8WDehpfsp5pNapVbh65oNq+QcZcwIFZcmpe9WhnzV9eoEdlbtF/y7zmQJhXDuDdGhbA==","signatures":[{"sig":"MEQCIARzBwGK++m3NKhJS1H3ibLZKjkwcWIYZONs8cq3/QLuAiBZEm8XUo0hgtCFDLVt5jK5ZuRekjLv0VoTu8AD+q72zA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30523},"main":"./dist/client.cjs","type":"module","_from":"file:upstash-context7-sdk-0.3.1.tgz","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint:check":"eslint .","test:watch":"vitest"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"_resolved":"/tmp/b6c396e50bd092ff50e6135d866f0da6/upstash-context7-sdk-0.3.1.tgz","_integrity":"sha512-K1NZ8MuaMkCJ9y1/q6P8WDehpfsp5pNapVbh65oNq+QcZcwIFZcmpe9WhnzV9eoEdlbtF/y7zmQJhXDuDdGhbA==","repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.4.2","vitest":"^4.0.13","typescript":"^5.8.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.3.1_1781184875143_0.7995317265776698","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@upstash/context7-sdk","version":"0.4.0","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.4.0","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"40047ff700dbf11760e758be9fa67be8834a5557","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.4.0.tgz","fileCount":7,"integrity":"sha512-ShT4X8n61P9EKrVYJpZABhYcFYTam/NeF/WjkLjJ5jTGJUmcKTjKyPlG1YXH0NDtTucSCOn0ZvYEYjO9tXKilQ==","signatures":[{"sig":"MEUCIQCkFP4c8PjyxllfVBwkElZMM2qxC5HquEXKej8G7bLtPwIgLpR69EzXuRwT8Q5obSvSLxo4BbAtWprhVy+TlH8kF4o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58480},"main":"./dist/client.cjs","type":"module","_from":"file:upstash-context7-sdk-0.4.0.tgz","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint:check":"eslint .","test:watch":"vitest","test:integration":"vitest run --config vitest.integration.config.ts"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"_resolved":"/tmp/c59c5b0fcfaa9ead05137ecb26e998e0/upstash-context7-sdk-0.4.0.tgz","_integrity":"sha512-ShT4X8n61P9EKrVYJpZABhYcFYTam/NeF/WjkLjJ5jTGJUmcKTjKyPlG1YXH0NDtTucSCOn0ZvYEYjO9tXKilQ==","repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.4.2","vitest":"^4.1.9","typescript":"^5.8.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.4.0_1788771362563_0.2815325320423039","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@upstash/context7-sdk","version":"0.4.1","keywords":["context7","sdk","documentation","ai","upstash"],"author":{"name":"Upstash"},"license":"MIT","_id":"@upstash/context7-sdk@0.4.1","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"homepage":"https://github.com/upstash/context7#readme","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"b7bde5c72824ccad5cad7c34ee315c674f54be37","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.4.1.tgz","fileCount":7,"integrity":"sha512-7wEc8XnlPwjsX3jTztZxRJKEfCqbWfQcePl4CMLt3r83zZgABF4bHMhLd5+o/iXZiDbb8Bu2KqwEABZZ6GuUTQ==","signatures":[{"sig":"MEYCIQCGGqzu5v79w7L0M1lxQTnySBZ97TTYZZLGOk7fYAExmgIhAJnXc0ZzbJQmSKGG7PeEkdttiM1FgW4xg4zRN37nlOoG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61964},"main":"./dist/client.cjs","type":"module","_from":"file:upstash-context7-sdk-0.4.1.tgz","types":"./dist/client.d.ts","module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint:check":"eslint .","test:watch":"vitest","test:integration":"vitest run --config vitest.integration.config.ts"},"_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"_resolved":"/tmp/4bf796842474802771cecd5d29c16d5e/upstash-context7-sdk-0.4.1.tgz","_integrity":"sha512-7wEc8XnlPwjsX3jTztZxRJKEfCqbWfQcePl4CMLt3r83zZgABF4bHMhLd5+o/iXZiDbb8Bu2KqwEABZZ6GuUTQ==","repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Context7","directories":{},"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.4.2","vitest":"^4.1.9","typescript":"^5.8.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"tmp":"tmp/context7-sdk_0.4.1_1788885255722_0.8881036875057757","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"_id":"@upstash/context7-sdk@0.5.0","bugs":{"url":"https://github.com/upstash/context7/issues"},"dist":{"shasum":"893a934e1fc9f311c00de4db3fa8120556d29de2","tarball":"https://registry.npmjs.org/@upstash/context7-sdk/-/context7-sdk-0.5.0.tgz","fileCount":7,"integrity":"sha512-ywZO7ladg9YQOaHtXfK45Q0jUg12MpQtH+wahz1TZQZsnRUnYNrMSsl3bUhekpt7bexQfv5kafFUM6KBWMPkkQ==","signatures":[{"sig":"MEQCIGmem3WLGJh7+QrietPYqPUpcU1qQarPZYHgXQvVG425AiA+xN3k9eJQjT27ucNJlXIHRH0CHZX41WpeuOTVzFioVQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICr0xJ3bg+M896d97ixQDeIhFuReuQ0Bu+ZqZNSlvAoAAiEAl327H1xf/uVDHxILECm024shQv7qgtWhlXtQTLcV6X4="}],"unpackedSize":68698},"main":"./dist/client.cjs","name":"@upstash/context7-sdk","type":"module","_from":"file:upstash-context7-sdk-0.5.0.tgz","types":"./dist/client.d.ts","author":{"name":"Upstash"},"module":"./dist/client.js","exports":{".":{"import":"./dist/client.js","require":"./dist/client.cjs"}},"license":"MIT","scripts":{"dev":"tsup --watch","lint":"eslint .","test":"vitest run","build":"tsup","clean":"rm -rf dist","typecheck":"tsc --noEmit","lint:check":"eslint .","test:watch":"vitest","test:integration":"vitest run --config vitest.integration.config.ts"},"version":"0.5.0","_npmUser":{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},"homepage":"https://github.com/upstash/context7#readme","keywords":["context7","sdk","documentation","ai","upstash"],"_resolved":"/tmp/6cea051cf958fac272469da9678cf76d/upstash-context7-sdk-0.5.0.tgz","_integrity":"sha512-ywZO7ladg9YQOaHtXfK45Q0jUg12MpQtH+wahz1TZQZsnRUnYNrMSsl3bUhekpt7bexQfv5kafFUM6KBWMPkkQ==","repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"_npmVersion":"10.8.2","description":"JavaScript/TypeScript SDK for Context7","directories":{},"maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"_nodeVersion":"20.20.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","dotenv":"^17.4.2","vitest":"^4.1.9","typescript":"^5.8.2","@types/node":"^25.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/context7-sdk_0.5.0_1790111136058_0.5230970246916498"}}},"time":{"created":"2025-11-28T13:22:47.287Z","modified":"2026-09-22T21:05:36.320Z","0.1.0-canary.0":"2025-11-28T13:22:47.595Z","0.1.0":"2025-11-28T13:36:09.287Z","0.2.0":"2026-01-07T07:37:09.191Z","0.3.0":"2026-01-07T10:54:13.426Z","0.3.1":"2026-06-11T13:34:35.290Z","0.4.0":"2026-09-07T08:56:02.712Z","0.4.1":"2026-09-08T16:34:15.852Z","0.5.0":"2026-09-22T21:05:36.140Z"},"bugs":{"url":"https://github.com/upstash/context7/issues"},"author":{"name":"Upstash"},"license":"MIT","homepage":"https://github.com/upstash/context7#readme","keywords":["context7","sdk","documentation","ai","upstash"],"repository":{"url":"git+https://github.com/upstash/context7.git","type":"git","directory":"packages/sdk"},"description":"JavaScript/TypeScript SDK for Context7","maintainers":[{"name":"mdogan","email":"mehmet@upstash.com"},{"name":"buggyhunter","email":"bill@upstash.com"},{"name":"cahidarda","email":"cahidardaooz@gmail.com"},{"name":"fahreddin.ozcan","email":"fahreddin@upstash.com"},{"name":"upstashnpm","email":"enes@upstash.com"},{"name":"joshtc","email":"hello@joshtriedcoding.com"},{"name":"burak-ups","email":"burak@upstash.com"},{"name":"shannonr","email":"shannon@upstash.com"}],"readme":"# Upstash Context7 SDK\n\n> ⚠️ **Work in Progress**: This SDK is currently under active development. The API is subject to change and may introduce breaking changes in future releases.\n\n`@upstash/context7-sdk` is an HTTP/REST based client for TypeScript, built on top of the [Context7 API](https://context7.com).\n\n## Why Context7?\n\nLLMs rely on outdated or generic training data about the libraries you use. This leads to:\n\n- Code examples based on year-old training data\n- Hallucinated APIs that don't exist\n- Generic answers for old package versions\n\nContext7 solves this by providing up-to-date, version-specific documentation and code examples directly from the source. Use this SDK to:\n\n- Build AI agents with accurate, current documentation context\n- Create RAG pipelines with reliable library documentation\n- Power code generation tools with real API references\n\n## Quick Start\n\n### Install\n\n```bash\nnpm install @upstash/context7-sdk\n```\n\n### Get API Key\n\nGet your API key from [Context7](https://context7.com)\n\n## Basic Usage\n\n```ts\nimport { Context7 } from \"@upstash/context7-sdk\";\n\nconst client = new Context7({\n  apiKey: \"<CONTEXT7_API_KEY>\",\n});\n\n// Search documentation in one request. Context7 selects the relevant library.\nconst results = await client.search(\"How do I cache a Next.js function?\", {\n  libraries: [\"Next.js\"],\n  version: \"15.4.0\",\n  language: \"TypeScript\",\n  type: \"json\",\n});\nconsole.log(results.codeSnippets[0]?.libraryId, results.codeSnippets[0]?.codeTitle);\nconsole.log(results.rules);\n\n// Search for libraries\nconst libraries = await client.searchLibrary(\"I need to build a UI with components\", \"react\");\nconsole.log(libraries[0].id); // \"/facebook/react\"\n\n// Get documentation as JSON array (default)\nconst docs = await client.getContext(\"How do I use hooks?\", \"/facebook/react\");\nconsole.log(docs[0].title, docs[0].content);\n\n// Get documentation context as plain text\nconst context = await client.getContext(\"How do I use hooks?\", \"/facebook/react\", { type: \"txt\" });\nconsole.log(context);\n```\n\n## Configuration\n\n### Environment Variables\n\nYou can set your API key via environment variable:\n\n```sh\nCONTEXT7_API_KEY=ctx7sk-...\n```\n\nThen initialize without options:\n\n```ts\nconst client = new Context7();\n```\n\n### Vercel Marketplace OIDC\n\nVercel Marketplace resources can authenticate without a long-lived Context7\nAPI key. Pass Vercel's per-resource access-token callback as a token provider\nso each request receives a current token:\n\n```ts\nimport { Context7 } from \"@upstash/context7-sdk\";\nimport { getIntegrationToken } from \"@vercel/integrations\";\n\nconst client = new Context7({\n  authToken: () => getIntegrationToken(\"context7\"),\n});\n```\n\nThe `getIntegrationToken` signature is based on Vercel's current provider\nspecification and may change before Marketplace OIDC is generally available.\n\nThe token's `resource` claim must match the Context7 resource created during\nMarketplace provisioning. Do not resolve the token once at startup: Vercel\nMarketplace OIDC tokens are short-lived.\n\nExplicit credentials take precedence in this order: `apiKey`, `authToken`, then\n`CONTEXT7_API_KEY`. This allows OIDC to be tested while a legacy API key remains\navailable during a dual-auth migration.\n\n### Production HTTP options\n\nRequests time out after 30 seconds and retry transient network errors, `408`, `425`, `429`,\nand `5xx` responses by default. You can configure those defaults for the client and override\ntimeout, cancellation, and native fetch caching per request:\n\n```ts\nimport { Context7, Context7Error } from \"@upstash/context7-sdk\";\n\nconst client = new Context7({\n  apiKey: process.env.CONTEXT7_API_KEY,\n  timeout: 10_000,\n  retry: {\n    retries: 3,\n    backoff: (attempt) => 100 * 2 ** attempt,\n  },\n  onResponse: ({ status, requestId, rateLimit, attempt }) => {\n    console.log({ status, requestId, rateLimit, attempt });\n  },\n});\n\nconst controller = new AbortController();\n\ntry {\n  const docs = await client.getContext(\"How do I use hooks?\", \"/facebook/react\", {\n    signal: controller.signal,\n    timeout: 5_000,\n    cache: \"no-store\",\n  });\n  console.log(docs);\n} catch (error) {\n  if (error instanceof Context7Error) {\n    console.error(error.code, error.status, error.requestId, error.rateLimit);\n  }\n}\n```\n\nThe client also accepts `baseUrl`, `headers`, `keepAlive`, and a custom `fetch` implementation for\nproxies, instrumentation, tests, and runtimes that do not expose a global `fetch`. The configured\nAPI key always controls the `Authorization` header.\n\nAs in `@upstash/redis`, you can express a timeout with a fresh signal for every request:\n\n```ts\nconst client = new Context7({\n  apiKey: process.env.CONTEXT7_API_KEY,\n  signal: () => AbortSignal.timeout(10_000),\n});\n```\n\nSet `retry: false` to make exactly one request, `timeout: false` to disable the request timeout,\nor `cache: false` to omit the native fetch cache option.\n\nOnly `GET` requests are retried. Mutating requests remain single-attempt.\n\n## Docs\n\nSee the [documentation](https://context7.com/docs/sdks/ts/getting-started) for details.\n\n## Contributing\n\n### Running tests\n\n```sh\npnpm test\n```\n\nRun the live API integration tests separately with a configured API key:\n\n```sh\npnpm test:integration\n```\n\n### Building\n\n```sh\npnpm build\n```\n","readmeFilename":"README.md"}