Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

promise-monofill

rsp598MIT1.0.1

A module that exports native Promise. Always.

promise, monofill, polyfill, promise-polyfill

readme

promise monofill = This module exports native Promise. Always. If it doesn't exist it throws an exception.

Installation

npm install promise-monofill --save

Usage

var P = require('promise-monofill');
P.resolve(123).then(console.log);

Issues

For any bug reports or feature requests please post an issue on GitHub.

Author

Rafał Pocztarski - https://github.com/rsp

License

MIT License (Expat). See LICENSE.md for details.