ToolAssay

Normalize npm or PyPI package reality

Normalize npm or PyPI package reality: existence, requested-version existence, resolved/latest version, staleness, deprecation/yank state when available, license and runtime requirement. No dependency graph or vulnerability analysis. Public registries only; unsupported provider fields are null.

Answeringour last check, 2026-09-27
1 of 1checks answered this week
938 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://http--forest-gas-station--lcjl27p8lmjs.code.run/package/preflight

CategoryCode and developer
Provider hosthttp--forest-gas-station--lcjl27p8lmjs.code.run
Networkseip155:84532
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-27 valid payment request 402$0.002 938 ms

Example input (from the provider)

{
  "body": {
    "ecosystem": "npm",
    "package": "express",
    "version": "5.1.0"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "ecosystem": {
              "enum": [
                "npm",
                "pypi"
              ]
            },
            "package": {
              "maxLength": 214,
              "minLength": 1,
              "type": "string"
            },
            "version": {
              "maxLength": 128,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "ecosystem",
            "package"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "capability": {
              "const": "package.preflight"
            },
            "data": {
              "additionalProperties": false,
              "properties": {
                "deprecated": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "ecosystem": {
                  "enum": [
                    "npm",
                    "pypi"
                  ]
                },
                "exists": {
                  "type": "boolean"
                },
                "latest_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "license": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "outdated": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "package": {
                  "type": "string"
                },
                "project_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "registry_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "requested_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "requested_version_exists": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "requires_runtime": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "resolved_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "yanked": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "required": [
                "ecosystem",
                "package",
                "exists",
                "requested_version",
                "requested_version_exists",
                "resolved_version",
                "latest_version",
                "outdated",
                "deprecated",
                "yanked",
                "license",
                "requires_runtime",
                "project_url",
                "registry_url"
              ],
              "type": "object"
            },
            "meta": {
              "additionalProperties": false,
              "properties": {
                "cache": {
                  "enum": [
                    "hit",
                    "miss",
                    "bypass"
                  ]
                },
                "checked_at": {
                  "type": "string"
                },
                "duration_ms": {
                  "minimum": 0,
                  "type": "integer"
                },
                "provider": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "provider",
                "checked_at",
                "cache",
                "duration_ms"
              ],
              "type": "object"
            },
            "ok": {
              "const": true
            },
            "version": {
              "const": "1"
            }
          },
          "required": [
            "ok",
            "capability",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON