UNPKG
shaclc-parse
Version:
latest (2.0.0)
2.0.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
A parser for files written with SHACL compact syntax
github.com/jeswr/shaclcjs
jeswr/shaclcjs
shaclc-parse
/
lib
/
index.d.ts
9 lines
(6 loc)
•
236 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
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
> };