vizabi-metadata-generator
v0.0.9
Published
Vizabi metadata generator
Downloads
12
Readme
vizabi-metadata-generator
Install
npm i vizabi-metadata-generator
Test
npm test
Usage
const MetadataGenerator = require('vizabi-metadata-generator').MetadataGenerator;
const metadataGenerator = new MetadataGenerator('some_ddf_path');
metadataGenerator.generate((err, metadataDescriptor) => {
// metadataDescriptor.metadata
// metadataDescriptor.translations
});
Client
npm i vizabi-metadata-generator -g
metadata-generator-ddf ddf-folder
metadata.json
and en.json
will be written to current folder