unichat-ts
TypeScript icon, indicating that this package has built-in type declarations

2.3.20 • Public • Published

unichat

Universal API chat Node.js client for OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek and Alibaba.

Build sequence:

rm -rf dist
npx tsc
npm publish

Usage:

  1. Install the npm package:
npm install unichat-ts
  1. Add the class 'UnifiedChatApi' from module 'unichat' to your application:

  2. [optional] Import MODELS_LIST as well for additional validation

Functionality testing:

Try the eclosed in the source code 'test.js' file:

npm test

/unichat-ts/

    Package Sidebar

    Install

    npm i unichat-ts

    Weekly Downloads

    72

    Version

    2.3.20

    License

    MIT

    Unpacked Size

    50.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • amidabuddha