1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
---
title: "JSZip.external"
layout: default
section: api
---
JSZip uses objects that may not exist on every platform, in which case it uses
a shim.
Accessing or replacing these objects can sometimes be useful. JSZip.external
contains the following properties :
* `Promise` : the [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) implementation used.
The global object is preferred when available.
__Example__
```js
// use bluebird instead
JSZip.external.Promise = Bluebird;
// use the native Promise object:
JSZip.external.Promise = Promise;
```
|