
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@musistudio/llms
Advanced tools
A universal LLM API transformation server, initially developed for the claude-code-router.
The LLM API transformation server acts as a middleware to standardize requests and responses between different LLM providers (Anthropic, Gemini, Deepseek, etc.). It uses a modular transformer system to handle provider-specific API formats.
Transformers: Each provider (e.g., Anthropic, Gemini) has a dedicated transformer class that implements:
transformRequestIn
: Converts the provider's request format to a unified format.transformResponseIn
: Converts the provider's response format to a unified format.transformRequestOut
: Converts the unified request format to the provider's format.transformResponseOut
: Converts the unified response format back to the provider's format.endPoint
: Specifies the API endpoint for the provider (e.g., "/v1/messages" for Anthropic).Unified Formats:
UnifiedChatRequest
and UnifiedChatResponse
types.Streaming Support:
Request:
Response:
npm install
# or pnpm install
npm run dev
# Uses nodemon + tsx for hot-reloading src/server.ts
npm run build
# Outputs to dist/cjs and dist/esm
npm test
# See CLAUDE.md for details
@
is mapped to the src
directory, use import xxx from '@/xxx'
..env
and config.json
, see src/services/config.ts
.FAQs
A universal LLM API transformation server
The npm package @musistudio/llms receives a total of 12,084 weekly downloads. As such, @musistudio/llms popularity was classified as popular.
We found that @musistudio/llms 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.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.