https://github.com/constraintautomaton/shape-tree-in-solidbench-generator
https://github.com/constraintautomaton/shape-tree-in-solidbench-generator
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/constraintautomaton/shape-tree-in-solidbench-generator
- Owner: constraintAutomaton
- Created: 2023-11-13T22:06:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-15T08:53:26.000Z (over 2 years ago)
- Last Synced: 2025-04-03T00:26:45.559Z (about 1 year ago)
- Language: TypeScript
- Size: 665 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shape-tree-in-solid-bench
A library to add RDF shape and [shape trees](https://shapetrees.org/) into [SolidBench](https://github.com/SolidBench/SolidBench.js)
## Installation
```bash
bun install
```
## Usage
```ts
import * as STG from 'shape-tree-in-solid-bench';
const config: STG.Config = {
pods_folder: "{path of the pods}", // example "out-fragments/http/localhost_3000/pods"
shape_folders: "{folder of the shapes}", // example at `./shapes` in this repository
generate_shape: STG.getShapeFromPath,
generate_shape_trees: STG.generateShapeTreesFile,
};
STG.walkSolidPods(config);
```
## TO DO
Make a better build file