UNPKG

@esm2cjs/p-cancelable

Version:

Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.

82 lines (81 loc) 1.36 kB
{ "name": "@esm2cjs/p-cancelable", "version": "4.0.1", "description": "Create a promise that can be canceled. This is a fork of sindresorhus/p-cancelable, but with CommonJS support.", "license": "MIT", "repository": "esm2cjs/p-cancelable", "author": { "name": "Dominic Griesel", "email": "d.griesel@gmx.net" }, "exports": { ".": { "import": "./esm/index.js", "require": "./cjs/index.js" }, "./package.json": "./package.json" }, "engines": { "node": ">=14.16" }, "scripts": { "test": "xo && ava && tsd" }, "files": [ "cjs/", "esm/" ], "keywords": [ "promise", "cancelable", "cancel", "canceled", "canceling", "cancellable", "cancellation", "abort", "abortable", "aborting", "cleanup", "task", "token", "async", "function", "await", "promises", "bluebird" ], "devDependencies": { "ava": "^4.2.0", "delay": "^5.0.0", "tsd": "^0.20.0", "xo": "^0.48.0" }, "publishConfig": { "access": "public" }, "funding": "https://github.com/sponsors/AlCalzone", "main": "cjs/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "typesVersions": { "*": { "esm/index.d.ts": [ "esm/index.d.ts" ], "cjs/index.d.ts": [ "esm/index.d.ts" ], "*": [ "esm/*" ] } }, "xo": { "ignores": [ "cjs", "*.test-d.ts", "**/*.d.ts" ] } }