https://github.com/cns-iu/ndjsonld
A CLI for running jsonld commands over ndjson (newline-delimited json) files
https://github.com/cns-iu/ndjsonld
Last synced: 3 months ago
JSON representation
A CLI for running jsonld commands over ndjson (newline-delimited json) files
- Host: GitHub
- URL: https://github.com/cns-iu/ndjsonld
- Owner: cns-iu
- License: mit
- Created: 2023-08-21T20:06:01.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T15:44:47.000Z (almost 2 years ago)
- Last Synced: 2025-02-27T00:04:29.541Z (4 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ndjsonld
A CLI for running jsonld commands over ndjson (newline-delimited json) files[](https://badge.fury.io/js/ndjsonld) 
## Installation
You can install globally via npm: `npm install -g ndjsonld`. Afterwards, the `ndjsonld` CLI will be available on command-line.
## Limitations
Currently only `canonize` is implemented. I plan to do the others, but I had an immediate need for `canonize`.
## Usage
```bash
Usage: ndjsonld [options] [command]A CLI for running jsonld commands over ndjson (newline-delimited json) files
Options:
-h, --help display help for commandCommands:
canonize [options] Canonize an ndjson file to nquads
format Help Wanted
lint Help Wanted
compact Help Wanted
expand Help Wanted
flatten Help Wanted
frame Help Wanted
toRdf Help Wanted
help [command] display help for command
```For `canonize`
```bash
Usage: ndjsonld canonize [options]Canonize an ndjson file to nquads
Options:
-c, --context
--unsafe
-h, --help display help for command
```