Files
logs
node_modules
.bin
ansi-regex
ansi-styles
array-find-index
async
buffers
builtin-modules
camelcase
camelcase-keys
chalk
combined-stream
component-emitter
console-stamp
cookiejar
core-util-is
currently-unhandled
date-format
dateformat
debug
decamelize
delayed-stream
discordie
double-ended-queue
ebml
error-ex
escape-string-regexp
extend
find-up
form-data
formidable
get-stdin
graceful-fs
has-ansi
hosted-git-info
indent-string
inherits
is-arrayish
is-builtin-module
is-finite
is-utf8
isarray
load-json-file
log4js
loud-rejection
map-obj
meow
merge
methods
mime
mime-db
mime-types
minimist
mkdirp
moment
moment-timezone
ms
normalize-package-data
number-is-nan
object-assign
options
pako
parse-json
path-exists
path-type
pify
pinkie
pinkie-promise
index.js
license
package.json
readme.md
qs
read-pkg
read-pkg-up
readable-stream
redent
reduce-component
repeating
requireindex
semver
signal-exit
spdx-correct
spdx-expression-parse
spdx-license-ids
streamroller
string_decoder
strip-ansi
strip-bom
strip-indent
superagent
supports-color
trim-newlines
tweetnacl
ultron
validate-npm-package-license
ws
LICENSE
README.md
bot.js
config.json
config.json.example
package.json
2017-03-23 23:52:08 -05:00
..
2017-03-23 23:52:08 -05:00
2017-03-23 23:52:08 -05:00
2017-03-23 23:52:08 -05:00
2017-03-23 23:52:08 -05: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