Skip to content
HALOWERK

Package and Supply Chain Security

npm install optional platforms

npm optional package review counts optional locked packages restricted by operating system or CPU. Use it when an agent needs a list of platform gates when moving an install.

POST https://paket.halowerk.com/v1/npm-install-optional-platforms

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
releasestringNo
lockfilestringNo
Show full input schema
{
  "type": "object",
  "properties": {
    "release": {
      "type": "string",
      "maxLength": 65,
      "minLength": 1
    },
    "lockfile": {
      "type": "string",
      "maxLength": 45000,
      "minLength": 1
    }
  },
  "required": [],
  "additionalProperties": false,
  "oneOf": [
    {
      "required": [
        "release"
      ]
    },
    {
      "required": [
        "lockfile"
      ]
    }
  ]
}

Open original schema

Published input example

{
  "release": "mocha@11.7.5"
}

Result & documentation

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 โ†’