All 49 Dependencies

Every package Orama depends on, ranked by repo health score.

Orama is a high-performance, dependency-free search engine built entirely in TypeScript that runs wherever JavaScript runs—browsers, Node.js, Deno, and edge runtimes like Cloudflare Workers—without requiring any external infrastructure. It ships as a single, tree-shakeable ES module under 2KB and supports full-text search with BM25 ranking, vector search with configurable embedding dimensions, and hybrid search that merges both approaches with configurable weighting.

Beyond raw search, Orama provides a complete RAG (Retrieval-Augmented Generation) pipeline through its AnswerSession API, which retrieves relevant documents from the search index and feeds them into OpenAI-compatible chat models to deliver ChatGPT-style conversational responses. The plugin ecosystem extends this with automatic embedding generation at insert time via TensorFlow.js, a secure proxy plugin for calling OpenAI APIs from the browser without exposing API keys, and framework integrations for Vitepress, Docusaurus, Astro, and Nextra.

Orama's text analysis layer includes BM25 scoring, stemming in over 30 languages (including Chinese and Japanese), diacritics normalization, configurable stop words, typo tolerance via Levenshtein distance on a radix tree index, exact match mode, and field boosting. Structured search is handled through filters on string, number, boolean, and enum fields, faceted navigation, geospatial search via geopoint coordinates, result grouping, and merchandising rules (pinning) that let you force specific documents to the top of results.

The project is organized as a pnpm monorepo with Turbo orchestrating the build graph across 18 packages. The core engine is tested by 46 test files using the tap framework with c8 coverage, Playwright browser smoke tests, and tsd for TypeScript type-level tests. Installation is a single npm command or a direct CDN import for browser use cases, with full documentation at docs.orama.com.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search