Skip to content

brainuslk/brainus-ai-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@brainus/ai

Official JavaScript/TypeScript SDK for the Brainus AI API - RAG-powered educational content queries with citations.

npm version TypeScript License: MIT

Features

  • TypeScript native - Full type safety with TypeScript definitions
  • Works everywhere - Node.js, Bun, Deno, Edge runtimes, browsers
  • Modern ESM/CJS - Dual export for maximum compatibility
  • Automatic retries - Configurable retry logic with exponential backoff
  • Error handling - Custom error classes for different scenarios
  • Zero dependencies - Uses native fetch API
  • Tree-shakeable - Optimized bundle size

Installation

npm install @brainus/ai

Documentation

Full documentation, quick start guide, API reference, and examples are available at:

https://developers.brainus.lk/docs/sdks/javascript

Resources

License

MIT License - see LICENSE for details.


Made with ❤️ by the Brainus team

About

Official JavaScript/TypeScript SDK for the Brainus AI API - RAG-powered educational content queries with citations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published