Skip to content

mrdaniellewis/node-require-promise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Promise polyfill wrapper

This is a wrapper around promise-polyfill. It either returns the native Promise (in Node >= 0.12), or promise-polyfill (in Node <= 0.10).

It just makes it easier to add the require.

var Promise = require('require-promise');

If you did this with require('require-promise') you would always get the polyfill.

About

A wrapper around promise-polyfill to make the include easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published