shex.js javascript package
https://shex.js.org/ ↗// readme
shex.js
shex.js javascript implementation of Shape Expressions (try online)
install
npm install --save shex
test
npm ci
npm test
See building and testing below for the full development story.
branch-specific tests
The shex.js repo includes several branches for features that are in-flight in the ShEx Community Group. Each branch depends on the corresponding branch of the shexTest test suite. The package.json file for each branch SHOULD have that corresponding shexTest branch à la:
"shex-test": "github:shexSpec/shexTest#extends"
The test harness prefers a ../shexTest sibling checkout and otherwise uses the shex-test npm dependency. If you test from a sibling clone, keep its branch aligned with your shex.js branch; the pre-commit hook (npm run check-branch-deps) whines when main isn’t testing against shexTest#main.
validation
You can validate RDF data using the shex-validate executable or the…