{
  "name": "prettier",
  "url": "https://canirequire.com/package/prettier/",
  "description": "Prettier is an opinionated code formatter",
  "latest": "3.9.6",
  "latestPublished": "2026-07-21T05:51:53.987Z",
  "format": "dual",
  "summary": "prettier@3.9.6 ships CommonJS and ESM builds. prettier publishes both a CommonJS entry and a native ESM entry (ESM added in 3.0.0). require(\"prettier\") and import \"prettier\" both work on every supported Node.js version and in Bun.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "3.9.6",
  "lastCommonJsDate": "2026-07-21T05:51:53.987Z",
  "nativeEsmSince": "3.0.0",
  "types": "bundled",
  "nodeEngines": ">=14",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/prettier/prettier",
  "weeklyDownloads": 114152754,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:42.884Z",
    "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": "3.9.6",
      "format": "dual",
      "published": "2026-07-21T05:51:53.987Z"
    },
    {
      "version": "3.9.5",
      "format": "dual",
      "published": "2026-07-09T16:17:00.997Z"
    },
    {
      "version": "3.9.4",
      "format": "dual",
      "published": "2026-06-30T01:11:17.630Z"
    },
    {
      "version": "3.9.3",
      "format": "dual",
      "published": "2026-06-29T11:36:49.074Z"
    },
    {
      "version": "3.9.2",
      "format": "dual",
      "published": "2026-06-29T11:27:58.952Z"
    },
    {
      "version": "3.9.1",
      "format": "dual",
      "published": "2026-06-27T23:04:57.318Z"
    },
    {
      "version": "3.9.0",
      "format": "dual",
      "published": "2026-06-27T10:26:05.555Z"
    },
    {
      "version": "3.8.5",
      "format": "dual",
      "published": "2026-06-26T12:58:13.266Z"
    },
    {
      "version": "3.8.4",
      "format": "dual",
      "published": "2026-06-09T11:30:06.784Z"
    },
    {
      "version": "3.8.3",
      "format": "dual",
      "published": "2026-04-15T00:55:25.573Z"
    },
    {
      "version": "3.8.2",
      "format": "dual",
      "published": "2026-04-10T02:30:00.024Z"
    },
    {
      "version": "3.8.1",
      "format": "dual",
      "published": "2026-01-21T17:45:07.754Z"
    },
    {
      "version": "3.8.0",
      "format": "dual",
      "published": "2026-01-14T23:56:17.811Z"
    },
    {
      "version": "3.7.4",
      "format": "dual",
      "published": "2025-12-03T04:35:23.210Z"
    },
    {
      "version": "3.7.3",
      "format": "dual",
      "published": "2025-11-29T17:54:14.047Z"
    },
    {
      "version": "3.7.2",
      "format": "dual",
      "published": "2025-11-28T20:58:02.914Z"
    },
    {
      "version": "3.7.1",
      "format": "dual",
      "published": "2025-11-27T11:31:51.388Z"
    },
    {
      "version": "3.7.0",
      "format": "dual",
      "published": "2025-11-27T08:29:56.202Z"
    },
    {
      "version": "3.6.2",
      "format": "dual",
      "published": "2025-06-27T02:53:53.185Z"
    },
    {
      "version": "3.6.1",
      "format": "dual",
      "published": "2025-06-25T06:44:07.413Z"
    },
    {
      "version": "3.6.0",
      "format": "dual",
      "published": "2025-06-23T02:02:45.570Z"
    },
    {
      "version": "3.5.3",
      "format": "dual",
      "published": "2025-03-03T01:18:57.493Z"
    },
    {
      "version": "3.5.2",
      "format": "dual",
      "published": "2025-02-22T04:13:24.234Z"
    },
    {
      "version": "3.5.1",
      "format": "dual",
      "published": "2025-02-13T13:13:25.908Z"
    },
    {
      "version": "3.5.0",
      "format": "dual",
      "published": "2025-02-09T11:23:40.436Z"
    },
    {
      "version": "3.4.2",
      "format": "dual",
      "published": "2024-12-04T07:04:07.630Z"
    },
    {
      "version": "3.4.1",
      "format": "dual",
      "published": "2024-11-26T13:04:40.296Z"
    },
    {
      "version": "3.4.0",
      "format": "dual",
      "published": "2024-11-26T04:51:34.765Z"
    },
    {
      "version": "3.3.3",
      "format": "dual",
      "published": "2024-07-13T12:26:38.008Z"
    },
    {
      "version": "3.3.2",
      "format": "dual",
      "published": "2024-06-11T06:07:20.240Z"
    },
    {
      "version": "3.3.1",
      "format": "dual",
      "published": "2024-06-05T09:11:21.355Z"
    },
    {
      "version": "3.3.0",
      "format": "dual",
      "published": "2024-06-01T17:03:12.419Z"
    },
    {
      "version": "3.2.5",
      "format": "dual",
      "published": "2024-02-04T05:38:11.623Z"
    },
    {
      "version": "3.2.4",
      "format": "dual",
      "published": "2024-01-17T10:15:25.179Z"
    },
    {
      "version": "3.2.3",
      "format": "dual",
      "published": "2024-01-17T03:30:11.340Z"
    },
    {
      "version": "3.2.2",
      "format": "dual",
      "published": "2024-01-14T03:07:57.876Z"
    },
    {
      "version": "3.2.1",
      "format": "dual",
      "published": "2024-01-12T19:16:36.881Z"
    },
    {
      "version": "3.2.0",
      "format": "dual",
      "published": "2024-01-12T16:16:16.167Z"
    },
    {
      "version": "3.1.1",
      "format": "dual",
      "published": "2023-12-10T08:36:17.920Z"
    },
    {
      "version": "3.1.0",
      "format": "dual",
      "published": "2023-11-13T02:57:22.609Z"
    },
    {
      "version": "3.0.3",
      "format": "dual",
      "published": "2023-08-29T12:30:11.880Z"
    },
    {
      "version": "3.0.2",
      "format": "dual",
      "published": "2023-08-15T15:44:19.367Z"
    },
    {
      "version": "3.0.1",
      "format": "dual",
      "published": "2023-08-03T06:10:21.592Z"
    },
    {
      "version": "3.0.0",
      "format": "dual",
      "published": "2023-07-05T12:44:13.820Z"
    },
    {
      "version": "2.8.8",
      "format": "cjs",
      "published": "2023-04-23T07:26:12.772Z"
    },
    {
      "version": "2.8.7",
      "format": "cjs",
      "published": "2023-03-24T08:15:19.994Z"
    },
    {
      "version": "2.8.6",
      "format": "cjs",
      "published": "2023-03-21T08:17:39.465Z"
    },
    {
      "version": "2.8.5",
      "format": "cjs",
      "published": "2023-03-20T06:05:39.932Z"
    },
    {
      "version": "2.8.4",
      "format": "cjs",
      "published": "2023-02-08T03:08:44.072Z"
    },
    {
      "version": "2.8.3",
      "format": "cjs",
      "published": "2023-01-14T03:38:48.087Z"
    },
    {
      "version": "2.8.2",
      "format": "cjs",
      "published": "2023-01-07T11:19:41.659Z"
    },
    {
      "version": "2.8.1",
      "format": "cjs",
      "published": "2022-12-07T17:26:38.191Z"
    },
    {
      "version": "2.8.0",
      "format": "cjs",
      "published": "2022-11-23T04:51:22.503Z"
    },
    {
      "version": "2.7.1",
      "format": "cjs",
      "published": "2022-06-16T05:43:52.397Z"
    },
    {
      "version": "2.7.0",
      "format": "cjs",
      "published": "2022-06-14T06:20:34.587Z"
    },
    {
      "version": "2.6.2",
      "format": "cjs",
      "published": "2022-04-02T16:31:42.353Z"
    },
    {
      "version": "2.6.1",
      "format": "cjs",
      "published": "2022-03-25T04:59:18.048Z"
    },
    {
      "version": "2.6.0",
      "format": "cjs",
      "published": "2022-03-16T04:21:19.654Z"
    },
    {
      "version": "2.5.1",
      "format": "cjs",
      "published": "2021-12-04T14:31:29.278Z"
    },
    {
      "version": "2.5.0",
      "format": "cjs",
      "published": "2021-11-25T13:57:42.748Z"
    }
  ]
}