{"_id":"@biz-dev-ops/model-viewer-component","_rev":"1-6588777867d8780c32e8066b21dabf70","name":"@biz-dev-ops/model-viewer-component","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.5":{"name":"@biz-dev-ops/model-viewer-component","version":"0.1.5","description":"Webcomponent to translate any JSON schema into a model view.","keywords":["jsonschema","webcomponent","html5","model viewer"],"repository":{"type":"git","url":"git+https://github.com/synionnl/model-viewer.git"},"author":{"name":"Sader Tiekstra"},"license":"Apache 2.0","bugs":{"url":"https://github.com/synionnl/model-viewer/issues"},"homepage":"https://github.com/synionnl/model-viewer/blob/main/README.md","type":"module","main":"dist/model-viewer.js","module":"dist/model-viewer.js","scripts":{"develop":"webpack-dev-server --mode development","build":"webpack --mode production","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"html-webpack-plugin":"^5.5.3","lit":"^2.7.5"},"devDependencies":{"@webcomponents/webcomponentsjs":"^2.8.0","copy-webpack-plugin":"^11.0.0","minify-html-literals-loader":"^1.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.1","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1"},"_id":"@biz-dev-ops/model-viewer-component@0.1.5","gitHead":"a2bd855238953dbeccf33ef4fe2ddcd2a7bfa3af","types":"./dist/model-viewer.d.ts","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-jBP+MQH0qw6MwEZmEeNqc+YuV7MRHL7tsbN9yV1tvv7ZhO0C9DiYisum1qUHjpB5SH44OOGQvPEuyVitZyxpfA==","shasum":"ed3a7ab21511047ccfba682f82bcc11b00c268e0","tarball":"https://registry.npmjs.org/@biz-dev-ops/model-viewer-component/-/model-viewer-component-0.1.5.tgz","fileCount":33,"unpackedSize":202732,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5Rc7RwkF7kncvHlMGT4sJ12ifbx7InIs7xDgbWOtR/AiEAxdLJtasR1cqmTseuA4xroAW9ni6pjz9OJyCaY8VIRyo="}]},"_npmUser":{"name":"arjangeertsema","email":"arjan@synion.nl"},"directories":{},"maintainers":[{"name":"stiekstra","email":"info@sandertiekstra.nl"},{"name":"arjangeertsema","email":"arjan@synion.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/model-viewer-component_0.1.5_1699885858327_0.4246958217004859"},"_hasShrinkwrap":false},"0.2.0":{"name":"@biz-dev-ops/model-viewer-component","version":"0.2.0","description":"Webcomponent to translate any JSON schema into a model view.","keywords":["jsonschema","webcomponent","html5","model viewer"],"repository":{"type":"git","url":"git+https://github.com/synionnl/model-viewer.git"},"author":{"name":"Sader Tiekstra"},"license":"Apache 2.0","bugs":{"url":"https://github.com/synionnl/model-viewer/issues"},"homepage":"https://github.com/synionnl/model-viewer/blob/main/README.md","type":"module","main":"dist/model-viewer.js","module":"dist/model-viewer.js","scripts":{"develop":"webpack-dev-server --mode development","build":"webpack --mode production","test":"echo \"Error: no test specified\" && exit 1"},"dependencies":{"html-webpack-plugin":"^5.5.3","lit":"^2.7.5"},"devDependencies":{"@webcomponents/webcomponentsjs":"^2.8.0","copy-webpack-plugin":"^11.0.0","minify-html-literals-loader":"^1.1.1","ts-loader":"^9.4.4","typescript":"^5.1.6","webpack":"^5.88.1","webpack-cli":"^5.1.4","webpack-dev-server":"^4.15.1"},"_id":"@biz-dev-ops/model-viewer-component@0.2.0","gitHead":"4d2a9056155cd4823f467a811d80049187297488","types":"./dist/model-viewer.d.ts","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-+NALsQprl+IoV2c7fSTz5du6t3ufbKLSPWQFQ8voDRc/MheEzEj14U7sDgBfbpB4267SnjS1XAjCndxEST69PA==","shasum":"2eff3302121c607a3c3d41c15e9aa882d02956f1","tarball":"https://registry.npmjs.org/@biz-dev-ops/model-viewer-component/-/model-viewer-component-0.2.0.tgz","fileCount":33,"unpackedSize":202749,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+YLvIck2++3HrKy5Oeccovacm2Gjho0bLT/ye5KeC/QIhAIOKnDpv+8fix9BntbGISrt2nNmENLJ7BhybJYkL/JpD"}]},"_npmUser":{"name":"arjangeertsema","email":"arjan@synion.nl"},"directories":{},"maintainers":[{"name":"stiekstra","email":"info@sandertiekstra.nl"},{"name":"arjangeertsema","email":"arjan@synion.nl"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/model-viewer-component_0.2.0_1699903166972_0.789514382463308"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-13T14:30:58.209Z","0.1.5":"2023-11-13T14:30:58.471Z","modified":"2023-11-13T19:19:27.411Z","0.2.0":"2023-11-13T19:19:27.186Z"},"maintainers":[{"name":"stiekstra","email":"info@sandertiekstra.nl"},{"name":"arjangeertsema","email":"arjan@synion.nl"}],"description":"Webcomponent to translate any JSON schema into a model view.","homepage":"https://github.com/synionnl/model-viewer/blob/main/README.md","keywords":["jsonschema","webcomponent","html5","model viewer"],"repository":{"type":"git","url":"git+https://github.com/synionnl/model-viewer.git"},"author":{"name":"Sader Tiekstra"},"bugs":{"url":"https://github.com/synionnl/model-viewer/issues"},"license":"Apache 2.0","readme":"# Model Viewer for [md-docs](https://github.com/synionnl/md-docs-cli)\n\nHTML5 web component which renders every JSON-schema object into a human-readable and -understandable form.\n\n## Usage\n\n- Add `model-viewer.js` to the webpage\n- Add the model JSON to the global object `window.modelViewer `.\n- Add the `<model-viewer></model-viewer>` to the page\n\n## Attributes\n\n### id\n\nThe id attribute identifies the property within the `window.modelViewer`. \n\n### name\n\nThe name attribute is a human-readable name fallback. Only used when the model doesn't provide a title.\n\n### data-json\n\nA HTML escaped version of the JSON-schema model.\n\n### model\n\nThe JSON-schema model, must be set via JavaScript.\n\n## Examples\n\n### HTML\n\n```html\n<model-viewer \n    id=\"trainset\"\n    name=\"a name\"\n    data-json=\"{ &quot;key &quot;: &quot;value &quot; }\" />\n```\n\n### HTML and JavaScript\n\n```html\n<model-viewer id=\"trainset\" />\n\n<script>\n    document.getElementById('trainset').model = {\n    \tjson-schema...\n    }\n<script>\n```\n","readmeFilename":"README.md"}