ozone-config
TypeScript icon, indicating that this package has built-in type declarations

6.2.4 • Public • Published

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

/ozone-config/

    Package Sidebar

    Install

    npm i ozone-config

    Weekly Downloads

    162

    Version

    6.2.4

    License

    ISC

    Unpacked Size

    14.6 kB

    Total Files

    15

    Last publish

    Collaborators

    • simonhardy
    • aduchate
    • lomancel
    • dani_rocha
    • hubjac1