UNPKG

@jcoreio/abortable

Version:

memory-leak-proof function to wrap a promise to reject when a signal is aborted

45 lines (44 loc) 1 kB
{ "name": "@jcoreio/abortable", "description": "memory-leak-proof function to wrap a promise to reject when a signal is aborted", "repository": { "type": "git", "url": "https://github.com/jcoreio/abortable.git" }, "homepage": "https://github.com/jcoreio/abortable", "bugs": { "url": "https://github.com/jcoreio/abortable/issues" }, "author": "Andy Edwards", "license": "MIT", "keywords": [ "signal", "abortsignal", "abort", "promise" ], "version": "1.0.3", "sideEffects": false, "engines": { "node": ">=16" }, "main": "./index.js", "module": "./index.mjs", "types": "./index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": { "import": "./index.d.mts", "default": "./index.d.ts" }, "import": "./index.mjs", "default": "./index.js" } }, "packageManager": "pnpm@10.6.5", "dependencies": {}, "@jcoreio/toolchain": { "migratedVersion": "5.8.8" } }