Skip to content

Latest commit

 

History

History

ozone-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NPM version

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