@yogesh0333/yogiway-prompt
Version:
Free & Open Source Prompt Optimization Library - Save 30-50% on AI API costs. Multi-language, multi-platform support.
33 lines (32 loc) • 1.31 kB
TypeScript
/**
* YOGIWAY Prompt - Free & Open Source Prompt Optimization Library
*
* Features:
* - Multi-language support (TypeScript, JavaScript, Python, etc.)
* - Multi-platform (Node.js, Browser, Deno, Bun)
* - Token optimization (save 30-50% on API costs)
* - Context window management
* - Cost estimation
* - Prompt compression
* - Smart chunking
* - All premium features for FREE
*/
export * from './types';
export type { TokenCountResult } from './tokenizer';
export * from './tokenizer-official';
export * from './multi-language';
export * from './semantic-optimizer';
export * from './streaming';
export * from './pricing-fetcher';
export * from './advanced-algorithms';
export type { CostEstimate } from './cost-calculator';
export type { Chunk, ChunkOptions } from './chunker';
export type { FormatOptions } from './formatter';
export * from './optimizer';
export { countTokens, getTokenCount, estimateOutputTokens } from './tokenizer';
export { manageContextWindow } from './context-manager';
export { calculateCost, compareCosts, calculateSavings } from './cost-calculator';
export { chunkText } from './chunker';
export { formatPrompt } from './formatter';
export { YogiwayPrompt } from './yogiway-prompt';
export { optimize, count, getCost, getSavings, chunk, format } from './yogiway-prompt';