UNPKG

shaclc-parse

Version:

A parser for files written with SHACL compact syntax

9 lines (6 loc) 236 B
import { Quad } from '@rdfjs/types'; export interface ParseOptions { extendedSyntax?: boolean; baseIRI?: string; } export declare function parse(str: string, options?: ParseOptions): Quad[] & { prefixes: Record<string, string> };