# turtle-validator

> This command line tool validates Turtle documents and does XSD datatype checks

Latest version **1.1.1** (published 2020-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install turtle-validator
pnpm add turtle-validator
yarn add turtle-validator
bun add turtle-validator
```

Provides the command `ttl`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-06-18 |
| First published | 2014-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0 |
| Dependencies | 1 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 54 |
| Author | Miel Vander Sande |
| Maintainers | miel_vds |
| Keywords | Turtle, RDF, Semantic, Web |

## Links

- npm: https://www.npmjs.com/package/turtle-validator
- Repository: https://github.com/mmlab/TurtleValidator
- Issues: https://github.com/mmlab/TurtleValidator/issues
- npm.io page: https://npm.io/package/turtle-validator

## Dependencies (1)

- [n3](https://npm.io/package/n3.md) ^1.4.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2020-06-18
- 1.0.2 — 2018-02-16
- 1.0.1 — 2015-11-26
- 1.0.0 — 2015-11-25
- 0.1.0 — 2014-04-18

## README

TurtleValidator
===========
RDF NTriples/Turtle validator using Ruben Verborgh's [N3 NodeJS library](https://github.com/RubenVerborgh/N3.js). Validate Turtle and Ntriples documents on syntax and XSD datatype errors through command line.

© 2014, 2015 - IDLab - Ghent University - imec
Source code: https://github.com/MMLab/TurtleValidator

Install:

    npm install -g turtle-validator

Examples:

    $ ttl <path-to-file ...>
    $ curl http://data.linkeddatafragments.org/dbpedia -H "accept: text/turtle" | ttl
    $ ttl http://triples.demo.thedatatank.com/demo.ttl

## Or install the browser client

```bash
# Equivalent to: npm build
npm install
browserify lib/validator.js -o public/js/ttl.js
```

Then use it in your browser using the index.html in the public folder.
You can run this locally as follows.

```bash
# Equivalent to: npm start
npm install
browserify lib/validator.js -o public/js/ttl.js
ws
```

---
_Source: https://npm.io/package/turtle-validator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
