{
  "name": "strnum",
  "url": "https://canirequire.com/package/strnum/",
  "description": "Parse String to Number based on configuration",
  "latest": "2.4.2",
  "latestPublished": "2026-08-14T11:49:42.442Z",
  "format": "esm-only",
  "summary": "strnum@2.4.2 is ESM-only. strnum dropped its CommonJS build in 2.0.0 (February 2025). The last version you can require() on every Node.js version, including 18 and older, is 1.1.2, published Feb 26, 2025. On Node.js 20.19+, 22.12+ and every newer release, require(\"strnum\") 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.0.0",
  "esmOnlySinceDate": "2025-02-20T06:53:46.687Z",
  "lastCommonJsVersion": "1.1.2",
  "lastCommonJsDate": "2025-02-26T23:16:50.733Z",
  "nativeEsmSince": "2.0.0",
  "types": "none",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/NaturalIntelligence/strnum",
  "weeklyDownloads": 50076538,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:13.784Z",
    "node": {
      "18": {
        "require": false,
        "import": true,
        "requireError": "ERR_REQUIRE_ESM",
        "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.2",
      "format": "esm-only",
      "published": "2026-08-14T11:49:42.442Z"
    },
    {
      "version": "2.4.1",
      "format": "esm-only",
      "published": "2026-06-18T10:02:34.193Z"
    },
    {
      "version": "2.4.0",
      "format": "esm-only",
      "published": "2026-06-09T15:29:30.326Z"
    },
    {
      "version": "2.3.0",
      "format": "esm-only",
      "published": "2026-05-07T13:05:38.480Z"
    },
    {
      "version": "2.2.3",
      "format": "esm-only",
      "published": "2026-04-07T04:51:15.067Z"
    },
    {
      "version": "2.2.2",
      "format": "esm-only",
      "published": "2026-03-23T08:52:26.605Z"
    },
    {
      "version": "2.2.1",
      "format": "esm-only",
      "published": "2026-03-19T04:44:45.809Z"
    },
    {
      "version": "2.2.0",
      "format": "esm-only",
      "published": "2026-02-28T08:24:13.503Z"
    },
    {
      "version": "2.1.2",
      "format": "esm-only",
      "published": "2025-12-12T06:56:26.445Z"
    },
    {
      "version": "2.1.1",
      "format": "esm-only",
      "published": "2025-05-15T06:53:57.067Z"
    },
    {
      "version": "2.1.0",
      "format": "esm-only",
      "published": "2025-05-01T11:27:32.005Z"
    },
    {
      "version": "2.0.5",
      "format": "esm-only",
      "published": "2025-02-26T23:21:32.933Z"
    },
    {
      "version": "2.0.4",
      "format": "esm-only",
      "published": "2025-02-20T12:11:17.044Z"
    },
    {
      "version": "2.0.3",
      "format": "esm-only",
      "published": "2025-02-20T12:09:00.120Z"
    },
    {
      "version": "2.0.2",
      "format": "esm-only",
      "published": "2025-02-20T08:37:41.919Z"
    },
    {
      "version": "2.0.1",
      "format": "esm-only",
      "published": "2025-02-20T08:29:19.665Z"
    },
    {
      "version": "2.0.0",
      "format": "esm-only",
      "published": "2025-02-20T06:53:46.687Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2025-02-26T23:16:50.733Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2025-02-21T02:49:01.971Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2025-02-20T06:33:59.144Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2021-12-04T10:58:54.289Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2021-09-25T07:50:23.483Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2021-09-10T06:35:01.265Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2021-09-10T06:20:03.651Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2021-09-05T10:04:26.310Z"
    }
  ]
}