
Product
Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.
@dewtech/dare-graphrag
Advanced tools
DARE Framework GraphRAG - Knowledge graph with SQLite persistence and FTS5 search
Knowledge graph engine for DARE Framework with SQLite persistence (via sql.js) and semantic search.
npm install @dewtech/dare-graphrag
import { GraphRAG } from '@dewtech/dare-graphrag';
const graph = new GraphRAG('.dare/graph.db');
await graph.init();
// Add nodes
graph.addNode({
id: 'task-001',
type: 'task',
label: 'Implement authentication',
description: 'JWT-based auth with refresh tokens',
metadata: { status: 'PENDING', complexity: 'HIGH' }
});
graph.addNode({
id: 'file-auth-rs',
type: 'file',
label: 'auth.rs',
description: 'Authentication module',
metadata: { path: 'src/auth.rs', language: 'rust' }
});
// Add edges
graph.addEdge({
id: 'edge-001',
sourceId: 'task-001',
targetId: 'file-auth-rs',
type: 'implements'
});
// Semantic search (saves tokens vs reading full files)
const results = graph.searchNodes('authentication JWT', 5);
results.forEach(r => console.log(r.node.label, r.score));
// Get dependencies
const deps = graph.getNodeDependencies('task-003', 2);
// Statistics
const stats = graph.getStatistics();
console.log(`${stats.totalNodes} nodes, ${stats.totalEdges} edges`);
// Export/Import
const json = graph.exportToJson();
graph.importFromJson(json);
graph.close();
| Type | Description |
|---|---|
task | DARE task from dare-dag.yaml |
file | Source code file |
schema | Database table/schema |
endpoint | API endpoint |
component | UI component |
entity | Domain entity |
concept | Abstract concept |
| Type | Description |
|---|---|
depends_on | Task/file dependency |
implements | Task implements file/endpoint |
uses | Component uses schema/endpoint |
references | File references another file |
related_to | General relation |
contains | Parent-child containment |
extends | Inheritance/extension |
FAQs
DARE Framework GraphRAG - Knowledge graph with SQLite persistence and FTS5 search
The npm package @dewtech/dare-graphrag receives a total of 10 weekly downloads. As such, @dewtech/dare-graphrag popularity was classified as not popular.
We found that @dewtech/dare-graphrag demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.

Research
/Security News
A new npm package tests AI malware scanners with prompt injection, safety-triggering comments, context flooding, and obfuscated JavaScript.