Function install

Source
pub fn install(install_dir: &Path, packages: &[NpmPackage<'_>]) -> Result<()>