Skip to content

A CLI for running jsonld commands over ndjson (newline-delimited json) files

License

Notifications You must be signed in to change notification settings

cns-iu/ndjsonld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndjsonld

A CLI for running jsonld commands over ndjson (newline-delimited json) files

npm version npm

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

Usage: ndjsonld [options] [command]

A CLI for running jsonld commands over ndjson (newline-delimited json) files

Options:
  -h, --help                                     display help for command

Commands:
  canonize [options] <ndjsonFile> <outputQuads>  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

Usage: ndjsonld canonize [options] <ndjsonFile> <outputQuads>

Canonize an ndjson file to nquads

Options:
  -c, --context <contextFile>
  --unsafe
  -h, --help                   display help for command

About

A CLI for running jsonld commands over ndjson (newline-delimited json) files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published