
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
openrouter-ts
Advanced tools
A production-ready TypeScript client library for the OpenRouter API. This library provides comprehensive access to multiple AI models through OpenRouter's unified interface with full TypeScript support, streaming, error handling, and developer-friendly utilities.
npm install @openrouter/typescript-client
import { OpenRouterClient, MODELS } from '@openrouter/typescript-client';
const client = new OpenRouterClient({
apiKey: process.env.OPENROUTER_API_KEY!,
siteUrl: 'https://yoursite.com', // Optional: for rankings
siteName: 'Your App Name' // Optional: for rankings
});
// Basic chat completion
const response = await client.chat.completions.create({
model: MODELS.GPT_4O,
messages: [
{ role: 'user', content: 'Hello! How are you?' }
]
});
console.log(response.choices[0]?.message?.content);
MIT License. See LICENSE for details.
FAQs
A production-ready TypeScript client library for the OpenRouter API
The npm package openrouter-ts receives a total of 805 weekly downloads. As such, openrouter-ts popularity was classified as not popular.
We found that openrouter-ts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.