{
  "name": "indent-string",
  "url": "https://canirequire.com/package/indent-string/",
  "description": "Indent each line in a string",
  "latest": "5.0.0",
  "latestPublished": "2021-04-17T17:10:20.469Z",
  "format": "esm-only",
  "summary": "indent-string@5.0.0 is ESM-only. indent-string dropped its CommonJS build in 5.0.0 (April 2021). The last version you can require() on every Node.js version, including 18 and older, is 4.0.0, published Apr 17, 2019. On Node.js 20.19+, 22.12+ and every newer release, require(\"indent-string\") 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": "5.0.0",
  "esmOnlySinceDate": "2021-04-17T17:10:20.469Z",
  "lastCommonJsVersion": "4.0.0",
  "lastCommonJsDate": "2019-04-17T07:31:13.363Z",
  "nativeEsmSince": "5.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=12",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/sindresorhus/indent-string",
  "weeklyDownloads": 94044982,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:48.542Z",
    "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": "5.0.0",
      "format": "esm-only",
      "published": "2021-04-17T17:10:20.469Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2019-04-17T07:31:13.363Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2017-07-23T17:37:41.202Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2017-01-25T16:43:23.903Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2016-06-23T19:54:30.821Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2015-08-21T12:35:12.837Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-07-25T19:26:18.217Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2015-07-20T00:39:38.599Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2015-02-16T17:55:58.704Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2014-10-22T23:03:25.576Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2014-09-03T23:06:53.992Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2014-08-17T23:44:34.011Z"
    },
    {
      "version": "0.1.3",
      "format": "cjs",
      "published": "2014-06-07T23:10:57.436Z"
    },
    {
      "version": "0.1.2",
      "format": "cjs",
      "published": "2014-06-07T18:52:31.553Z"
    },
    {
      "version": "0.1.1",
      "format": "cjs",
      "published": "2014-06-06T20:44:24.620Z"
    },
    {
      "version": "0.1.0",
      "format": "cjs",
      "published": "2014-06-06T20:22:18.494Z"
    }
  ]
}