{"name":"timeout-then","description":"setTimeout as promised","version":"1.1.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/thenables/timeout-then.git"},"dependencies":{"any-promise":"^1.3.0"},"devDependencies":{"bluebird":"^3.4.0","istanbul":"^0.4.3","mocha":"^2.5.3"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"keywords":["settimeout","timeout","promise","then"],"files":["index.js"],"gitHead":"85dbe8271f33bd6bd824f31d4e6f1117278e07e8","bugs":{"url":"https://github.com/thenables/timeout-then/issues"},"homepage":"https://github.com/thenables/timeout-then#readme","_id":"timeout-then@1.1.0","_shasum":"0145b06070159c17e2146fd292b01a1bd81e5fbc","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"0145b06070159c17e2146fd292b01a1bd81e5fbc","tarball":"http://registry-npm.ywwl.com/timeout-then/download/timeout-then-1.1.0.tgz","integrity":"sha512-ze3M706ymOWZ54Eg3Vt2Hr59GJcfLsqMzuu1XsxRKpAHwazGycrWz5D4joMgcwEOjzuOdfVPgfYsThEsmFEWng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrKnshHJLl7s4oMN/xQsMObszYFW/WzQnSIuNatjO6AAiBQVX3L4zodH31CgjgEUOEmZi4CCbbfy6UXDx2eU/bsRg=="}],"size":1807,"noattachment":false,"key":"/timeout-then/-/timeout-then-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/timeout-then-1.1.0.tgz_1470210366651_0.49776480649597943"},"directories":{},"readme":"\n# timeout-then\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n`setTimeout` as a promise.\n\n```js\nconst timeout = require('timeout-then');\n\ntimeout(100).then(function () {\n  console.log('blah');\n});\n\n// clear timeout\nlet timer = timeout(100);\ntimer.then(function () {\n  console.log('blah');\n});\ntimer.clear();\n```\n\n[gitter-image]: https://badges.gitter.im/thenables/timeout-then.png\n[gitter-url]: https://gitter.im/thenables/timeout-then\n[npm-image]: https://img.shields.io/npm/v/timeout-then.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/timeout-then\n[github-tag]: http://img.shields.io/github/tag/thenables/timeout-then.svg?style=flat-square\n[github-url]: https://github.com/thenables/timeout-then/tags\n[travis-image]: https://img.shields.io/travis/thenables/timeout-then.svg?style=flat-square\n[travis-url]: https://travis-ci.org/thenables/timeout-then\n[coveralls-image]: https://img.shields.io/coveralls/thenables/timeout-then.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/thenables/timeout-then\n[david-image]: http://img.shields.io/david/thenables/timeout-then.svg?style=flat-square\n[david-url]: https://david-dm.org/thenables/timeout-then\n[license-image]: http://img.shields.io/npm/l/timeout-then.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/timeout-then.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/timeout-then\n","publish_time":1470210366901,"_cnpm_publish_time":1470210366901,"dist-tags":{"latest":"2.0.0"}}