@@ -13,6 +13,7 @@ each result back to a JSON path and line (`address[0].postcode`, not `_:b3`),
1313words it from the shape's own descriptions, and ships a CLI and report formats.
1414
1515** [ Documentation site] ( https://theodi.github.io/data-standard-validator/ ) ** ·
16+ [ npm package] ( https://www.npmjs.com/package/@theodi/data-standard-validator ) ·
1617[ CLI reference] ( docs/cli.md ) · [ Library API] ( docs/api.md ) ·
1718[ How it works] ( docs/how-it-works.md ) ·
1819[ Web component] ( https://github.com/theodi/data-standard-validator-component ) ·
@@ -23,14 +24,17 @@ words it from the shape's own descriptions, and ships a CLI and report formats.
2324Requires Node.js 22 or later.
2425
2526``` bash
26- npm install --save-dev @theodi/data-standard-validator # in a project
27- npx @theodi/ data-standard-validator --help # or run it without installing
27+ npm install --save-dev @theodi/data-standard-validator
28+ npx data-standard-validator --help
2829```
2930
31+ For one-off use without adding it to a project, run
32+ ` npx --yes @theodi/data-standard-validator --help ` .
33+
3034## Example
3135
3236``` bash
33- npx @theodi/data-standard-validator -s person-shape.ttl person.json
37+ npx --yes @theodi/data-standard-validator -s person-shape.ttl person.json
3438```
3539
3640``` text
@@ -56,11 +60,11 @@ report as JSON and Markdown.
5660## Command line
5761
5862``` bash
59- npx @theodi/ data-standard-validator -s shapes.ttl data.json
63+ npx data-standard-validator -s shapes.ttl data.json
6064```
6165
62- Once installed in a project, the command is ` data-standard-validator ` . The exit
63- code is 0 when every document conforms and 1 when one does not. See
66+ The command is available through ` npx ` after installation . The exit code is 0
67+ when every document conforms and 1 when one does not. See
6468the [ CLI reference] ( docs/cli.md ) for every option, output format and exit code.
6569
6670## Library
0 commit comments