minorg / shacl2ts

Generate TypeScript from SHACL shapes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shacl2ts

Command line program and library for transforming SHACL to TypeScript.

Getting started

Install dependencies

npm install

The package is also available on npmjs as shacl2ts.

Running

Generate JSON for the SHACL AST

./cli.sh ast-json __tests__/testShapesGraph.ttl 2>/dev/null

Example SHACL

About

Generate TypeScript from SHACL shapes

License:Apache License 2.0


Languages

Language:TypeScript 99.7%Language:Shell 0.3%