{"_id":"timeout-then","_rev":"943123","name":"timeout-then","description":"setTimeout as promised","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"time":{"modified":"2021-09-23T02:09:26.000Z","created":"2014-12-15T02:17:18.609Z","2.0.0":"2020-07-04T16:02:09.013Z","1.1.0":"2016-08-03T07:46:06.901Z","1.0.0":"2014-12-15T02:17:18.609Z"},"users":{},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"repository":{"type":"git","url":"git+https://github.com/thenables/timeout-then.git"},"versions":{"2.0.0":{"name":"timeout-then","description":"setTimeout as promised","version":"2.0.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"},"devDependencies":{"istanbul":"^0.4.5","mocha":"^8.0.1"},"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"},"types":"index.d.ts","keywords":["settimeout","timeout","promise","then"],"gitHead":"fc938fb4eec1e32ab6fb7ef893d267e2fc98a37b","bugs":{"url":"https://github.com/thenables/timeout-then/issues"},"homepage":"https://github.com/thenables/timeout-then#readme","_id":"timeout-then@2.0.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"shasum":"a8d7bcf8ceebfe9e032d9f6231e98797072b7d1e","size":1796,"noattachment":false,"key":"/timeout-then/-/timeout-then-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/timeout-then/download/timeout-then-2.0.0.tgz"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"_npmUser":{"name":"coderhaoxin","email":"haoxinst@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timeout-then_2.0.0_1593878528867_0.8920711050885703"},"_hasShrinkwrap":false,"publish_time":1593878529013,"_cnpm_publish_time":1593878529013},"1.1.0":{"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":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"0145b06070159c17e2146fd292b01a1bd81e5fbc","size":1807,"noattachment":false,"key":"/timeout-then/-/timeout-then-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/timeout-then/download/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":{},"publish_time":1470210366901,"_cnpm_publish_time":1470210366901,"_hasShrinkwrap":false},"1.0.0":{"name":"timeout-then","description":"setTimeout as promised","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/thenables/timeout-then"},"dependencies":{"native-or-bluebird":"1"},"devDependencies":{"bluebird":"2","istanbul":"0","mocha":"2"},"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":"40613a8e17635309a64415f55d7addd18a64e648","bugs":{"url":"https://github.com/thenables/timeout-then/issues"},"homepage":"https://github.com/thenables/timeout-then","_id":"timeout-then@1.0.0","_shasum":"09b9f77ee6bbc9025db8616df3952a085ac44e2d","_from":".","_npmVersion":"2.1.11","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"09b9f77ee6bbc9025db8616df3952a085ac44e2d","size":1735,"noattachment":false,"key":"/timeout-then/-/timeout-then-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/timeout-then/download/timeout-then-1.0.0.tgz"},"directories":{},"publish_time":1418609838609,"_cnpm_publish_time":1418609838609,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/thenables/timeout-then#readme","bugs":{"url":"https://github.com/thenables/timeout-then/issues"},"license":"MIT"}