{
  "name": "prismjs",
  "url": "https://canirequire.com/package/prismjs/",
  "description": "Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.",
  "latest": "1.30.0",
  "latestPublished": "2025-03-10T17:56:20.460Z",
  "format": "cjs",
  "summary": "prismjs@1.30.0 is a CommonJS package. prismjs ships CommonJS only. require(\"prismjs\") works everywhere. import \"prismjs\" 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.30.0",
  "lastCommonJsDate": "2025-03-10T17:56:20.460Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">=6",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/PrismJS/prism",
  "weeklyDownloads": 26348154,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:44.707Z",
    "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.30.0",
      "format": "cjs",
      "published": "2025-03-10T17:56:20.460Z"
    },
    {
      "version": "1.29.0",
      "format": "cjs",
      "published": "2022-08-23T10:42:14.395Z"
    },
    {
      "version": "1.28.0",
      "format": "cjs",
      "published": "2022-04-17T12:21:38.540Z"
    },
    {
      "version": "1.27.0",
      "format": "cjs",
      "published": "2022-02-17T21:38:58.307Z"
    },
    {
      "version": "1.26.0",
      "format": "cjs",
      "published": "2022-01-06T17:49:41.494Z"
    },
    {
      "version": "1.25.0",
      "format": "cjs",
      "published": "2021-09-16T16:17:34.789Z"
    },
    {
      "version": "1.24.1",
      "format": "cjs",
      "published": "2021-07-03T11:49:04.160Z"
    },
    {
      "version": "1.24.0",
      "format": "cjs",
      "published": "2021-06-27T20:03:59.262Z"
    },
    {
      "version": "1.23.0",
      "format": "cjs",
      "published": "2020-12-31T18:46:58.434Z"
    },
    {
      "version": "1.22.0",
      "format": "cjs",
      "published": "2020-10-10T18:25:21.306Z"
    },
    {
      "version": "1.21.0",
      "format": "cjs",
      "published": "2020-08-06T23:17:32.380Z"
    },
    {
      "version": "1.20.0",
      "format": "cjs",
      "published": "2020-04-04T01:04:54.672Z"
    },
    {
      "version": "1.19.0",
      "format": "cjs",
      "published": "2020-01-13T13:39:48.212Z"
    },
    {
      "version": "1.18.0",
      "format": "cjs",
      "published": "2020-01-04T21:36:41.973Z"
    },
    {
      "version": "1.17.1",
      "format": "cjs",
      "published": "2019-07-22T02:08:37.262Z"
    },
    {
      "version": "1.17.0",
      "format": "cjs",
      "published": "2019-07-22T02:05:58.666Z"
    },
    {
      "version": "1.16.0",
      "format": "cjs",
      "published": "2019-03-25T11:37:08.871Z"
    },
    {
      "version": "1.15.0",
      "format": "cjs",
      "published": "2018-06-17T01:52:23.178Z"
    },
    {
      "version": "1.14.0",
      "format": "cjs",
      "published": "2018-04-11T07:07:37.342Z"
    },
    {
      "version": "1.13.0",
      "format": "cjs",
      "published": "2018-03-21T07:33:19.843Z"
    },
    {
      "version": "1.12.2",
      "format": "cjs",
      "published": "2018-03-08T22:48:14.877Z"
    },
    {
      "version": "1.12.0",
      "format": "cjs",
      "published": "2018-03-07T20:47:42.924Z"
    },
    {
      "version": "1.11.0",
      "format": "cjs",
      "published": "2018-02-05T08:03:40.974Z"
    },
    {
      "version": "1.10.0",
      "format": "cjs",
      "published": "2018-01-17T22:58:11.306Z"
    },
    {
      "version": "1.9.0",
      "format": "cjs",
      "published": "2017-12-05T23:52:53.059Z"
    },
    {
      "version": "1.8.4",
      "format": "cjs",
      "published": "2017-11-05T16:39:11.337Z"
    },
    {
      "version": "1.8.3",
      "format": "cjs",
      "published": "2017-10-19T19:59:49.084Z"
    },
    {
      "version": "1.8.1",
      "format": "cjs",
      "published": "2017-09-16T11:35:42.623Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2017-09-16T11:26:30.833Z"
    },
    {
      "version": "1.7.0",
      "format": "cjs",
      "published": "2017-09-09T13:17:53.558Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2016-12-05T15:15:07.039Z"
    },
    {
      "version": "1.5.1",
      "format": "cjs",
      "published": "2016-06-07T01:45:09.291Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2016-05-16T19:27:36.144Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2016-02-05T03:02:10.903Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2015-10-27T02:35:27.738Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2015-10-07T17:35:20.776Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2015-10-06T00:03:04.995Z"
    },
    {
      "version": "0.0.1",
      "format": "cjs",
      "published": "2015-05-13T00:37:38.541Z"
    }
  ]
}