</>PackageGraphPackageGraph

abort-controller

npmv3.0.0

An implementation of WHATWG AbortController interface.

Not recommended for new projects

No — abort-controller should not be adopted for new projects. Last published 2720 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 2720 days ago.

  • AWeight: grade A, Excellent.

    Pulls in 1 transitive package, about 456 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding abort-controller to a project.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

456 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing abort-controller, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=6.5
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the abort-controller README.

import AbortController from "abort-controller"

const controller = new AbortController()
const signal = controller.signal

signal.addEventListener("abort", () => {
    console.log("aborted!")
})

controller.abort()

abort-controller vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
abort-controllerthis page04MIT7 years ago
event-target-shim02MIT1 day ago
happy-dom06MIT1 day ago
jsdom020MIT1 day ago
tr46192.6M1MIT1 day ago
node-fetch172.9M9MIT1 day ago

Dependencies

Declared by abort-controller v3.0.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (36)

@babel/core ^7.2.2@babel/plugin-transform-modules-commonjs ^7.2.0@babel/preset-env ^7.3.0@babel/register ^7.0.0@mysticatea/eslint-plugin ^8.0.1@mysticatea/spy ^0.1.2@types/mocha ^5.2.5@types/node ^10.12.18assert ^1.4.1codecov ^3.1.0dts-bundle-generator ^2.0.0eslint ^5.12.1karma ^3.1.4karma-chrome-launcher ^2.2.0karma-coverage ^1.1.2karma-firefox-launcher ^1.1.0karma-growl-reporter ^1.0.0karma-ie-launcher ^1.0.0karma-mocha ^1.3.0karma-rollup-preprocessor ^7.0.0-rc.2mocha ^5.2.0npm-run-all ^4.1.5nyc ^13.1.0opener ^1.5.1rimraf ^2.6.3rollup ^1.1.2rollup-plugin-babel ^4.3.2rollup-plugin-babel-minify ^7.0.0rollup-plugin-commonjs ^9.2.0rollup-plugin-node-resolve ^4.0.0rollup-plugin-sourcemaps ^0.4.2rollup-plugin-typescript ^1.0.0rollup-watch ^4.3.1ts-node ^8.0.1type-tester ^1.0.0typescript ^3.2.4

Used by

Popular packages that depend on abort-controller.

Relationship graph

Dependencies (left) and dependents (right) of abort-controller.

Frequently installed together

Release history

No releases in the last two years, typically about 43 days apart.

Recent versions of abort-controller
VersionPublishedSizeLicense
3.0.0latest7 years ago75 KBMIT
2.0.37 years ago73 KBMIT
2.0.27 years ago73 KBMIT
2.0.17 years ago73 KBMIT
2.0.07 years ago76 KBMIT
1.1.07 years ago71 KBMIT
1.1.0-beta.08 years ago71 KBMIT
1.0.28 years ago70 KBMIT
1.0.18 years ago66 KBMIT
1.0.09 years agoMIT
0.0.09 years agoMIT

Overview

abort-controller is an npm package that an implementation of WHATWG AbortController interface. It has 4 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need an implementation of WHATWG AbortController interface and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • Large dependency tree (37 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use abort-controller?

No — abort-controller should not be adopted for new projects. Last published 2720 days ago.

How do I install abort-controller?

Run `npm install abort-controller` to add abort-controller to your npm project.

How many dependencies does abort-controller have?

abort-controller declares 37 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 456 KB on disk.

What license is abort-controller released under?

abort-controller is distributed under the MIT license.

How popular is abort-controller?

npm does not publish download counts. Within PackageGraph's crawl, 4 known packages depend on abort-controller.

Is abort-controller still maintained?

The most recent release of abort-controller (v3.0.0) was published 7 years ago.

Does abort-controller run install scripts?

No. abort-controller does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.