w3c-dcat
A utility library to create and convert W3C DCAT in JSON.
Primarily developed for SingularData.net
Installation
npm install w3c-dcat
Use
Support DCAT spec:
;// create a new dataset classconst datasetA = ;// create a new dataset with predefined valueconst datasetB = title: 'New Dataset' ;// extend the dataset metadata with an key-value objectdatasetA;// get property valueconsole;// get a JSON copy of the dataset metadataconsole// get a DCAT datset class from other open data vendor's// dataset metadataconst datasetC = Dataset
TypeScript is natively supported. For more examples, please see tests and documentation.
Supported Vendor
w3c-dcat
is able to convert dataset metadata from the following open data vendors:
License
MIT