Skip to content
HALOWERK

Package and Supply Chain Security

npm install production retention

npm production projection counts ordinary packages kept or omitted based on their declared dev flags. Use it when an agent needs a production-install size comparison.

POST https://paket.halowerk.com/v1/npm-install-production-retention

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