
tarekraafat/skalex
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AI-first、ゼロ依存性JavaScriptデータベース。 ベクトル検索、エージェントメモリ、MCPサーバー、および内蔵の暗号化。 Node.js、Ban、Deno、ブラウザ、およびエッジランタイム.
概要
Skalexは、サーバー、コンフィグなし、外部サービスなし、単一のゼロ依存パッケージで出荷します。 Node.js、Ban、Deno、ブラウザ、およびエッジランタイムにskalexをインストールします。 すべてのAI機能 - 同等性検索、圧縮、db.ask() NLP クエリと Claude デスクトップおよび Cursor 用の 1 行 MCP サーバー - は、追加の依存関係をゼロでコアに構築されています。 すべてのデータは、プロセスのヒープ - db.connect() ですべてのデータを読み込み、即時、ゼロオーバーヘッドアクセスを実現します。 ストレージアダプタは、データがどれだけフィットするかを制御します。 データセットがRAMに収まる単一プロセス、ローカルファーストのワークロード用に設計された:AIエージェント、CLIツール、デスクトップアプリ、エッジワーカー、オフラインファーストアプリ。 PostgreSQL や MongoDB の大規模、マルチプロセス、分散システムへの交換は行いません。 - : パッケージをインストールします。 ドライバなし、ORMなし、サーバー処理なし。 - : フルコアバンドルは ~28 KB の gzipped.
概要(AI 翻訳)
AI-first・Isomorphic・ゼロ依存性・軽量・ローカル優先
[[
Skalex] は、vector の検索、エージェントのメモリ、自然言語のクエリ、MCP サーバー、および AES-256-GCM の暗号化 を単一のゼロ依存パッケージで送出します。サーバー、コンフィグなし、外部サービスはありません。 Node.js、Ban、Deno、ブラウザ、およびエッジランタイムの1つの[npm install skalex]。 すべてのAI機能 - コサインの類似性検索、コンプレッション付きのセマンティックエージェントメモリ、[[db.ask()]]任意のLLMを介してNLPクエリ、およびClaudeデスクトップおよびCursor用の1ラインMCPサーバーは、ゼロ追加の依存関係を持つコアに構築されています。
**アーキテクチュア+フィット:**すべてのデータがプロセスのヒープ - [[[
db.connect()]にロードされ、即時、ゼロオーバーヘッドアクセス。 ストレージアダプタは、データがどれだけフィットするかを制御します。 データセットがRAMに収まる単一プロセス、ローカルファーストのワークロード用に設計された:AIエージェント、CLIツール、デスクトップアプリ、エッジワーカー、オフラインファーストアプリ。 PostgreSQL や MongoDB の大規模、マルチプロセス、分散システムへの交換は行いません。
お問い合わせ
##特徴
ゼロオーバーヘッド。 最高の範囲。
- ゼロの依存関係:パッケージ、他に何もインストールしません。 ドライバなし、ORMなし、サーバー処理なし.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Skalex
AI-first · Isomorphic · Zero-dependency · Lightweight · Local-first
Skalexships vector search, agent memory, natural language queries, an MCP server, and AES-256-GCM encryption in a single zero-dependency package - no server, no config, no external services. Onenpm install skalexon Node.js, Bun, Deno, browsers, and edge runtimes. All AI capabilities - cosine similarity search, semantic agent memory with compression,db.ask()NLP queries via any LLM, and a one-line MCP server for Claude Desktop and Cursor - are built into the core with zero additional dependencies.
Architecture + fit: all data lives in your process’s heap -
db.connect()loads the full dataset for instant, zero-overhead access. Storage adapters control where data persists, not how much fits. Designed for single-process, local-first workloads where the dataset fits in RAM: AI agents, CLI tools, desktop apps, edge workers, offline-first apps. Not a replacement for PostgreSQL or MongoDB for large-scale, multi-process, or distributed systems.
Features
Zero overhead. Maximum reach.
- Zero dependencies: install the package, nothing else. No driver, no ORM, no server process.
- Lightweight, and staying that way: the full core bundle is ~28 KB gzipped. That is a promise, not a snapshot - a hard byte budget is enforced in CI on every push and PR, so Skalex will not quietly bloat.
- Full build matrix: ESM, ESM minified, CJS, CJS minified, browser ESM (
dist/skalex.browser.js, nonode:*imports), UMD/IIFE (dist/skalex.umd.min.js, CDN default) - Runs everywhere: Node.js ≥18, Bun, Deno 2.x, browser (Chrome/Firefox/Safari), edge runtimes. Verified by 1,164 tests (935 unit/integration + 229 cross-runtime smoke) gated by CI on every push and PR
- Pluggable storage:
FsAdapter(Node),LocalStorageAdapter(browser),EncryptedAdapter(AES-256-GCM), or bring your own
Queries that scale with your data.
- Full operator set:
$eq$ne$gt$gte$lt$lte$in$nin$regex$fn$or$and$not - Dot-notation nested field queries
- Secondary field indexes: O(1) lookups via
IndexEngine - Unique constraints, filter pre-sorter for performance
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →