Skip to content
HALOWERK

Package and Supply Chain Security

npm public exports browser target switch

Package browser compatibility finds import entries whose browser condition selects a different target from Node. Use it when an agent needs environment-specific entry paths.

POST https://paket.halowerk.com/v1/npm-public-exports-browser-target-switch

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringNo
manifestobjectNo
Show full input schema
{
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "maxLength": 150,
      "minLength": 1
    },
    "manifest": {
      "type": "object",
      "required": [
        "exports"
      ],
      "properties": {
        "exports": {}
      },
      "additionalProperties": true
    }
  },
  "required": [],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "viem"
}

Result & documentation

Show published result schema
{
  "$ref": "https://paket.halowerk.com/v1/npm-public-exports-browser-target-switch/schema#/outputSchema"
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub โ†’