{
  "name": "is-regex",
  "url": "https://canirequire.com/package/is-regex/",
  "description": "Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag",
  "latest": "1.2.1",
  "latestPublished": "2024-12-12T05:44:07.833Z",
  "format": "cjs",
  "summary": "is-regex@1.2.1 is a CommonJS package. is-regex ships CommonJS only. require(\"is-regex\") works everywhere. import \"is-regex\" 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.2.1",
  "lastCommonJsDate": "2024-12-12T05:44:07.833Z",
  "nativeEsmSince": null,
  "types": "bundled",
  "nodeEngines": ">= 0.4",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/inspect-js/is-regex",
  "weeklyDownloads": 75107167,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:57.607Z",
    "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.2.1",
      "format": "cjs",
      "published": "2024-12-12T05:44:07.833Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2024-11-30T06:52:35.628Z"
    },
    {
      "version": "1.1.4",
      "format": "cjs",
      "published": "2021-08-06T03:49:23.488Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2021-05-08T05:36:02.186Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2021-02-01T22:08:46.369Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2020-08-04T05:14:27.392Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2020-06-04T06:50:37.146Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2019-12-15T23:58:16.987Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2017-02-18T08:39:40.514Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2015-01-30T08:01:27.392Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-01-29T22:29:04.957Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-01-28T21:56:26.403Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-05-19T07:26:17.660Z"
    },
    {
      "version": "0.0.0",
      "format": "cjs",
      "published": "2014-01-15T09:16:09.209Z"
    }
  ]
}