ldfetch
JSON →An HTTP client for fetching Linked Data RDF resources in Node.js and the browser. Current stable version is 1.2.8. It enhances standard fetch by setting appropriate Accept headers for RDF serializations, uses rdf-parse to support multiple RDF formats, returns triples/quads in RDFJS representation, and emits events for request lifecycle. It automatically follows redirects, supports HTTP caching, and can limit concurrent requests. The CLI tool can output TriG or use JSON-LD framing. Key differentiators: single library for both Node.js and browser, event-driven, and built on top of rdf-parse for broad format support.
Resources
packageldfetch ↗