promise-prototype

Get the prototytpe of the Promise class (Native ES6, Bluebird, Q, RSVP, etc.)

Usage no npm install needed!

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

README

promise-prototype Travis Coverage Status Downloads

Get the prototytpe of the Promise class (Native ES6, Bluebird, Q, RSVP, etc.)

Install

Install with npm

$ npm i promise-prototype --save

Usage

var Promise = require('any-promise');
var promisePrototype = require('promise-prototype')(Promise);

API

{%= apidocs("index.js") %}

Related projects

{%= related([]) %}

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Andreas Pizsa

License

Copyright © 2016 Andreas Pizsa Released under the MIT license.


This file was generated by verb-cli on February 11, 2016.