Skip to content
HALOWERK

Package and Supply Chain Security

npm install top level hoisting

npm installation layout identifies top-level packages placed there without a direct root dependency. Use it when an agent needs the size of the hoisted transitive layer.

POST https://paket.halowerk.com/v1/npm-install-top-level-hoisting

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