{"_id":"@iocmd/hold-up","_rev":"4171122","name":"@iocmd/hold-up","description":"setInterval with promises, counter and error handling","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T21:17:19.000Z","created":"2018-11-19T14:25:32.084Z","2.1.0":"2022-04-06T19:34:23.655Z","2.0.0":"2022-04-06T19:08:50.410Z","1.1.2":"2020-02-25T15:39:44.470Z","1.1.1":"2019-10-16T19:29:31.613Z","1.1.0":"2019-08-16T07:46:08.817Z","1.0.3":"2018-11-21T13:34:17.679Z","1.0.2":"2018-11-21T13:08:18.458Z","1.0.1":"2018-11-19T20:42:37.055Z","1.0.0":"2018-11-19T14:25:32.084Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"versions":{"2.1.0":{"name":"@iocmd/hold-up","version":"2.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"madrun test","coverage":"madrun coverage","lint":"madrun lint","fix:lint":"madrun fix:lint","report":"madrun report","watcher":"madrun watcher","watch:test":"madrun watch:test","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape","watch:coverage":"madrun watch:coverage"},"dependencies":{"@iocmd/wait":"^2.0.0","try-to-catch":"^3.0.0"},"license":"MIT","devDependencies":{"eslint":"^8.12.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.7.1","madrun":"^9.0.2","nodemon":"^2.0.2","nyc":"^15.0.0","putout":"^25.14.0","supertape":"^7.2.1"},"engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"18fa10170464134b45e5ca6c2d4837bc040af407","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@2.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"shasum":"46094d03f5a3fc828c508f6f8e3066268f2839ac","size":2968,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-2.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_2.1.0_1649273663550_0.7171641267350002"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-06T23:22:00.485Z","publish_time":1649273663655,"_cnpm_publish_time":1649273663655},"2.0.0":{"name":"@iocmd/hold-up","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"madrun test","coverage":"madrun coverage","lint":"madrun lint","fix:lint":"madrun fix:lint","report":"madrun report","watcher":"madrun watcher","watch:test":"madrun watch:test","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape","watch:coverage":"madrun watch:coverage"},"dependencies":{"try-to-catch":"^3.0.0"},"license":"MIT","devDependencies":{"@cloudcmd/stub":"^3.7.1","eslint":"^8.12.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.7.1","madrun":"^9.0.2","nodemon":"^2.0.2","nyc":"^15.0.0","putout":"^25.14.0","supertape":"^7.2.1"},"engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"5bcb159fa8a9704065c72ff43d83317b15ac1028","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.3.0","dist":{"shasum":"61aa3f798f0b16eff1782233aec7b0a026b1b1c1","size":2990,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-2.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_2.0.0_1649272130036_0.2279070308335256"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-06T23:21:59.706Z","publish_time":1649272130410,"_cnpm_publish_time":1649272130410},"1.1.2":{"name":"@iocmd/hold-up","version":"1.1.2","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"madrun test","coverage":"madrun coverage","lint":"madrun lint","fix:lint":"madrun fix:lint","report":"madrun report","watcher":"madrun watcher","watch:test":"madrun watch:test","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape","watch:coverage":"madrun watch:coverage"},"dependencies":{"try-to-catch":"^3.0.0"},"license":"MIT","devDependencies":{"@cloudcmd/stub":"^2.3.1","coveralls":"^3.0.2","eslint":"^6.1.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^3.0.0","madrun":"^5.0.0","nodemon":"^2.0.2","nyc":"^15.0.0","putout":"^7.0.2","redrun":"^7.0.0","supertape":"^1.2.3"},"engines":{"node":">=8"},"publishConfig":{"access":"public"},"gitHead":"c6f1086c3d9db5ca04aa77652410fe5b7c3b5c00","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.1.2","_nodeVersion":"13.9.0","_npmVersion":"6.12.1","dist":{"shasum":"e0e2b8445302be9be19b8e291fc7c7582c40117b","size":2980,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.1.2.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.1.2_1582645184361_0.01097275884506721"},"_hasShrinkwrap":false,"publish_time":1582645184470,"_cnpm_publish_time":1582645184470,"_cnpmcore_publish_time":"2021-12-16T23:49:01.142Z"},"1.1.1":{"name":"@iocmd/hold-up","version":"1.1.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"madrun test","coverage":"madrun coverage","lint":"madrun lint","fix:lint":"madrun fix:lint","report":"madrun report","watcher":"madrun watcher","watch:test":"madrun watch:test","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape","watch:coverage":"madrun watch:coverage"},"dependencies":{"try-to-catch":"^2.0.0"},"license":"MIT","devDependencies":{"@cloudcmd/stub":"^2.3.1","coveralls":"^3.0.2","eslint":"^6.1.0","eslint-plugin-node":"^9.1.0","madrun":"^2.5.0","nodemon":"^1.11.0","nyc":"^14.1.1","putout":"^5.5.0","redrun":"^7.0.0","supertape":"^1.2.3"},"engines":{"node":">=8"},"publishConfig":{"access":"public"},"gitHead":"f47f7444853d0c21de8d08cbbaa42b6cd885f0a4","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.1.1","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"shasum":"afc8f4095e75cd1f5449d7b90cffa0e56a3c4f7e","size":2837,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.1.1.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.1.1_1571254171473_0.25002092838073753"},"_hasShrinkwrap":false,"publish_time":1571254171613,"_cnpm_publish_time":1571254171613,"_cnpmcore_publish_time":"2021-12-16T23:49:01.344Z"},"1.1.0":{"name":"@iocmd/hold-up","version":"1.1.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"madrun test","coverage":"madrun coverage","lint":"madrun lint","fix:lint":"madrun fix:lint","report":"madrun report","watcher":"madrun watcher","watch:test":"madrun watch:test","watch:lint":"madrun watch:lint","watch:tape":"madrun watch:tape","watch:coverage:base":"madrun watch:coverage:base","watch:coverage:tape":"madrun watch:coverage:tape","watch:coverage":"madrun watch:coverage"},"dependencies":{"try-to-catch":"^1.1.1"},"license":"MIT","devDependencies":{"@cloudcmd/stub":"^2.3.1","coveralls":"^3.0.2","eslint":"^6.1.0","eslint-plugin-node":"^9.1.0","madrun":"^2.5.0","nodemon":"^1.11.0","nyc":"^14.1.1","putout":"^5.5.0","redrun":"^7.0.0","supertape":"^1.2.3"},"engines":{"node":">=8"},"publishConfig":{"access":"public"},"gitHead":"7710a8d158ba3de3274356d4f2373c4f0bd089a8","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.1.0","_nodeVersion":"12.8.0","_npmVersion":"6.10.0","dist":{"shasum":"d22d5ebe0671f66e59fcfdbe803a1a0ba3dd9d81","size":2821,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.1.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.1.0_1565941568662_0.4190818163476786"},"_hasShrinkwrap":false,"publish_time":1565941568817,"_cnpm_publish_time":1565941568817,"_cnpmcore_publish_time":"2021-12-16T23:49:01.583Z"},"1.0.3":{"name":"@iocmd/hold-up","version":"1.0.3","access":"public","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"tape test/*.js","coverage":"nyc npm test","lint":"eslint lib test","report":"nyc report --reporter=text-lcov | coveralls","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'","watch:tape":"nodemon -w test -w lib --exec tape","watch:coverage:base":"npm run watcher -- nyc npm test","watch:coverage:tape":"npm run watcher -- nyc tape","watch:coverage":"bin/redrun.js watch:coverage:base"},"dependencies":{"try-to-catch":"^1.1.1"},"license":"MIT","devDependencies":{"coveralls":"^3.0.2","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","nodemon":"^1.11.0","nyc":"^13.0.1","redrun":"^7.0.0","sinon":"^7.1.1","sinon-called-with-diff":"^3.0.0","tape":"^4.5.1"},"engines":{"node":">=8"},"gitHead":"ca9c33c70349145be831930fdbd67e53d5905917","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"6f939fc14e7cff0c078671b010ee2112e72267e3","size":2767,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.0.3.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.0.3_1542807257579_0.24304919455033547"},"_hasShrinkwrap":false,"publish_time":1542807257679,"_cnpm_publish_time":1542807257679,"_cnpmcore_publish_time":"2021-12-16T23:49:01.787Z"},"1.0.2":{"name":"@iocmd/hold-up","version":"1.0.2","access":"public","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"tape test/*.js","coverage":"nyc npm test","lint":"eslint lib test","report":"nyc report --reporter=text-lcov | coveralls","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'","watch:tape":"nodemon -w test -w lib --exec tape","watch:coverage:base":"npm run watcher -- nyc npm test","watch:coverage:tape":"npm run watcher -- nyc tape","watch:coverage":"bin/redrun.js watch:coverage:base"},"dependencies":{"try-to-catch":"^1.1.1"},"license":"MIT","devDependencies":{"coveralls":"^3.0.2","eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","nodemon":"^1.11.0","nyc":"^13.0.1","redrun":"^7.0.0","sinon":"^7.1.1","sinon-called-with-diff":"^3.0.0","tape":"^4.5.1"},"engines":{"node":">=8"},"gitHead":"400cd2b3468297d566145590f35178f10b3f99b9","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"9fc04b2583142e1ce37fdf31da472fbc7dbf6d29","size":2757,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.0.2.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.0.2_1542805698324_0.5712927857970265"},"_hasShrinkwrap":false,"publish_time":1542805698458,"_cnpm_publish_time":1542805698458,"_cnpmcore_publish_time":"2021-12-16T23:49:02.037Z"},"1.0.1":{"name":"@iocmd/hold-up","version":"1.0.1","access":"public","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await","try-catch","try"],"scripts":{"test":"tape test/*.js","coverage":"nyc npm test","lint":"eslint lib test","report":"nyc report --reporter=text-lcov | coveralls","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'","watch:tape":"nodemon -w test -w lib --exec tape","watch:coverage:base":"npm run watcher -- nyc npm test","watch:coverage:tape":"npm run watcher -- nyc tape","watch:coverage":"bin/redrun.js watch:coverage:base"},"dependencies":{"try-to-catch":"^1.1.1"},"license":"MIT","devDependencies":{"eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","nodemon":"^1.11.0","nyc":"^13.0.1","redrun":"^7.0.0","sinon":"^7.1.1","sinon-called-with-diff":"^3.0.0","tape":"^4.5.1"},"engines":{"node":">=8"},"gitHead":"a47004cf14f3ee00ecabd202c99b8dcaec7f2b75","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"54f8f975ab8e2d5c4c60d7aefc5bf5f53c0d17b1","size":2749,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.0.1.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.0.1_1542660156899_0.5054674317829342"},"_hasShrinkwrap":false,"publish_time":1542660157055,"_cnpm_publish_time":1542660157055,"_cnpmcore_publish_time":"2021-12-16T23:49:02.236Z"},"1.0.0":{"name":"@iocmd/hold-up","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"setInterval with promises, counter and error handling","homepage":"http://github.com/iocmd/hold-up","main":"lib/hold-up.js","repository":{"type":"git","url":"git://github.com/iocmd/hold-up.git"},"keywords":["timeout","interval","promise","async","await"],"scripts":{"test":"tape test/*.js","coverage":"nyc npm test","lint":"eslint lib test","report":"nyc report --reporter=text-lcov | coveralls","watcher":"nodemon -w test -w lib --exec","watch:test":"npm run watcher -- npm test","watch:lint":"npm run watcher -- 'npm run lint'","watch:tape":"nodemon -w test -w lib --exec tape","watch:coverage:base":"npm run watcher -- nyc npm test","watch:coverage:tape":"npm run watcher -- nyc tape","watch:coverage":"bin/redrun.js watch:coverage:base"},"dependencies":{"try-to-catch":"^1.1.1"},"license":"MIT","devDependencies":{"eslint":"^5.6.0","eslint-plugin-node":"^8.0.0","nodemon":"^1.11.0","nyc":"^13.0.1","redrun":"^7.0.0","sinon":"^7.1.1","sinon-called-with-diff":"^3.0.0","tape":"^4.5.1"},"engines":{"node":">=8"},"gitHead":"6e7357df839bb5b0c2145cdfb8ff733b8d76dec6","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"_id":"@iocmd/hold-up@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"30f47e9ea4a142a4db5e4226f4ab3c46aee5dfa5","size":2662,"noattachment":false,"key":"/@iocmd/hold-up/-/@iocmd/hold-up-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@iocmd/hold-up/download/@iocmd/hold-up-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hold-up_1.0.0_1542637531943_0.9228529643351449"},"_hasShrinkwrap":false,"publish_time":1542637532084,"_cnpm_publish_time":1542637532084,"_cnpmcore_publish_time":"2021-12-16T23:49:02.463Z"}},"readme":"# Hold Up [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n`hold up` is `setInterval` with `promises`, `counter` and `error handling`.\nIt runs a `function` and if it `throws` run it again with interval (defaults to 1 second) `counter` times (defaults to 5). If it fails, promise throws, if successed resolves.\n\n## Install\n\n`npm i @iocmd/hold-up --save`\n\n## API\n\n### holdUp(fn[, options])\n\n### holdUp([fn, args], options)\n\n- `fn` - function\n- `args` - array of arguments\n- `options` - options may contain:\n  - `log`\n  - `count`\n  - `time`\n\n```js\nconst holdUp = require('hold-up');\nconst fn = async (a = 'hello') => {\n    throw Error(a);\n};\n\nawait holdUp(fn);\n\n// reject in a 5 seconds\n// [Error: hello]\n\n// with arguments\nawait holdUp([fn, 'world']);\n\n// reject in a 5 seconds\n//[Error: hello]\n\n// when you need to override options,\nawait holdUp([fn, 'hello'], {\n    count: 5,       // default\n    time: 1000,     // default\n    log: () => {},  // default\n});\n```\n\n## Related\n\n- [currify](https://github.com/coderaiser/currify \"currify\") - translate the evaluation of a function that takes multiple arguments into evaluating a sequence of functions, each with a single or more arguments.\n\n- [fullstore](https://github.com/coderaiser/fullstore \"fullstore\") - functional variables.\n\n- [wraptile](https://github.com/coderaiser/wraptile \"wraptile\") - translate the evaluation of a function that takes multiple arguments into evaluating a sequence of 2 functions, each with a any count of arguments.\n\n## License\n\nMIT\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@iocmd/hold-up.svg?style=flat\n[BuildStatusIMGURL]: https://travis-ci.com/iocmd/hold-up.svg?branch=master\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[NPMURL]: https://npmjs.org/package/@iocmd/hold-up \"npm\"\n[BuildStatusURL]: https://travis-ci.com/iocmd/hold-up \"Build Status\"\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[CoverageURL]: https://coveralls.io/github/iocmd/hold-up?branch=master\n[CoverageIMGURL]: https://coveralls.io/repos/iocmd/hold-up/badge.svg?branch=master&service=github\n","_attachments":{},"homepage":"http://github.com/iocmd/hold-up","bugs":{"url":"https://github.com/iocmd/hold-up/issues"},"license":"MIT"}