Skip to content
HALOWERK

Calculators and Rule Checks

server runtime module targets

JavaScript module compatibility checks static import, dynamic import and top-level await for a selected runtime release. Use it when an agent needs a portability assessment for server-side JavaScript.

POST https://rechen.halowerk.com/v1/server-runtime-module-targets

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
runtimestringYes
versionstringYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "runtime": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "version": {
      "type": "string",
      "minLength": 1,
      "maxLength": 320
    },
    "snapshot": {
      "enum": [
        "8.1.11"
      ]
    }
  },
  "required": [
    "runtime",
    "version"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "runtime": "nodejs",
  "version": "14.0.0",
  "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": {
        "static_import": {
          "type": "string"
        },
        "dynamic_import": {
          "type": "string"
        },
        "top_level_await": {
          "type": "string"
        }
      },
      "required": [
        "static_import",
        "dynamic_import",
        "top_level_await"
      ]
    },
    "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 →