{
  "name": "html-encoding-sniffer",
  "url": "https://canirequire.com/package/html-encoding-sniffer/",
  "description": "Sniff the encoding from a HTML byte stream",
  "latest": "6.0.0",
  "latestPublished": "2025-12-26T03:54:44.115Z",
  "format": "cjs",
  "summary": "html-encoding-sniffer@6.0.0 is a CommonJS package. html-encoding-sniffer ships CommonJS only. require(\"html-encoding-sniffer\") works everywhere. import \"html-encoding-sniffer\" 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": "6.0.0",
  "lastCommonJsDate": "2025-12-26T03:54:44.115Z",
  "nativeEsmSince": null,
  "types": "definitely-typed",
  "nodeEngines": "^20.19.0 || ^22.12.0 || >=24.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/jsdom/html-encoding-sniffer",
  "weeklyDownloads": 85374471,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:51.064Z",
    "node": {
      "18": {
        "require": false,
        "import": false,
        "requireError": "ERR_REQUIRE_ESM",
        "importError": "ERR_REQUIRE_ESM"
      },
      "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": "6.0.0",
      "format": "cjs",
      "published": "2025-12-26T03:54:44.115Z"
    },
    {
      "version": "5.0.0",
      "format": "cjs",
      "published": "2025-12-23T05:04:24.244Z"
    },
    {
      "version": "4.0.0",
      "format": "cjs",
      "published": "2023-11-12T07:38:15.637Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2021-09-18T22:40:10.894Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2020-02-23T22:27:41.834Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2020-01-05T17:12:58.185Z"
    },
    {
      "version": "1.0.2",
      "format": "cjs",
      "published": "2017-10-23T00:15:57.146Z"
    },
    {
      "version": "1.0.1",
      "format": "cjs",
      "published": "2016-10-16T04:23:09.751Z"
    },
    {
      "version": "1.0.0",
      "format": "cjs",
      "published": "2016-10-16T03:53:16.596Z"
    }
  ]
}