GitLab API icon

GitLab API

Gitlab

Actions1062

Npm_packages → getApiV4PackagesNpm*packageName

AI-generated

Summary

Retrieve information about an NPM package by its name from the GitLab API v4 endpoint '/api/v4/packages/npm/*package_name'.

Inputs

  • package_name (required) — The name of the NPM package to fetch information for.
  • Skip Authentication — Optionally skip using authentication for the request.
  • baseUrl — The base URL of the GitLab instance; defaults to 'https://gitlab.com'.
  • Method — The HTTP method to use for the request; defaults to GET.

Output shape

a JSON object representing the NPM package details as returned by the GitLab API

Requires the 'package_name' query parameter. Authentication is used by default unless skipped. The response aligns with the GitLab API v4 for the endpoint '/api/v4/packages/npm/*package_name'. No pagination is involved.

Links

Discussion