{
  "name": "whatwg-encoding",
  "url": "https://canirequire.com/package/whatwg-encoding/",
  "description": "Decode strings according to the WHATWG Encoding Standard",
  "latest": "3.1.1",
  "latestPublished": "2023-11-12T07:29:21.747Z",
  "format": "cjs",
  "summary": "whatwg-encoding@3.1.1 is a CommonJS package. whatwg-encoding ships CommonJS only. require(\"whatwg-encoding\") works everywhere. import \"whatwg-encoding\" 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": "3.1.1",
  "lastCommonJsDate": "2023-11-12T07:29:21.747Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": ">=18",
  "deprecated": "Use @exodus/bytes instead for a more spec-conformant and faster implementation",
  "license": "MIT",
  "repository": "https://github.com/jsdom/whatwg-encoding",
  "weeklyDownloads": 48918543,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:15.339Z",
    "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.1.1",
      "format": "cjs",
      "published": "2023-11-12T07:29:21.747Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2023-11-12T07:19:06.687Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2023-11-07T13:40:42.176Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2021-09-12T20:40:42.859Z"
    },
    {
      "version": "1.0.5",
      "format": "cjs",
      "published": "2018-09-30T04:20:59.538Z"
    },
    {
      "version": "1.0.4",
      "format": "cjs",
      "published": "2018-08-13T00:14:39.035Z"
    },
    {
      "version": "1.0.3",
      "format": "cjs",
      "published": "2017-10-29T01:44:55.546Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2017-10-23T00:13:37.174Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-10-16T02:34:31.658Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-10-16T02:07:07.293Z"
    }
  ]
}