View Source Lightning.AdaptorRegistry.Npm (Lightning v2.10.15)

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

Link to this function

package_detail(package_name)

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

Retrieve all details for an NPM package

@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.)