{"_id":"native-promise","_rev":"21-a5bfcc3b7c25e0cc38bbe07750627873","name":"native-promise","description":"Get native `Promise` or falsey value if not available.","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"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":"https://registry.npmjs.org/native-promise/-/native-promise-0.0.0.tgz","integrity":"sha512-jjj5/ny3KZy4a9mfdh35PYGRLo2QkYIkDTTixMj0ofT1qnNgjF4PN0XOwcdBcwvkZkmaYmugDRpUsGRIAlV8zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMZcU2iJ3SrKoYhyZ3sDipwXwsPHmdJGXfIfoAxLhUBAiBpJonqmT2305xbaNACOjFuXAQth2m64I2Gyref0ok+2w=="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"directories":{}},"1.0.0":{"name":"native-promise","version":"1.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":"^0.1.0","is-promise":"^2.1.0","semver":"^5.0.3"},"files":["index.js"],"keywords":["check","get","native","promise","validate"],"gitHead":"36675a100de12a411191808bfc81dadb80efbf4b","bugs":{"url":"https://github.com/tunnckocore/native-promise/issues"},"homepage":"https://github.com/tunnckocore/native-promise#readme","_id":"native-promise@1.0.0","_shasum":"1116e15938d3522c183e972f6c417f6f73292646","_from":".","_npmVersion":"3.3.2","_nodeVersion":"4.0.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"1116e15938d3522c183e972f6c417f6f73292646","tarball":"https://registry.npmjs.org/native-promise/-/native-promise-1.0.0.tgz","integrity":"sha512-2wF3JhsYbs+MTC285hQ+iamy6olHagBeKLUGRhnEZhq5gz2KWGM+dVipNLLhlf4w0Q3bksmb8kO0IB5n17ky4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtrZ78+B2I3+0E+iN+gOW66MPF3M+kEFHFQ4Xi0GGZFgIhALFczxyG06CBlJWBD5JvWWXxTN4AoPjLtY8DEjKZGdD4"}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"directories":{}},"1.0.1":{"name":"native-promise","version":"1.0.1","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":{"is-promise":"^2.1.0","mukla":"^0.4.4","semver":"^5.0.3"},"files":["index.js"],"keywords":["check","get","native","promise","validate"],"gitHead":"e9d41f4434e5634f77410f6c4df4062c4f363afb","bugs":{"url":"https://github.com/tunnckocore/native-promise/issues"},"homepage":"https://github.com/tunnckocore/native-promise#readme","_id":"native-promise@1.0.1","_shasum":"6d7e9d06c3d45f51c5306da3400b7e91a5f8890e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"tunnckocore","email":"mameto_100@mail.bg"},"dist":{"shasum":"6d7e9d06c3d45f51c5306da3400b7e91a5f8890e","tarball":"https://registry.npmjs.org/native-promise/-/native-promise-1.0.1.tgz","integrity":"sha512-7ullbgLkwchq29V4XqzLxDpazaeqt4cVbAq3vRMGcza8pg+28PqRJDtJuO4M87oafwKH6MT05G6QgwViOU4iQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9013xG2jDrW5FAt/CvteNYCJpYRqeZNsiDVJ5JONCsQIgKn3nFn64n3PRH3tSN6JXkmY4qgXj1jm2gcPGCTEhfJI="}]},"maintainers":[{"name":"tunnckocore","email":"mameto_100@mail.bg"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/native-promise-1.0.1.tgz_1472077395396_0.24083058768883348"},"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","maintainers":[{"email":"super.ludiq@gmail.com","name":"vanchoy"},{"email":"mameto2011@gmail.com","name":"tunnckocore"}],"time":{"modified":"2022-06-20T20:51:30.278Z","created":"2015-09-28T23:52:04.287Z","0.0.0":"2015-09-28T23:52:04.287Z","1.0.0":"2015-09-29T00:23:23.981Z","1.0.1":"2016-08-24T22:23:17.323Z"},"homepage":"https://github.com/tunnckocore/native-promise#readme","keywords":["check","get","native","promise","validate"],"repository":{"type":"git","url":"git+https://github.com/tunnckocore/native-promise.git"},"author":{"name":"Charlike Mike Reagent","email":"@tunnckoCore","url":"http://www.tunnckocore.tk"},"bugs":{"url":"https://github.com/tunnckocore/native-promise/issues"},"license":"MIT","readmeFilename":"README.md"}