craft_parts.utils.npm_utils module¶
Utility functions for NPM plugin.
- craft_parts.utils.npm_utils.get_install_from_local_tarballs_commands(pkg_path, bundled_pkg_path, cache_dir)¶
Return a list of commands to install dependencies required by self-contained builds.
- Parameters:
pkg_path (
Path)bundled_pkg_path (
Path)cache_dir (
Path)
- Return type:
list[str]