fatadel / canon-td

A CLI tool for canonicalizing W3C Thing Descriptions.

Home Page:https://w3c.github.io/wot-thing-description/#canonicalization-serialization-json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TD Canonicalization CLI Tool

DISCLAIMER: Work in progress. This tool is not finished yet.

Usage example:

node canon-td.js td.jsonld

As a result you will get canonical-td.jsonld file.

For convenience, you can also provide one more argument like this:

node canon-td.js td.jsonld 2

This will add an indentation of 2 spaces to the resulting file.

What's already done?

About

A CLI tool for canonicalizing W3C Thing Descriptions.

https://w3c.github.io/wot-thing-description/#canonicalization-serialization-json


Languages

Language:JavaScript 100.0%