UNPKG

abort-utils

Version:

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

53 lines (52 loc) 1.07 kB
{ "name": "abort-utils", "version": "1.3.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" }, "xo": { "envs": [ "browser" ] }, "devDependencies": { "@sindresorhus/tsconfig": "^6.0.0", "@types/chrome": "^0.0.283", "tsd": "^0.31.2", "typescript": "^5.6.3", "vitest": "^2.1.5", "xo": "^0.59.3" }, "engines": { "node": ">=18" }, "tsd": { "directory": "source" } }