UNPKG

abort-utils

Version:

Utility functions to use and combine `AbortSignal` and `AbortController` with Promises

49 lines (48 loc) 1.06 kB
{ "name": "abort-utils", "version": "3.0.0", "description": "Utility functions to use and combine `AbortSignal` and `AbortController` with Promises", "keywords": [ "abort", "AbortController", "AbortSignal", "callback", "combine", "merge", "promise", "event" ], "repository": "fregante/abort-utils", "funding": "https://github.com/sponsors/fregante", "license": "MIT", "author": "Federico Brigante <me@fregante.com> (https://fregante.com)", "type": "module", "exports": "./dist/index.js", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "tsc", "prepack": "tsc --sourceMap false", "test": "tsc --noEmit && xo && tsd && vitest run", "test:watch": "vitest", "watch": "tsc --watch" }, "devDependencies": { "@sindresorhus/tsconfig": "^7.0.0", "@types/chrome": "^0.0.326", "happy-dom": "^18.0.1", "tsd": "^0.32.0", "typescript": "^5.8.3", "vitest": "^3.2.3", "xo": "^1.1.0" }, "engines": { "node": ">=20" }, "tsd": { "directory": "source" } }