RDF-JS is an initiative to make javascript libraries for working with RDF interoperable by working on a common JS-based data model: https://rdf.js.org/data-model-spec/
This is well-adopted, for example by the Comunica ecosystem, and allows us to pipe triples/quads from one JS library into another.
I propose a compatibility layer in which you can export an async generator of RDFJS Quads as they get generated