Update parseRdf.ts

I think this example is missing an await call
main
Tim Standen 1 year ago committed by GitHub
parent 5c04bf2a60
commit bc52a18b90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      packages/ldo/src/parseRdf.ts

@ -24,7 +24,7 @@ import type { LdoDataset } from "./LdoDataset";
* import { parseRdf } from "ldo";
*
* const rawTurtle = "...";
* const ldoDataset = parseRdf(rawTurtle, { baseIRI: "https://example.com/" });
* const ldoDataset = await parseRdf(rawTurtle, { baseIRI: "https://example.com/" });
* ```
*/
export async function parseRdf(

Loading…
Cancel
Save