Lightning.AdaptorRegistry.Npm (Lightning v2.13.4)

View Source

NPM API functions

Summary

Functions

Retrieve all details for an NPM package

Retrieve all packages for a given user or organization. Return empty list if application cannot connect to NPM. (E.g., because it's started offline.)

Functions

client()

package_detail(package_name)

@spec package_detail(package_name :: String.t()) :: map()

Retrieve all details for an NPM package

user_packages(user)

@spec user_packages(user :: String.t()) :: [map()]

Retrieve all packages for a given user or organization. Return empty list if application cannot connect to NPM. (E.g., because it's started offline.)