wait-utils
Version:
A modern, zero-dependency wait / timing utility toolkit for JavaScript and TypeScript.
101 lines (100 loc) • 2.25 kB
JSON
{
"$schema": "http://json.schemastore.org/package.json",
"name": "wait-utils",
"version": "2.1.1",
"description": "A modern, zero-dependency wait / timing utility toolkit for JavaScript and TypeScript.",
"license": "MIT",
"type": "module",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/havelessbemore/wait-utils",
"repository": {
"type": "git",
"url": "git+https://github.com/havelessbemore/wait-utils.git"
},
"bugs": {
"url": "https://github.com/havelessbemore/wait-utils/issues"
},
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/havelessbemore"
},
"author": {
"name": "Michael Rojas",
"url": "https://github.com/havelessbemore"
},
"keywords": [
"abortable",
"abortsignal",
"async",
"async-utils",
"cancellation",
"delay",
"interval",
"polling",
"retry",
"sleep",
"timeout",
"timer",
"utils",
"wait",
"waitFor",
"waitUntil"
],
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.js"
}
},
"typesVersions": {
"*": {
"*": [
"dist/esm/index.d.ts"
]
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.6"
},
"scripts": {
"build": "tsup",
"build:docs": "typedoc",
"format": "prettier --write .",
"lint": "eslint .",
"test": "jest --runInBand",
"test:coverage": "jest --coverage",
"prepare": "husky"
},
"devDependencies": {
"@eslint/js": "^9.26.0",
"@eslint/json": "^0.13.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.0.11",
"cross-env": "^10.0.0",
"esbuild": "^0.25.4",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.5",
"globals": "^16.1.0",
"husky": "^9.1.7",
"jest": "^30.0.4",
"jest-junit": "^16.0.0",
"lint-staged": "^16.0.0",
"prettier": "^3.5.3",
"ts-jest": "^29.3.3",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typedoc": "^0.28.9",
"typedoc-plugin-markdown": "^4.8.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1"
}
}