0.2.2 • Published 2 years ago

ttl-merge v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

ttl-merge

npm version

A CLI to merge multiple turtle (RDF) files into one file.

Install

npm install -g ttl-merge

Use

Use ttl-merge -h to see the options:

Options:
  -V, --version                 output the version number
  -i, --inputs <inputs...>      specify the path of turtle files or folders containing turtle files
  -e, --except [exceptions...]  set of files in input folders that won't be merged
  -p, --prefixes <prefixes>     path to JSON file containing the prefixes to be applied, e.g., { "ex": "http://example.org#" }
  -h, --help                    display help for command

Examples

  • Merge 2 files using given prefixes:

    ttl-merge -i file1.ttl file2.ttl -p path/to/prefixes/file.json > merged.ttl
  • Merge all files in folder (and its subfolders) except one specific file:

    ttl-merge -i /path/to/folder -e path/to/skipped/file.ttl > merged.ttl
0.2.1

2 years ago

0.2.2

2 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago