ozone-config
v6.3.0
Published
Ozone config loader
Downloads
91
Keywords
Readme
ozone-config
OzoneFormat
Expose Ozone media format and priority. You can use webpack alias to overwrite this package in you project.
OzoneConfig
!! WARNING !! this class is deprecated. !! Expose ozone API configuration. Configuration is loaded from ./conf.ozone.json
Usage
Import from source
<script src="../dist/ozone-config.js"></script>
<script>
OzoneConfig().get().then((config) => {
// Do something with the config
});
</script>
Using es6 import
import * as Config from 'ozone-config';
const configPromise = Config.OzoneConfig.get();
Install
$ npm install --save ozone-config