{"name":"native-promise","version":"0.0.0","description":"Get native Promise or falsey value if not available.","repository":{"type":"git","url":"git+https://github.com/tunnckocore/native-promise.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"main":"index.js","license":"MIT","scripts":{"test":"standard && node test.js"},"dependencies":{},"devDependencies":{"assertit":"*","is-promise":"^2.1.0","semver":"*"},"files":["index.js"],"keywords":["check","get","native","promise","validate"],"gitHead":"b2502f1db0bacbd3da2d14124e33f599586e71a1","bugs":{"url":"https://github.com/tunnckocore/native-promise/issues"},"homepage":"https://github.com/tunnckocore/native-promise#readme","_id":"native-promise@0.0.0","_shasum":"205a5c36721bf6e37dc352a9757e95e970e5dd25","_from":".","_npmVersion":"3.3.2","_nodeVersion":"4.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"205a5c36721bf6e37dc352a9757e95e970e5dd25","tarball":"http://registry-npm.ywwl.com/native-promise/download/native-promise-0.0.0.tgz","integrity":"sha512-jjj5/ny3KZy4a9mfdh35PYGRLo2QkYIkDTTixMj0ofT1qnNgjF4PN0XOwcdBcwvkZkmaYmugDRpUsGRIAlV8zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMZcU2iJ3SrKoYhyZ3sDipwXwsPHmdJGXfIfoAxLhUBAiBpJonqmT2305xbaNACOjFuXAQth2m64I2Gyref0ok+2w=="}],"size":2580,"noattachment":false,"key":"/native-promise/-/native-promise-0.0.0.tgz"},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"directories":{},"readme":"# [native-promise][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] \n\n> Get native `Promise` or falsey value if not available.\n\n[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]\n\n\n## Install\n```\nnpm i native-promise --save\n```\n\n\n## Usage\n> For more use-cases see the [tests](./test.js)\n\n```js\nvar NativePromise = require('native-promise')\n\nif (NativePromise) {\n  var promise = NativePromise.resolve(123)\n  promise.then(function (res) {\n    console.log(res) //=> 123\n  })\n} else {\n  console.log(NativePromise) //=> false\n}\n```\n\n\n## Related\n- [always-done](https://github.com/tunnckoCore/always-done): Handles completion and errors of anything!\n- [always-promise](https://github.com/tunnckoCore/always-promise): Promisify basically **everything**.\n- [native-or-another](https://github.com/tunnckoCore/native-or-another): Always will expose native `Promise` if available, otherwise `Bluebird` but only if you don't give another promise module like `q` or `promise` or what you want.\n- [redolent](https://github.com/tunnckoCore/redolent): Simple promisify a callback-style function with sane defaults.\n\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/tunnckoCore/native-promise/issues/new).  \nBut before doing anything, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines.\n\n\n## [Charlike Make Reagent](http://j.mp/1stW47C) [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url]\n\n[![tunnckocore.tk][author-www-img]][author-www-url] [![keybase tunnckocore][keybase-img]][keybase-url] [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]\n\n\n[npmjs-url]: https://www.npmjs.com/package/native-promise\n[npmjs-img]: https://img.shields.io/npm/v/native-promise.svg?label=native-promise\n\n[license-url]: https://github.com/tunnckoCore/native-promise/blob/master/LICENSE.md\n[license-img]: https://img.shields.io/badge/license-MIT-blue.svg\n\n\n[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/native-promise\n[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/native-promise.svg\n\n[travis-url]: https://travis-ci.org/tunnckoCore/native-promise\n[travis-img]: https://img.shields.io/travis/tunnckoCore/native-promise.svg\n\n[coveralls-url]: https://coveralls.io/r/tunnckoCore/native-promise\n[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/native-promise.svg\n\n[david-url]: https://david-dm.org/tunnckoCore/native-promise\n[david-img]: https://img.shields.io/david/dev/tunnckoCore/native-promise.svg\n\n[standard-url]: https://github.com/feross/standard\n[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n\n\n[author-www-url]: http://www.tunnckocore.tk\n[author-www-img]: https://img.shields.io/badge/www-tunnckocore.tk-fe7d37.svg\n\n[keybase-url]: https://keybase.io/tunnckocore\n[keybase-img]: https://img.shields.io/badge/keybase-tunnckocore-8a7967.svg\n\n[author-npm-url]: https://www.npmjs.com/~tunnckocore\n[author-npm-img]: https://img.shields.io/badge/npm-~tunnckocore-cb3837.svg\n\n[author-twitter-url]: https://twitter.com/tunnckoCore\n[author-twitter-img]: https://img.shields.io/badge/twitter-@tunnckoCore-55acee.svg\n\n[author-github-url]: https://github.com/tunnckoCore\n[author-github-img]: https://img.shields.io/badge/github-@tunnckoCore-4183c4.svg\n\n[freenode-url]: http://webchat.freenode.net/?channels=charlike\n[freenode-img]: https://img.shields.io/badge/freenode-%23charlike-5654a4.svg\n\n[new-message-url]: https://github.com/tunnckoCore/ama\n[new-message-img]: https://img.shields.io/badge/ask%20me-anything-green.svg","publish_time":1443484324287,"_cnpm_publish_time":1443484324287,"dist-tags":{"latest":"1.0.1"}}