@ephox/wrap-promise-polyfill
v2.2.1
Published
Wrapper for Promise
Downloads
13,928
Readme
Description
This project wraps promise-polyfill
in a bolt
namespace (ephox.wrap-promise-polyfill.Promise
).
If window.Promise is available that will be exported otherwise the polyfill will be exported.
Installation
wrap-promise-polyfill
is available as an npm
package. You can install it via the npm package @ephox/wrap-promise-polyfill
Install from npm
npm install @ephox/wrap-promise-polyfill
.
Usage
All functionality is provided on the ephox.wrap-promise-polyfill.Promise
module.