codeql-action/node_modules/pinkie-promise
Andrew Eisenberg c4a84a93d4 Add the github-linguist package
This commit only adds a single package and all of its transitive
dependencies. The github-linguist package will be used for counting
lines of code as a baseline for databases we are analyzing.
2021-04-22 15:59:49 -07:00
..
index.js Add the github-linguist package 2021-04-22 15:59:49 -07:00
license Add the github-linguist package 2021-04-22 15:59:49 -07:00
package.json Add the github-linguist package 2021-04-22 15:59:49 -07:00
readme.md Add the github-linguist package 2021-04-22 15:59:49 -07:00

pinkie-promise Build Status

ES2015 Promise ponyfill

Module exports global Promise object (if available) or pinkie Promise polyfill.

Install

$ npm install --save pinkie-promise

Usage

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

new Promise(function (resolve) { resolve('unicorns'); });
//=> Promise { 'unicorns' }
  • pify - Promisify a callback-style function

License

MIT © Vsevolod Strukchinsky