{
  "name": "end-of-stream",
  "url": "https://canirequire.com/package/end-of-stream/",
  "description": "Call a callback when a readable/writable/duplex stream has completed or failed.",
  "latest": "1.4.5",
  "latestPublished": "2025-06-16T13:29:00.574Z",
  "format": "cjs",
  "summary": "end-of-stream@1.4.5 is a CommonJS package. end-of-stream ships CommonJS only. require(\"end-of-stream\") works everywhere. import \"end-of-stream\" 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": "1.4.5",
  "lastCommonJsDate": "2025-06-16T13:29:00.574Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/mafintosh/end-of-stream",
  "weeklyDownloads": 69686889,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:01.528Z",
    "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": "1.4.5",
      "format": "cjs",
      "published": "2025-06-16T13:29:00.574Z"
    },
    {
      "version": "1.4.4",
      "format": "cjs",
      "published": "2019-09-25T12:57:31.238Z"
    },
    {
      "version": "1.4.3",
      "format": "cjs",
      "published": "2019-09-24T11:16:48.718Z"
    },
    {
      "version": "1.4.2",
      "format": "cjs",
      "published": "2019-09-23T13:24:55.146Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2018-01-10T16:11:28.225Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2017-03-14T10:40:44.044Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2017-03-14T09:55:55.621Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2017-03-10T16:01:28.737Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2014-09-07T18:21:10.694Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-07-21T11:04:32.385Z"
    },
    {
      "version": "0.1.5",
      "format": "cjs",
      "published": "2014-06-29T07:03:54.107Z"
    },
    {
      "version": "0.1.4",
      "format": "cjs",
      "published": "2014-02-18T10:17:56.792Z"
    },
    {
      "version": "0.1.3",
      "format": "cjs",
      "published": "2013-12-19T10:41:25.227Z"
    },
    {
      "version": "0.1.2",
      "format": "cjs",
      "published": "2013-11-27T01:16:00.613Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2013-11-27T01:05:45.555Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-11-26T23:28:59.564Z"
    }
  ]
}