# digitalbazaar/jsonld.js

A JSON-LD Processor and API implementation in JavaScript

Repository: https://github.com/digitalbazaar/jsonld.js
Canonical: https://ross.abutalabs.com/products/jsonldjs
Homepage: https://json-ld.org/
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: json-ld, javascript, linked-data, rdf, semantic-web
Last push: 2026-03-04T16:43:23+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 5490, "days_push": 182, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1816, forks 212 (observed 2026-08-28T04:05:40.097947+00:00)

## What it is
A JavaScript implementation of the JSON-LD 1.0 and 1.1 W3C specifications, providing expansion, compaction, framing, and RDF dataset conversion APIs. It lets developers add linked-data semantics to JSON in Node.js and browser environments.

## Use cases
- process and expand JSON-LD documents in JavaScript
- convert JSON-LD to RDF datasets and back
- compact JSON-LD with a context for compact output
- frame JSON-LD documents to a desired shape
- add linked-data semantics to existing JSON APIs
- store linked data in JSON document databases like MongoDB

## When to choose
- you need a spec-conformant JSON-LD processor in JavaScript or TypeScript
- you are building verifiable credentials or semantic web tooling in Node.js or the browser
- you need interoperability between JSON APIs and RDF/linked data

## When to avoid
- you only need plain JSON parsing or serialization without linked-data semantics
- you need streaming JSON-LD processing (use jsonld-streaming-parser/serializer instead)
- your primary environment is not JavaScript-based

## Facets
- artifact type: library
- maturity: active
- function: serialization, parser, json
- domain: web-development, apis
- platform: browser, cross-platform
- tags: json-ld, linked-data, rdf, semantic-web, w3c-standards, data-engineering, nodejs, javascript

## Member repositories
- digitalbazaar/jsonld.js (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:40.097947+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-30T03:20:35.535525+00:00, confidence not recorded.
  - readme: https://github.com/digitalbazaar/jsonld.js (fetched 2026-08-28T04:05:40.097947+00:00, sha 4fad6b42b942)
  - homepage: https://json-ld.org/ (fetched 2026-08-29T10:59:24.039890+00:00, sha 1481aabba668)
  - site_page: https://json-ld.org/learn (fetched 2026-08-29T10:59:24.049022+00:00, sha f492e0ab9b6b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
