Skip to content

evex-dev/blackbox-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@evex/blackbox-ai

Blackbox.ai client for TypeScript.

Install

The package is published via jsr.io.

deno add jsr:@evex/blackbox-ai # Deno
bunx jsr add --bun @evex/blackbox-ai # Bun
pnpm dlx jsr add --pnpm @evex/blackbox-ai # pnpm
yarn dlx jsr add --yarn @evex/blackbox-ai # Yarn
npx jsr add @evex/blackbox-ai # npm

Usage

import { generate } from '@evex/blackbox-ai'

const stream = await generate({ model: 'deepseek-v3' }, [{
  role: 'user',
  content: 'Hi, who are you',
}])
for await (const chunk of stream) {
  console.log(chunk)
}