{"_id":"timeout-then","_rev":"9-c40ba441cf14cfdac1081fb09a0a54cb","name":"timeout-then","description":"setTimeout as promised","dist-tags":{"latest":"2.0.0"},"versions":{"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":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"09b9f77ee6bbc9025db8616df3952a085ac44e2d","tarball":"https://registry.npmjs.org/timeout-then/-/timeout-then-1.0.0.tgz","integrity":"sha512-8zVxw3Kfy6Q1u4N1wuAWfozwyIH1qwfRpYL/4q+pA6r7+nLhocsx//BAsMQoDVHcYKn4aUf7r6ZRZSfFb4RjRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDatxP0W5PBt7A7bijZJqR8bjSElh9UVuTEru7YpXDQKAiAnsDwfQhKvJ1PGeAAClasIvrPYcoyFYSoQvmrlmTeWhQ=="}]},"directories":{}},"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":"coderhaoxin@outlook.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"0145b06070159c17e2146fd292b01a1bd81e5fbc","tarball":"https://registry.npmjs.org/timeout-then/-/timeout-then-1.1.0.tgz","integrity":"sha512-ze3M706ymOWZ54Eg3Vt2Hr59GJcfLsqMzuu1XsxRKpAHwazGycrWz5D4joMgcwEOjzuOdfVPgfYsThEsmFEWng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrKnshHJLl7s4oMN/xQsMObszYFW/WzQnSIuNatjO6AAiBQVX3L4zodH31CgjgEUOEmZi4CCbbfy6UXDx2eU/bsRg=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/timeout-then-1.1.0.tgz_1470210366651_0.49776480649597943"},"directories":{}},"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":{"integrity":"sha512-m4rKVDBivL9hbLoI/Bgh+3jI6MFTHffOAqjYAz6OoztP9MnG6eoYhUApnESk0EL0US3sJQlr7TlPcy5LiAw9oA==","shasum":"a8d7bcf8ceebfe9e032d9f6231e98797072b7d1e","tarball":"https://registry.npmjs.org/timeout-then/-/timeout-then-2.0.0.tgz","fileCount":5,"unpackedSize":3778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfAKgBCRA9TVsSAnZWagAA5fkP/R/4Awdl7ych6Xnbw8CD\nbA919bExWKodEUIUwIyx+uz7jyYhXT80UCPRNrj6c8p1LuWb1mnP4ccP+Bc9\ndjgmLddLP3F7nmkkpUCPyRhiWhgCTbmZga6gmcicM4VZ4S+oC+muG6LiE97i\nrmJnycHGF4yAk50qQiBhOC1wTg+4PA1k7XMx/m8pO3/Lsq6r3Z3eaGDF2/ZG\n88LqpAxrnvRzN9dCIMOMUhh0nEw2gPhaRrx7Os94U71oIDykR+oFJFgxr6zV\nr21e6iggrf2O+5mfpI8JR8gQ4G1QGUU9pZd7Fz3Ci++Xentm/r3iqllzI1ck\nWgsnrtMSjFf8YNK1CStLfxWL/4Kke6vsvBmJbY4lb4uZuPCj3y8GKwcP5GLF\n2mARPL5Gv0XT+QB7zpX+dazi5pIm8UYdXTaUq/+sS7Mov73/do22KwMhSyjQ\nV1iaj+p0TEk4sLIwHhb9hcg8vXlXh1LxYIOaS5CKpUxbui2DMzoUK02mrrcE\n8nfeWnux2KenSfyi+C7JGCqsTHqFIik/jBWeA2ua4QJWP0qv3YYqt9TT3bdi\nFyRo3vwdkAUb85jnbzGoq4HF5VeIF6uQu3zrZtgobo+/9QCMuq+ze5QD8I9N\n9ial2Py21Vp0Wsozs8/jsdl+QO9pJLsRMSnyODT4hfWJa19TmImMUctrfW1h\nmshc\r\n=pVuY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8hYkEfUf5HdpT+Wir1FBtuCFtNLZU8SsVYPDMek1ikAiB25jGYpYOADFYQkpkPkykgfh7tFrHn0v0vDVs1GouCrw=="}]},"maintainers":[{"email":"haoxins@outlook.com","name":"coderhaoxin"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"}],"_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}},"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","maintainers":[{"email":"haoxins@outlook.com","name":"coderhaoxin"},{"email":"jonathanrichardong@gmail.com","name":"jongleberry"}],"time":{"modified":"2022-06-27T06:48:40.967Z","created":"2014-12-15T02:17:18.609Z","1.0.0":"2014-12-15T02:17:18.609Z","1.1.0":"2016-08-03T07:46:06.901Z","2.0.0":"2020-07-04T16:02:09.013Z"},"homepage":"https://github.com/thenables/timeout-then#readme","keywords":["settimeout","timeout","promise","then"],"repository":{"type":"git","url":"git+https://github.com/thenables/timeout-then.git"},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"bugs":{"url":"https://github.com/thenables/timeout-then/issues"},"license":"MIT","readmeFilename":"README.md"}