Skip to content

toTurtle

Converts a Linked Data Object to a Turtle string

Usage

import { toTurtle } from "@ldo/ldo"
// ...
const rawTurtle: string = await toTurtle(profile);

Definition

toTurtle(ldo: LdoBase): Promise<string> 

Parameters

  • ldo: Any linked data object