jsonld-streaming-parser

v4.0.1
A fast and lightweight streaming JSON-LD parser
json linked data semantic web json-ld jsonld rdf rdfjs streaming asynchronous and 1 more...

test

jest ${1}

test-watch

jest ${1} --watch

coveralls

jest --coverage && cat ./coverage/lcov.info | coveralls

lint

tslint index.ts lib/**/*.ts test/**/*.ts test/*.ts --exclude '**/*.d.ts'

build

tsc

build-watch

tsc --watch

validate

npm ls

prepare

npm run build

version

manual-git-changelog onversion

spec

npm run spec-tordf && npm run spec-stream-tordf && npm run spec-star-tordf

spec-earl

npm run spec-earl-tordf && npm run spec-earl-stream-tordf && npm run spec-earl-star-tordf

spec-tordf

rdf-test-suite spec/parser.js https://w3c.github.io/json-ld-api/tests/toRdf-manifest.jsonld -c .rdf-test-suite-cache/ -e

spec-earl-tordf

rdf-test-suite spec/parser.js https://w3c.github.io/json-ld-api/tests/toRdf-manifest.jsonld -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-tordf.ttl

spec-stream-tordf

rdf-test-suite spec/parser.js -i '{ "streamingProfile": true }' https://w3c.github.io/json-ld-streaming/tests/stream-toRdf-manifest.jsonld -c .rdf-test-suite-cache/

spec-earl-stream-tordf

rdf-test-suite spec/parser.js -i '{ "streamingProfile": true }' https://w3c.github.io/json-ld-streaming/tests/stream-toRdf-manifest.jsonld -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-stream-tordf.ttl

spec-star-tordf

rdf-test-suite spec/parser.js https://json-ld.github.io/json-ld-star/tests/toRdf-manifest.jsonld -c .rdf-test-suite-cache/

spec-earl-star-tordf

rdf-test-suite spec/parser.js https://json-ld.github.io/json-ld-star/tests/toRdf-manifest.jsonld -c .rdf-test-suite-cache/ -o earl -p spec/earl-meta.json > spec/earl-star-tordf.ttl

spec-clean

rm -r .rdf-test-suite-cache/
npm i jsonld-streaming-parser

Metadata

  • MIT
  • Whatever
  • Ruben Taelman
  • released 9/27/2024

Downloads

Maintainers