function exposeFormat(name, path) {
  path = path || name;
  Object.defineProperty(format, name, {
    get() {
      return require(`./${path}.js`);
    },
    configurable: true
  });
}
/*
 * @api private
 * method {function} exposeFormat
 * Exposes a sub-format on the main format object
 * as a lazy-loaded getter.
 */
@api private
method {function} exposeFormat
Exposes a sub-format on the main format object
as a lazy-loaded getter.
@api private method { function } exposeFormat Exposes a sub - format on the main format object as a lazy - loaded getter .
function exposeFormat(name, path) {
  path = path || name;
  Object.defineProperty(format, name, {
    get() {
      return require(`./${path}.js`);
    },
    configurable: true
  });
}
function exposeFormat ( name , path ) { path = path || name ; Object . defineProperty ( format , name , { get ( ) { return require ( ` ${ path } ` ) ; } , configurable : true } ) ; }
@api private
 method {function} exposeFormat
 Exposes a sub-format on the main format object
 as a lazy-loaded getter.
@api private method { function } exposeFormat Exposes a sub - format on the main format object as a lazy - loaded getter .