function LoaderCache(options) {
  if (!(this instanceof LoaderCache)) {
    return new LoaderCache(options);
  }
  this.options = options || {};
  this.defaultType = this.options.defaultType || 'sync';
  this.types = [];
  this.decorate('resolve');
  this.decorate('get');
}
function LoaderCache(options) {
  if (!(this instanceof LoaderCache)) {
    return new LoaderCache(options);
  }
  this.options = options || {};
  this.defaultType = this.options.defaultType || 'sync';
  this.types = [];
  this.decorate('resolve');
  this.decorate('get');
}
function LoaderCache ( options ) { if ( ! ( this instanceof LoaderCache ) ) { return new LoaderCache ( options ) ; } this . options = options || { } ; this . defaultType = this . options . defaultType || 'sync' ; this . types = [ ] ; this . decorate ( 'resolve' ) ; this . decorate ( 'get' ) ; }
Create a new instance of `LoaderCache`

```js
var LoaderCache = require('loader-cache');
var loaders = new LoaderCache();
```
@api public
Create a new instance of LoaderCache