{"name":"@humanwhocodes/retry","version":"0.3.0","description":"A utility to retry failed async methods.","type":"module","main":"dist/retrier.cjs","module":"dist/retrier.js","types":"dist/retrier.d.ts","exports":{"require":{"types":"./dist/retrier.d.cts","default":"./dist/retrier.cjs"},"import":{"types":"./dist/retrier.d.ts","default":"./dist/retrier.js"}},"engines":{"node":">=18.18"},"publishConfig":{"access":"public"},"gitHooks":{"pre-commit":"lint-staged"},"lint-staged":{"*.js":["eslint --fix"]},"funding":{"type":"github","url":"https://github.com/sponsors/nzakas"},"scripts":{"build:cts-types":"node -e \"fs.copyFileSync('dist/retrier.d.ts', 'dist/retrier.d.cts')\"","build:prepend-type-ref":"node tools/prepend-type-ref.js dist/retrier.js","build":"rollup -c && tsc && npm run build:prepend-type-ref && npm run build:cts-types","prepare":"npm run build","lint":"eslint src/ tests/","pretest":"npm run build","test:unit":"mocha tests/retrier.test.js","test:build":"node tests/pkg.test.cjs && node tests/pkg.test.mjs","test":"npm run test:unit && npm run test:build"},"repository":{"type":"git","url":"git+https://github.com/humanwhocodes/retrier.git"},"keywords":["nodejs","retry","async","promises"],"author":{"name":"Nicholas C. Zaks"},"license":"Apache-2.0","devDependencies":{"@eslint/js":"^8.49.0","@rollup/plugin-terser":"0.4.4","@tsconfig/node16":"^16.1.1","@types/mocha":"^10.0.3","@types/node":"20.12.6","eslint":"^8.21.0","lint-staged":"15.2.1","mocha":"^10.3.0","rollup":"3.29.4","typescript":"5.4.4","yorkie":"2.0.0"},"_id":"@humanwhocodes/retry@0.3.0","gitHead":"ae1269e520d59ae0457c1a114fbacf0462b07807","bugs":{"url":"https://github.com/humanwhocodes/retrier/issues"},"homepage":"https://github.com/humanwhocodes/retrier#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"shasum":"6d86b8cb322660f03d3f0aa94b99bdd8e172d570","size":9053,"noattachment":false,"key":"/@humanwhocodes/retry/-/@humanwhocodes/retry-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@humanwhocodes/retry/download/@humanwhocodes/retry-0.3.0.tgz"},"_npmUser":{"name":"nzakas","email":"nicholas@nczconsulting.com"},"directories":{},"maintainers":[{"name":"nzakas","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/retry_0.3.0_1715287979598_0.15536536631940612"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-09T20:52:59.730Z","publish_time":1715287979730,"_source_registry_name":"default","_cnpm_publish_time":1715287979730,"dist-tags":{"latest":"0.4.3"}}