Skip to content
HALOWERK

File Formats and Conversion

markup module script delivery

JavaScript module delivery audit counts module scripts and nomodule fallbacks and checks their documented availability for the target browser. Use it when an agent needs browser support evidence tied to supplied markup.

POST https://format.halowerk.com/v1/markup-module-script-delivery

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
htmlstringYes
browserstringYes
versionstringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32000
    },
    "browser": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 24
    },
    "snapshot": {
      "enum": [
        "8.1.11"
      ]
    }
  },
  "required": [
    "html",
    "browser",
    "version"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "html": "<script type=\"module\" src=\"/map.mjs\"></script><script nomodule src=\"/map-legacy.js\"></script>",
  "browser": "chrome",
  "version": "100",
  "snapshot": "8.1.11"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "modules": {
          "type": "integer"
        },
        "fallbacks": {
          "type": "integer"
        },
        "module_support": {
          "type": "string"
        },
        "nomodule_support": {
          "type": "string"
        }
      },
      "required": [
        "modules",
        "fallbacks",
        "module_support",
        "nomodule_support"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’