{
  "name": "tslib",
  "url": "https://canirequire.com/package/tslib/",
  "description": "Runtime library for TypeScript helper functions",
  "latest": "2.8.1",
  "latestPublished": "2024-10-31T22:42:48.624Z",
  "format": "esm-only",
  "summary": "tslib@2.8.1 is ESM-only. tslib dropped its CommonJS build in 2.5.3 (June 2023). The last version you can require() on every Node.js version, including 18 and older, is 2.5.2, published May 18, 2023. On Node.js 20.19+, 22.12+ and every newer release, require(\"tslib\") works anyway: Node can load synchronous ES modules through require(). Verified on Node 20, 22, 24, 26. Node.js 18 and older still fail with ERR_REQUIRE_ESM.",
  "esmOnlySince": "2.5.3",
  "esmOnlySinceDate": "2023-06-02T21:22:08.810Z",
  "lastCommonJsVersion": "2.5.2",
  "lastCommonJsDate": "2023-05-18T21:59:15.029Z",
  "nativeEsmSince": "1.14.0",
  "types": "bundled",
  "nodeEngines": null,
  "deprecated": null,
  "license": "0BSD",
  "repository": "https://github.com/Microsoft/tslib",
  "weeklyDownloads": 374391828,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:29.851Z",
    "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.8.1",
      "format": "esm-only",
      "published": "2024-10-31T22:42:48.624Z"
    },
    {
      "version": "2.8.0",
      "format": "esm-only",
      "published": "2024-10-15T17:52:49.926Z"
    },
    {
      "version": "2.7.0",
      "format": "esm-only",
      "published": "2024-08-23T19:53:07.533Z"
    },
    {
      "version": "2.6.3",
      "format": "esm-only",
      "published": "2024-06-04T20:25:19.808Z"
    },
    {
      "version": "2.6.2",
      "format": "esm-only",
      "published": "2023-08-18T17:41:58.755Z"
    },
    {
      "version": "2.6.1",
      "format": "esm-only",
      "published": "2023-07-24T20:30:01.894Z"
    },
    {
      "version": "2.6.0",
      "format": "esm-only",
      "published": "2023-06-26T23:07:41.304Z"
    },
    {
      "version": "2.5.3",
      "format": "esm-only",
      "published": "2023-06-02T21:22:08.810Z"
    },
    {
      "version": "2.5.2",
      "format": "dual",
      "published": "2023-05-18T21:59:15.029Z"
    },
    {
      "version": "2.5.1",
      "format": "dual",
      "published": "2023-05-17T22:53:14.585Z"
    },
    {
      "version": "2.5.0",
      "format": "dual",
      "published": "2023-01-26T20:40:14.611Z"
    },
    {
      "version": "2.4.1",
      "format": "dual",
      "published": "2022-10-31T18:26:41.901Z"
    },
    {
      "version": "2.4.0",
      "format": "dual",
      "published": "2022-04-22T00:25:01.196Z"
    },
    {
      "version": "2.3.1",
      "format": "dual",
      "published": "2021-08-11T22:55:34.653Z"
    },
    {
      "version": "2.3.0",
      "format": "dual",
      "published": "2021-06-11T22:33:16.856Z"
    },
    {
      "version": "2.2.0",
      "format": "dual",
      "published": "2021-04-05T18:21:21.670Z"
    },
    {
      "version": "2.1.0",
      "format": "dual",
      "published": "2021-01-05T23:28:45.399Z"
    },
    {
      "version": "2.0.3",
      "format": "dual",
      "published": "2020-10-09T23:35:42.926Z"
    },
    {
      "version": "2.0.2",
      "format": "dual",
      "published": "2020-10-06T15:39:15.861Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2020-08-06T22:35:16.803Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2020-05-13T23:08:45.637Z"
    },
    {
      "version": "1.14.1",
      "format": "dual",
      "published": "2020-10-09T23:34:42.516Z"
    },
    {
      "version": "1.14.0",
      "format": "dual",
      "published": "2020-10-06T15:36:19.182Z"
    },
    {
      "version": "1.13.0",
      "format": "cjs",
      "published": "2020-05-13T22:56:03.236Z"
    },
    {
      "version": "1.12.0",
      "format": "cjs",
      "published": "2020-05-12T18:07:58.852Z"
    },
    {
      "version": "1.11.2",
      "format": "cjs",
      "published": "2020-05-05T23:22:58.990Z"
    },
    {
      "version": "1.11.1",
      "format": "cjs",
      "published": "2020-02-27T19:32:23.640Z"
    },
    {
      "version": "1.11.0",
      "format": "cjs",
      "published": "2020-02-20T21:25:00.328Z"
    },
    {
      "version": "1.10.0",
      "format": "cjs",
      "published": "2019-06-10T22:29:46.948Z"
    },
    {
      "version": "1.9.3",
      "format": "cjs",
      "published": "2018-06-22T07:45:03.346Z"
    },
    {
      "version": "1.9.2",
      "format": "cjs",
      "published": "2018-05-29T23:51:13.946Z"
    },
    {
      "version": "1.9.1",
      "format": "cjs",
      "published": "2018-05-14T18:16:04.424Z"
    },
    {
      "version": "1.9.0",
      "format": "cjs",
      "published": "2018-01-18T21:44:23.777Z"
    },
    {
      "version": "1.8.1",
      "format": "cjs",
      "published": "2017-12-06T23:26:57.437Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2017-10-11T04:34:53.500Z"
    },
    {
      "version": "1.7.1",
      "format": "cjs",
      "published": "2017-05-15T22:41:50.599Z"
    },
    {
      "version": "1.7.0",
      "format": "cjs",
      "published": "2017-05-04T21:53:04.607Z"
    },
    {
      "version": "1.6.1",
      "format": "cjs",
      "published": "2017-04-19T22:24:12.069Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2017-02-22T00:24:40.508Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2017-01-05T18:07:30.457Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2016-12-22T04:46:12.098Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2016-12-21T17:39:27.117Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2016-11-30T01:20:12.477Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-11-21T19:18:50.947Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-06-28T00:46:05.835Z"
    }
  ]
}