{
  "name": "lines-and-columns",
  "url": "https://canirequire.com/package/lines-and-columns/",
  "description": "Maps lines and columns to character offsets and back.",
  "latest": "2.0.4",
  "latestPublished": "2023-11-07T01:41:53.302Z",
  "format": "dual",
  "summary": "lines-and-columns@2.0.4 ships CommonJS and ESM builds. lines-and-columns publishes both a CommonJS entry and a native ESM entry (ESM added in 1.1.7). require(\"lines-and-columns\") and import \"lines-and-columns\" both work on every supported Node.js version and in Bun.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "2.0.4",
  "lastCommonJsDate": "2023-11-07T01:41:53.302Z",
  "nativeEsmSince": "1.1.7",
  "types": "bundled",
  "nodeEngines": "^12.20.0 || ^14.13.1 || >=16.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/eventualbuddha/lines-and-columns",
  "weeklyDownloads": 109821112,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:43.968Z",
    "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.0.4",
      "format": "dual",
      "published": "2023-11-07T01:41:53.302Z"
    },
    {
      "version": "2.0.3",
      "format": "dual",
      "published": "2021-11-23T03:15:17.010Z"
    },
    {
      "version": "2.0.2",
      "format": "dual",
      "published": "2021-11-20T23:28:46.961Z"
    },
    {
      "version": "2.0.1",
      "format": "esm-only",
      "published": "2021-11-20T22:42:19.703Z"
    },
    {
      "version": "2.0.0",
      "format": "esm-only",
      "published": "2021-11-20T22:27:07.947Z"
    },
    {
      "version": "1.2.4",
      "format": "cjs",
      "published": "2021-11-21T03:31:07.871Z"
    },
    {
      "version": "1.2.3",
      "format": "cjs",
      "published": "2021-11-21T00:30:55.831Z"
    },
    {
      "version": "1.2.2",
      "format": "esm-only",
      "published": "2021-11-21T00:28:55.542Z"
    },
    {
      "version": "1.2.1",
      "format": "dual",
      "published": "2021-11-20T23:17:19.625Z"
    },
    {
      "version": "1.2.0",
      "format": "esm-only",
      "published": "2021-11-20T22:23:35.670Z"
    },
    {
      "version": "1.1.11",
      "format": "cjs",
      "published": "2021-11-21T03:30:36.129Z"
    },
    {
      "version": "1.1.10",
      "format": "cjs",
      "published": "2021-11-21T00:32:46.542Z"
    },
    {
      "version": "1.1.9",
      "format": "dual",
      "published": "2021-11-20T23:15:03.350Z"
    },
    {
      "version": "1.1.8",
      "format": "esm-only",
      "published": "2021-11-20T23:09:10.780Z"
    },
    {
      "version": "1.1.7",
      "format": "esm-only",
      "published": "2021-11-20T22:15:14.474Z"
    },
    {
      "version": "1.1.6",
      "format": "cjs",
      "published": "2016-12-20T17:32:14.921Z"
    },
    {
      "version": "1.1.5",
      "format": "cjs",
      "published": "2016-06-26T21:54:01.493Z"
    },
    {
      "version": "1.1.4",
      "format": "cjs",
      "published": "2016-06-26T16:57:46.382Z"
    },
    {
      "version": "1.1.3",
      "format": "cjs",
      "published": "2016-06-24T03:52:38.515Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2016-06-24T03:36:31.344Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2016-03-09T01:56:07.519Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2016-03-09T01:49:47.038Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2015-12-05T19:32:05.157Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2015-12-02T20:00:17.654Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2015-12-02T19:57:59.708Z"
    }
  ]
}