Custom Connector

NPM Registry

Global

The NPM Registry Connector provides access to npm package metadata via the official NPM Registry API. It lets users retrieve detailed package information, view distribution tags, fetch the latest version, and search for packages — ideal for developer portals, package-insight tools, and CI/CD pipelines.

Type
Virtual machines, Single VM, BYOL
Runs on
Google Compute Engine
Last update
24 Oct 2024
Category
Integration
Overview

Integration Overview

This document provides a detailed guide for each integration point using the NPM Registry Connector. The connector exposes four core endpoints for package metadata and search.

  • Get Package Metadata. Retrieve full metadata for an npm package.
  • Get Latest Version. Fetch metadata for the latest published version.
  • Get Distribution Tags. List all distribution tags for a package.
  • Search Packages. Search npm packages by keyword.
Documentation

Detailed Integration Documentation

Get Package Metadata

Operation IDgetPackageMetadata
EndpointGET /{package}
ParametersRequired:
package (path, string) — the package name (e.g. express).
PurposeRetrieves full metadata for an npm package, including all versions, maintainers, and dependencies.
OutputJSON object with the complete package document.
Workflow exampleCall /{package} after a user selects a package to display its details.

Get Latest Version

Operation IDgetLatestPackageVersion
EndpointGET /{package}/latest
ParametersRequired:
package (path, string) — the package name (e.g. express).
PurposeRetrieves metadata for the latest published version of a package.
OutputJSON object with version details.
Workflow exampleUse in CI/CD pipelines to fetch the most recent version.

Get Distribution Tags

Operation IDgetPackageDistTags
EndpointGET /-/package/{package}/dist-tags
ParametersRequired:
package (path, string) — the package name (e.g. express).
PurposeReturns distribution tags such as latest, beta, and next.
OutputJSON object with tags.
Workflow exampleUseful for release channels in package managers.

Search Packages

Operation IDsearchPackages
EndpointGET /-/v1/search
ParametersRequired:
text (query, string) — search query (e.g. react). Optional:
size (query, integer, default 5) — number of results.
PurposeSearches the npm registry for packages matching keywords.
OutputJSON object with search results.
Workflow exampleUsed to build autocomplete or package-search features.

Example Workflow: JavaScript Package Explorer

SearchUser searches for a package — call /-/v1/search?text=query.
SelectUser selects a package — call /{package}.
Show versionDisplay the current version — call /{package}/latest.
Show tagsDisplay release tags — call /-/package/{package}/dist-tags.
Support

For technical support, contact custom-connectors-support@isolutions.sa.

free consultation

Schedule a Free Consultation With Our Specialists

Book a free demo
request

Begin Your Adventure With Experienced Professionals

Send request
help desk

Do You Have Questions or Want More Information? Call Now.

Contact support