Skip to content

createLdoDatasetFactory

createLdoDatasetFactory is a helper function that creates an LdoDatasetFactory.

This function exists for parity with RDF/JS. Most developers will not use it. Instead, it's better to use createLdoDataset.

Usage

import { createLdoDatasetFactory } from "@ldo/ldo";

const ldoDatasetFactory = createLdoDatasetFactory();
const ldoDataset = ldoDatasetFactory.dataset(initialDataset);

Definition

createLdoDatasetFactory(): Promise<LdoDatasetFactory>