{
  "name": "js-cookie",
  "url": "https://canirequire.com/package/js-cookie/",
  "description": "A simple, lightweight JavaScript API for handling cookies",
  "latest": "3.0.8",
  "latestPublished": "2026-05-29T10:51:39.065Z",
  "format": "dual",
  "summary": "js-cookie@3.0.8 ships CommonJS and ESM builds. js-cookie publishes both a CommonJS entry and a native ESM entry (ESM added in 3.0.0). require(\"js-cookie\") and import \"js-cookie\" both work on every supported Node.js version and in Bun.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "3.0.8",
  "lastCommonJsDate": "2026-05-29T10:51:39.065Z",
  "nativeEsmSince": "3.0.0",
  "types": "definitely-typed",
  "nodeEngines": null,
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/js-cookie/js-cookie",
  "weeklyDownloads": 26585559,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:44.465Z",
    "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.0.8",
      "format": "dual",
      "published": "2026-05-29T10:51:39.065Z"
    },
    {
      "version": "3.0.7",
      "format": "dual",
      "published": "2026-05-16T05:25:57.911Z"
    },
    {
      "version": "3.0.6",
      "format": "dual",
      "published": "2026-05-15T13:49:43.815Z"
    },
    {
      "version": "3.0.5",
      "format": "dual",
      "published": "2023-04-24T09:23:51.443Z"
    },
    {
      "version": "3.0.4",
      "format": "dual",
      "published": "2023-04-21T18:36:22.431Z"
    },
    {
      "version": "3.0.3",
      "format": "dual",
      "published": "2023-04-21T18:15:57.256Z"
    },
    {
      "version": "3.0.2",
      "format": "dual",
      "published": "2023-04-21T17:15:56.301Z"
    },
    {
      "version": "3.0.1",
      "format": "dual",
      "published": "2021-09-01T10:42:30.442Z"
    },
    {
      "version": "3.0.0",
      "format": "dual",
      "published": "2021-07-26T17:02:52.540Z"
    },
    {
      "version": "2.2.1",
      "format": "cjs",
      "published": "2019-08-06T13:49:13.120Z"
    },
    {
      "version": "2.2.0",
      "format": "cjs",
      "published": "2017-10-28T06:04:48.846Z"
    },
    {
      "version": "2.1.4",
      "format": "cjs",
      "published": "2017-04-03T11:38:34.442Z"
    },
    {
      "version": "2.1.3",
      "format": "cjs",
      "published": "2016-09-02T04:42:19.886Z"
    },
    {
      "version": "2.1.2",
      "format": "cjs",
      "published": "2016-05-29T06:09:00.614Z"
    },
    {
      "version": "2.1.1",
      "format": "cjs",
      "published": "2016-04-16T09:31:41.343Z"
    },
    {
      "version": "2.1.0",
      "format": "cjs",
      "published": "2015-12-31T11:45:26.186Z"
    },
    {
      "version": "2.0.4",
      "format": "cjs",
      "published": "2015-10-17T18:15:53.860Z"
    },
    {
      "version": "2.0.3",
      "format": "cjs",
      "published": "2015-07-20T01:43:17.221Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2015-06-27T16:49:29.584Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2015-06-22T15:07:22.819Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2015-06-22T00:21:17.396Z"
    },
    {
      "version": "1.5.1",
      "format": "cjs",
      "published": "2015-04-24T02:57:23.683Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2015-04-15T16:36:50.430Z"
    }
  ]
}