cubx-webpackage-document-api
v3.5.0
Published
API for a webpackage document (e.g. the validation functionality)
Downloads
6
Readme
cubx-webpackage-document-api
This lib is part of the Cubbles platform. I provides an api for a webpackage document, e.g. with a method for validation.
Install
$ npm install cubx-webpackage-document-api
API
var WebpackageDocumentAPI = require('webpackage-document-api');
var webpackageApi = new WebpackageDocumentAPI(manifestWebpackage);
webpackageApi.setManifestWebapp(webappManifest)
webpackageApi.setManifestCubx(cubxManifest);
webpackageApi.setManifestComponent(webbleManifest);
var couchDocument = webpackageApi.getWebpackageDocument();
Issues: https://github.com/cubbles/cubx-webpackage-document-api/issues
Docs https://cubbles.atlassian.net/wiki/display/CDT