benderjs-promise

ES6-style Promises for Bender.js

Usage no npm install needed!

<script type="module">
  import benderjsPromise from 'https://cdn.skypack.dev/benderjs-promise';
</script>

README

benderjs-promise

A polyfill for ES6-style Promises for Bender.js.

Based on ES6 Promise Polyfill.

Installation

npm install benderjs-promise

Usage

Add benderjs-promise to the plugins array in your bender.js configuration file:

var config = {
    applications: {...}

    browsers: [...],

    plugins: ['benderjs-promise'], // load the plugin

    tests: {...}
};

module.exports = config;

From now on you should be able to use Promises in browsers that don't support them natively.

License

MIT, for license details see: LICENSE.md.