rdf-canonize

v4.0.1
An implementation of the RDF Dataset Canonicalization algorithm in JavaScript
JSON JSON-LD Linked Data RDF RDF Dataset Canonicalization Semantic Web jsonld rdf-canon

fetch-test-suite

if [ ! -e test-suites/rdf-canon ]; then git clone --depth 1 https://github.com/w3c/rdf-canon.git test-suites/rdf-canon; fi

test

npm run test-node

test-node

NODE_ENV=test mocha --delay -A -R spec --check-leaks test/test-node.js

test-karma

NODE_ENV=test karma start

benchmark

node benchmark/benchmark.js

coverage

NODE_ENV=test nyc npm test

coverage-ci

NODE_ENV=test nyc --reporter=lcovonly --reporter=text-summary --reporter=text npm run test

coverage-report

nyc report

lint

eslint .
npm i rdf-canonize

Metadata

Downloads