UNPKG

@jcoreio/abortable

Version:

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

42 lines (41 loc) 940 B
{ "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.2", "sideEffects": false, "engines": { "node": ">=16" }, "main": "./index.js", "module": "./index.mjs", "types": "./index.d.ts", "exports": { "./package.json": "./package.json", ".": { "types": "./index.d.ts", "import": "./index.mjs", "default": "./index.js" } }, "packageManager": "pnpm@8.11.0", "dependencies": {}, "@jcoreio/toolchain": { "migratedVersion": "4.12.3" } }