{
  "name": "on-finished",
  "url": "https://canirequire.com/package/on-finished/",
  "description": "Execute a callback when a request closes, finishes, or errors",
  "latest": "2.4.1",
  "latestPublished": "2022-02-22T16:10:48.714Z",
  "format": "cjs",
  "summary": "on-finished@2.4.1 is a CommonJS package. on-finished ships CommonJS only. require(\"on-finished\") works everywhere. import \"on-finished\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "2.4.1",
  "lastCommonJsDate": "2022-02-22T16:10:48.714Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">= 0.8",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/jshttp/on-finished",
  "weeklyDownloads": 96718568,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:47.625Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "2.4.1",
      "format": "cjs",
      "published": "2022-02-22T16:10:48.714Z"
    },
    {
      "version": "2.4.0",
      "format": "cjs",
      "published": "2022-02-21T16:32:52.633Z"
    },
    {
      "version": "2.3.0",
      "format": "cjs",
      "published": "2015-05-27T01:58:14.758Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2015-04-23T01:33:13.247Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2014-12-23T06:51:30.412Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2014-10-23T01:19:12.662Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2014-08-17T02:49:35.720Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2014-08-16T05:19:04.281Z"
    }
  ]
}