{
  "name": "type-detect",
  "url": "https://canirequire.com/package/type-detect/",
  "description": "Improved typeof detection for node.js and the browser.",
  "latest": "4.1.0",
  "latestPublished": "2024-07-25T10:50:20.475Z",
  "format": "cjs",
  "summary": "type-detect@4.1.0 is a CommonJS package. type-detect ships CommonJS only. require(\"type-detect\") works everywhere. import \"type-detect\" 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": "4.1.0",
  "lastCommonJsDate": "2024-07-25T10:50:20.475Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">=4",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/chaijs/type-detect",
  "weeklyDownloads": 44348331,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:21.693Z",
    "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": "4.1.0",
      "format": "cjs",
      "published": "2024-07-25T10:50:20.475Z"
    },
    {
      "version": "4.0.8",
      "format": "cjs",
      "published": "2018-02-01T14:30:41.312Z"
    },
    {
      "version": "4.0.7",
      "format": "cjs",
      "published": "2018-01-19T01:34:37.885Z"
    },
    {
      "version": "4.0.6",
      "format": "cjs",
      "published": "2018-01-16T01:45:31.370Z"
    },
    {
      "version": "4.0.5",
      "format": "cjs",
      "published": "2017-11-09T13:49:28.091Z"
    },
    {
      "version": "4.0.3",
      "format": "cjs",
      "published": "2017-04-20T03:43:15.845Z"
    },
    {
      "version": "4.0.2",
      "format": "cjs",
      "published": "2017-04-20T00:34:48.415Z"
    },
    {
      "version": "4.0.1",
      "format": "cjs",
      "published": "2017-04-18T05:24:45.306Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2016-10-10T14:15:24.553Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2016-10-08T23:50:12.335Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2016-07-27T19:33:33.459Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2016-05-16T12:36:25.380Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2016-03-13T19:30:55.502Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-04-05T18:22:47.718Z"
    },
    {
      "version": "0.1.2",
      "format": "cjs",
      "published": "2013-11-30T20:38:25.139Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2013-10-10T10:35:00.743Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2013-08-14T12:07:57.430Z"
    }
  ]
}