Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ldkit/library/options.ts>Options

LDkit - Linked Data query toolkit for TypeScript developers
Latest
type alias Options
import { type Options } from "https://deno.land/x/ldkit@2.0.0/library/options.ts";

LDkit options and query engine context

LDkit-specific options are:

  • engine - a query engine to use for querying data sources
  • language - a preferred language for literals
  • take - a default number of results to take (limit of SELECT queries)
  • logQuery - a function that will be called for each SPARQL query
definition: { engine?: IQueryEngine; language?: string; take?: number; logQuery?: (query: string) => void; } & Partial<QueryContext>