# levelgraph/levelgraph

Graph database JS style for Node.js and the Browser. Built upon LevelUp and LevelDB.

Repository: https://github.com/levelgraph/levelgraph
Canonical: https://ross.abutalabs.com/products/levelgraph
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-05-28T14:40:42+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4877, "days_push": 827, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1520, forks 123 (observed 2026-08-28T04:04:57.735151+00:00)

## What it is
LevelGraph is an embedded graph database for Node.js and the browser, built on LevelDB via the level library. It stores triples with six indices following the Hexastore approach, supporting fast graph queries, filtering, and RDF/JSON-LD data.

## Use cases
- embed a graph database in a node.js app
- store and query triples in the browser with IndexedDB
- run graph searches over RDF or JSON-LD data
- build a lightweight semantic web data store without a server
- query subject-predicate-object triples quickly

## When to choose
- you need an embedded, serverless graph store for Node.js or the browser
- your dataset fits on a single machine and you want LevelDB speed
- you work with triples, RDF, or JSON-LD data

## When to avoid
- you need a distributed or multi-user graph database like Neo4j
- you require heavy graph algorithms or SPARQL out of the box
- you need active development and a large community

## Facets
- artifact type: library
- maturity: maintenance
- function: database, search-engine
- domain: databases, web-development, developer-tools
- platform: browser
- tags: graph-database, leveldb, triples, embedded-database, rdf, key-value-store, nodejs, javascript

## Member repositories
- levelgraph/levelgraph (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:57.735151+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:54.877845+00:00, confidence not recorded.
  - readme: https://github.com/levelgraph/levelgraph (fetched 2026-08-28T04:04:57.735151+00:00, sha 3bd43495e511)
  - registry_npm: https://registry.npmjs.org/levelgraph (fetched 2026-08-29T11:35:20.135381+00:00, sha c6c8a693e6ad)
- Data as of 2026-08-30T08:39:29.467469+00:00.
